CmdID

CmdID / PowerShell / Cmdlets / Connect

Connect-ExchangeOnline

Use the Connect-ExchangeOnline cmdlet in the Exchange Online PowerShell module to use modern authentication to connect to Exchange Online PowerShell or PowerShell for the Built-in security add-on for on-premises mailbox… Exchange PowerShell reference

From the Exchange PowerShell reference 37 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

37 in the Exchange PowerShell reference
Show its 37 parameters
-ConnectionUriThe ConnectionUri parameter specifies the connection endpoint for the PowerShell session.
-AzureADAuthorizationEndpointUriThe AzureADAuthorizationEndpointUri parameter specifies the Microsoft Entra Authorization endpoint that can issue OAuth2 access tokens.
-ExchangeEnvironmentNameThe ExchangeEnvironmentName specifies the Exchange Online environment and eliminates the need to use the AzureADAuthorizationEndpointUri and ConnectionUri parameters.
-PSSessionOptionThe PSSessionOption parameter specifies the PowerShell session options to use in your connection to Exchange Online.
-DelegatedOrganizationThe DelegatedOrganization parameter specifies the customer organization that you want to manage.
-PrefixThe Prefix parameter specifies a text value to add to the names of Exchange Online PowerShell cmdlets when you connect.
-CommandNameThe CommandName parameter specifies the comma separated list of commands to import into the session.
-FormatTypeNameThe FormatTypeName parameter specifies the output format of the cmdlet.
-AccessTokenThe AccessToken parameter specifies the OAuth JSON Web Token (JWT) that's used to connect to Exchange Online.
-AppIdThe AppId parameter specifies the application ID of the service principal that's used in certificate based authentication (CBA).
-BypassMailboxAnchoringThe BypassMailboxAnchoring switch bypasses the use of the mailbox anchoring hint.
-CertificateThe Certificate parameter specifies the certificate that's used for certificate-based authentication (CBA).
-CertificateFilePathThe CertificateFilePath parameter specifies the certificate that's used for CBA.
-CertificatePasswordThe CertificatePassword parameter specifies the password that's required to open the certificate file when you use the CertificateFilePath parameter to identify the certificate that's used for CBA.
-CertificateThumbprintThe CertificateThumbprint parameter specifies the certificate that's used for CBA.
-CredentialThe Credential parameter specifies the username and password that's used to connect to Exchange Online PowerShell.
-DeviceThe Device switch is typically used on computers without web browsers.
-DisableWAMThe DisableWAM switch disables Web Account Manager (WAM).
-EnableErrorReportingThe EnableErrorReporting switch specifies whether to enable error reporting.
-EXOModuleBasePathThe EXOModuleBasePath parameter specifies the folder where the local temporary copy of the Exchange Online PowerShell module is stored.
-InlineCredentialThe InlineCredential switch specifies whether to pass credentials directly in the Windows PowerShell window.
-LoadCmdletHelpThe LoadCmdletHelp switch downloads cmdlet help files for the Get-Help cmdlet in REST API connections.
-LogDirectoryPathThe LogDirectoryPath parameter specifies the location of the log files.
-LogLevelThe LogLevel parameter specifies the logging level.
-ManagedIdentityThe ManagedIdentity switch specifies that you're using managed identity to connect.
-ManagedIdentityAccountIdThe ManagedIdentityAccountId parameter specifies the user-assigned managed identity that you're using to connect.
-OrganizationThe Organization parameter specifies the organization when you connect using CBA or managed identity.
-PageSizeThe PageSize parameter specifies the maximum number of entries per page.
-ShowBannerThe ShowBanner switch shows or hides the banner message that's displayed when you run Connect-ExchangeOnline.
-ShowProgressThe ShowProgress parameter specifies whether to show or hide the progress bar of imported cmdlets when you connect.
-SigningCertificateThe SigningCertificate parameter specifies the client certificate that's used to sign the format files (*.Format.ps1xml) or script module files (.psm1) in the temporary module that Connect-ExchangeOn…
-SkipLoadingCmdletHelpIn version 3.7.0-Preview1 or later, this parameter is replaced by the LoadCmdletHelp parameter.
-SkipLoadingFormatDataThe SkipLoadingFormatData switch prevents downloading the format data for REST API connections.
-TrackPerformanceThe TrackPerformance parameter measures additional events (for example, CPU load and memory consumed).
-UseMultithreadingThe UseMultithreading parameter specifies whether to disable or enable multi-threading in the Exchange Online PowerShell module.
-UserPrincipalNameThe UserPrincipalName parameter specifies the account that you want to use to connect (for example, navin@contoso.onmicrosoft.com).
-UseRPSSession