AuthScheme
Specifies the type of authentication to use when connecting to Microsoft OneDrive. If this property is left blank, the default authentication is used.
Possible Values
AzureAD, AzureMSI, AzureServicePrincipal, AzureServicePrincipalCertData Type
string
Default Value
"AzureAD"
Remarks
The allowed values include:
- AzureAD (default): Perform Azure Active Directory (user-based) OAuth authentication.
- AzureMSI: Automatically obtain Azure AD Managed Service Identity credentials when running on an Azure VM.
- AzureServicePrincipal: Authenticate as an Azure Service Principal (role-based, application-based) using a Client Secret.
- AzureServicePrincipalCert: Authenticate as an Azure Service Principal (role-based, application-based) using a Certificate.
For information about creating a custom application to authenticate with Microsoft Entra ID, see Creating an Entra ID (Azure AD) Application.
For information about creating a custom application to authenticate with Microsoft Entra ID Service Principal, see Creating a Service Principal App in Entra ID (Azure AD).