Microsoft Dynamics 365 Tool > Introduction to Microsoft Dynamics 365 Tool recipe > Configure the Microsoft Dynamics 365 Tool
  

Configure the Microsoft Dynamics 365 Tool

To configure and run the Microsoft Dynamics 365 Tool script, perform the following steps to set up the tenant ID, client ID, and client secret. These settings ensure secure and seamless authentication and communication with Dynamics 365 data tables.
  1. 1Open the Microsoft_Dynamics_365_Tool tool connection.
  2. 2On the Code tab, uncomment the configuration block and enter the following property values within double quotes:
  3. The following snippet shows a sample configuration block:
    ENV_FILE = ".env"

    #Set Dynamics credentials for and comment it after first run
    #set_key(ENV_FILE, "DYNAMICS_TENANT_ID", "")
    #set_key(ENV_FILE, "DYNAMICS_CLIENT_ID", "")
    #set_key(ENV_FILE, "DYNAMICS_CLIENT_SECRET", "")
    After the initial run, you can remove these values.
    Alternatively, you can manually add these values to your environment variables.
  4. 3On the Input Parameters tab, enter the value for the Action parameter as create, update, or get. Then, perform one of the following steps:
  5. 4Save the connection.