AI Agent for Multiple Business Services Interaction > Using the AI Agent for Multiple Business Services Interaction recipe > Configure and publish the Dynamics365AIAgentConnection connection
  

Configure and publish the Dynamics365AIAgentConnection connection

Configure the tenant and client details in the Dynamics365AIAgentConnection connection, and then publish the connection.
  1. 1Open the Dynamics365AIAgentConnection connection.
  2. 2From the Type list, select Dynamics365.
  3. 3From the Runtime Environment list, select Cloud Server or any Secure Agent.
  4. 4In the Connection Properties section, enter values for the following properties:
  5. Property
    Description
    Tenant_ID
    Dynamics 365 tenant ID to get the access token. Enter the tenant ID that you generated under Microsoft Entra ID > App registrations in Dynamics 365 after creating the client credentials.
    Client_ID
    Dynamics 365 client ID to generate a valid access token. Enter the client ID that you generated under Microsoft Entra ID > App registrations in Dynamics 365.
    Client_Secret
    Dynamics 365 client secret that you generated under Microsoft Entra ID > App registrations in Dynamics 365.
    Grant_type
    Grant type that the Dynamics 365 instance uses to get an access token for third-party client authorization. Enter the value as client_credentials.
    Resource_URL
    URL to access the Dynamics 365 instance.
  6. 5Save and publish the connection.