CmdID / PowerShell / Cmdlets / Connect
Connect-IPPSSession
Use the Connect-IPPSSession cmdlet in the Exchange Online PowerShell module to connect to Security & Compliance PowerShell using modern authentication. Exchange PowerShell reference
From the Exchange PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 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.-DelegatedOrganizationThe DelegatedOrganization parameter specifies the customer organization that you want to manage (for example, contosoelectronics.onmicrosoft.com).-PSSessionOptionThe PSSessionOption parameter specifies the remote PowerShell session options to use in your connection to Security & Compliance PowerShell.-PrefixThe Prefix parameter specifies a text value to add to the names of Security & Compliance 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 Security and Compliance PowerShell.-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.-DisableWAMThe DisableWAM switch disables Web Account Manager (WAM).-EnableErrorReportingThe EnableErrorReporting switch specifies whether to enable error reporting.-EnableSearchOnlySessionThe EnableSearchOnlySession switch specifies whether to enable certain eDiscovery and related cmdlets that connect to other Microsoft 365 services.-EXOModuleBasePathThe EXOModuleBasePath parameter specifies the folder where the local temporary copy of the Exchange Online PowerShell module is stored.-LogDirectoryPathThe LogDirectoryPath parameter specifies the location of the log files.-LogLevelThe LogLevel parameter specifies the logging level.-OrganizationThe Organization parameter specifies the organization when you connect using CBA.-ShowBannerThe ShowBanner switch shows or hides the banner message that's displayed when you run Connect-IPPSSession.-UserPrincipalNameThe UserPrincipalName parameter specifies the account that you want to use to connect (for example, navin@contoso.onmicrosoft.com).-UseRPSSession