AuthScheme
Whether to use OAuth Authentication or Access Key Authentication when connecting to Business Central.
Possible Values
Access Key, AzureAD, AzureServicePrincipal, AzureMSI, AutoData Type
string
Default Value
"Auto"
Remarks
Whether to use OAuth Authentication or Access Key Authentication when connecting to Business Central.
Note: OAuth Authentication is for cloud version only, but is expected to be supported for OnPrem in August 2021.
- Auto: Automatically try to determine an appropriate auth scheme to use based on other connection properties.
- Access Key: Set this to perform authenticating using an Access Key. Only works on endpoints designed for testing the service.
- AzureAD: Set this to perform Azure Active Directory OAuth authentication.
- AzureServicePrincipal: Set this to authenticate as an Azure Service Principal.
- AzureMSI: Set this to automatically obtain Managed Service Identity credentials when running on an Azure VM.