Cmdlets for Microsoft Dynamics 365 Business Central

Build 25.0.9434

AuthScheme Parameter (Connect-D365BusinessCentral Cmdlet)

Specifies the type of authentication to use when connecting to Microsoft Dynamics 365 Business Central. If this property is left blank, the default authentication is used.

Syntax

Connect-D365BusinessCentral -AuthScheme string

Possible Values

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

Data Type

cstr

Default Value

"AzureAD"

Remarks

Available authentication options include:

  • AccessKey: Perform authentication using an Access Key. (Testing use only.)
  • AzureAD: 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.
  • AzureMSI: Automatically obtain Managed Service Identity credentials when running on an Azure VM.
  • NTLM: Authenticate using your Windows credentials.
  • Negotiate: Directs the cmdlet to negotiate an authentication mechanism with the server. Specify this AuthScheme if you want to use Kerberos authentication.

For information about creating a custom application to authenticate with Azure AD, see Creating an Entra ID (Azure AD) Application.

For information about creating a custom application to authenticate with Azure AD Service Principal, see Creating a Service Principal App in Entra ID (Azure AD).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434