AuthScheme
Whether to use OAuth Authentication or Access Key Authentication when connecting to Business Central.
Syntax
property AuthScheme: String;
Possible Values
AzureServicePrincipalCert, Auto, AzureMSI, AccessKey, NTLM, AzureAD, Negotiate, AzureServicePrincipalData 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.
- AccessKey: 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 using a Client Secret.
- AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a Certificate.
- AzureMSI: Set this to automatically obtain Managed Service Identity credentials when running on an Azure VM.
- NTLM: Set this to use your Windows credentials for authentication.
- Negotiate: If AuthScheme is set to NEGOTIATE, the component will negotiate an authentication mechanism with the server. Set AuthScheme to NEGOTIATE if you want to use Kerberos authentication.