Connect to Exchange Online PowerShell by using MFA

Free Exchange Add-on for Office 365 Migration FORUMS Support Connect to Exchange Online PowerShell by using MFA

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #496
    AdrianG001
    Participant

    On your local computer, open the Exchange Online Remote PowerShell Module ( Microsoft Corporation > Microsoft Exchange Online Remote PowerShell Module).

    On your local computer, open the Exchange Online Remote PowerShell Module ( Microsoft Corporation > Microsoft Exchange Online Remote PowerShell Module).

    The command that you need to run uses the following syntax:

    Connect-EXOPSSession -UserPrincipalName <UPN> [-ConnectionUri <ConnectionUri> -AzureADAuthorizationEndPointUri <AzureADUri>]

    <UPN> is your Office 365 work or school account.

    The <ConnectionUri> and <AzureADUri> values depend on the nature of your Office 365 organization.

    This example connects to Exchange Online plans you have in Office 365 using the account chris@contoso.com.

    Connect-EXOPSSession -UserPrincipalName chris@contoso.com

    This example connects to Exchange Online in Office 365 Germany using the account lukas@fabrikam.com.

    Connect-EXOPSSession -UserPrincipalName lukas@fabrikam.com -ConnectionUri https://outlook.office.de/PowerShell-LiveID -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common

    In the sign-in window that opens, enter your password, and then click Sign in.

    A verification code is generated and delivered based on the verification response option that’s configured for your account (for example, a text message or the Azure Authenticator app on your mobile phone).

    In the verification window that opens, enter the verification code, and then click Sign in.

    To learn more about Office 365 migration support contact microsoft

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar