![]() Example 3 Connect-ExchangeOnline -AppId -Certificate -Organization "" This example connects to Exchange Online PowerShell in an unattended scripting scenario using a certificate thumbprint. ![]() Example 2 Connect-ExchangeOnline -AppId -CertificateThumbprint -Organization "" The connection uses REST API mode and doesn't require Basic authentication to be enabled in WinRM on the local computer. Examples Example 1 Connect-ExchangeOnline -UserPrincipalName example connects to Exchange Online PowerShell using modern authentication, with or without multi-factor authentication (MFA). The workaround is to connect using a different account that doesn't have special characters in the profile path. This cmdlet creates a PowerShell connection to your Exchange Online organization.Ĭonnect commands will likely fail if the profile path of the account that you used to connect contains special PowerShell characters (for example, $). In this article Syntax Connect-Exchange Online To connect to Security & Compliance PowerShell, use the Connect-IPPSSession cmdlet.įor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. This cmdlet works for accounts with or without multi-factor authentication (MFA). Use the Connect-ExchangeOnline cmdlet in the Exchange Online PowerShell module to connect to Exchange Online PowerShell or standalone Exchange Online Protection PowerShell using modern authentication. For more information, see About the Exchange Online PowerShell module. This cmdlet is available only in the Exchange Online PowerShell module. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |