AuthScheme Parameter (Connect-Office365 Cmdlet)
The type of authentication to use when connecting to Microsoft Office 365.
Syntax
Connect-Office365 -AuthScheme string
Possible Values
AzureAD, AzureMSI, AzureServicePrincipal, AzureServicePrincipalCertData Type
cstr
Default Value
"AzureAD"
Remarks
- AzureAD: Set this to perform Azure Active Directory OAuth authentication.
- AzureMSI: Set this to automatically obtain Managed Service Identity credentials when running on an Azure VM.
- AzureServicePrincipal: Set this to authenticate as an Azure Service Principal using a Client Secret.
- AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a Certificate.