Connections > Microsoft Dynamics 365 for Operations connection > Prepare for authentication
  

Prepare for authentication

You can configure OAuth 2.0 and OAuth 2.0 client secret grant authentication types to connect to Microsoft Dynamics 365 for Operations.
Before you configure the connection properties, you need to keep the authentication details handy based on the authentication type that you want to use.
You also need to add the required domains to the list of approved IP addresses to connect to Microsoft Dynamics 365 for Operations.
For more information about the domains that you need to add to the list of approved IP addresses, see the List of domains knowledge article.
Note: You cannot use OAuth 2.0 client certificate grant authentication to access Microsoft Dynamics 365 for Operations.

OAuth 2.0 authentication

You need the Microsoft Dynamics 365 for Operations user name and password to configure OAuth 2.0 authentication to access Microsoft Dynamics 365 for Operations.
Additionally, you need the service URL and application ID for OAuth 2.0 authentication.
To get these details, the organization administrator needs to register your Microsoft Dynamics 365 for Operations application with Azure Active Directory.
For more information about the registration steps with Azure Active Directory, see Register your application.

Set the -Dlog4j.configuration property

  1. 1Copy the log4j.properties file from <Secure Agent installation directory>\downloads\package-MSDAX7.<version>\package\plugins\449700 directory and place it in a location in the Secure Agent machine.
  2. 2Set the JVM option for type DTM to -Dlog4j.configuration=<log4j.propertyfile location>\log4j.properties in the system configuration details of the Secure Agent.
  3. 3Restart the Secure Agent.