Cmdlets for Microsoft Dynamics 365 Business Central

Build 24.0.9060

AuthScheme Parameter (Connect-D365BusinessCentral Cmdlet)

Whether to use OAuth Authentication or Access Key Authentication when connecting to Business Central.

Syntax

Connect-D365BusinessCentral -AuthScheme string

Possible Values

AccessKey, AzureAD, AzureServicePrincipal, AzureServicePrincipalCert, AzureMSI, NTLM, Negotiate

Data Type

cstr

Default Value

"AzureAD"

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.

  • 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 cmdlet will negotiate an authentication mechanism with the server. Set AuthScheme to NEGOTIATE if you want to use Kerberos authentication.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060