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