AuthScheme Parameter (Connect-ExcelOnline Cmdlet)
The type of authentication to use when connecting to Microsoft Excel Online.
Syntax
Connect-ExcelOnline -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.