Skip to main content

Dynamics AX (Service Principal)

Connect to Dynamics AX using a service principal

To use this connection type within the API, use a ConnectionTypeCode of DYNAMICSAX-SP.

Variable Reference

The following variables are supported:

  • DynamicsUrl - (Required) The URL of the Dynamics AX application.

  • AadResourceId - (Required) Specify the AAD resource you are requesting for authorization. For example, if your Dynamics URL is https://sampledynamics.sandbox.operations.dynamics.com/data/, the corresponding AAD resource is usually https://sampledynamics.sandbox.operations.dynamics.com.

  • DynamicsTenantIdSecretName - (Required) The name of the Key Vault Secret containing the value of the Tenant ID of the Dynamics application.

  • DynamicsServicePrincipalIdSecretName - (Required) The name of the Key Vault Secret containing the value of the ID of the Service Principal used to access Dynamics.

  • DynamicsServicePrincipalCredentialSecretName - (Required) The name of the Key Vault Secret containing the value of the Credential of the Service Principal used to access Dynamics.