Microsoft Dynamics 365 for Sales Connector > Microsoft Dynamics 365 for Sales connections > Connect to Microsoft Dynamics 365 for Sales
  

Connect to Microsoft Dynamics 365 for Sales

Let's configure the Microsoft Dynamics 365 for Sales connection properties to connect to Microsoft Dynamics 365 for Sales.

Before you begin

Before you get started, your organization administrator needs to register your Microsoft Dynamics 365 for Sales application deployed online or on-premises with Azure Active Directory.
You'll need to get information from your Microsoft Dynamics 365 for Sales and Azure Active Directory (AAD) account based on the authentication type that you want to configure to access Microsoft Dynamics 365 for Sales.
Check out Prepare for authentication to learn more about the authentication prerequisites.
You can watch the following video to find the information you need from your Microsoft Dynamics 365 for Sales and Azure Active Directory (AAD) accounts for each of the authentication types:
The video shows you where to get the required details from the Microsoft Dynamics 365 and AAD accounts.https://infa.media/3BqDSro

Connection details

The following table describes the basic connection properties:
Property
Description
Connection Name
Name of the connection.
Each connection name must be unique within the organization. Connection names can contain alphanumeric characters, spaces, and the following special characters: _ . + -,
Maximum length is 255 characters.
Description
Description of the connection. Maximum length is 4000 characters.
Type
Microsoft Dynamics 365 for Sales
Runtime Environment
The name of the runtime environment where you want to run tasks.
Select a Secure Agent, Hosted Agent, or serverless runtime environment.
For more information about how to configure and use the serverless environment, see "Serverless runtime environment setup" in Runtime Environments in the Administrator help.
If you want to use the Hosted Agent to access Microsoft Dynamics 365 for Sales, the connection must use OAuth 2.0 Password Grant authentication.

Authentication types

You can select the Microsoft Dynamics 365 for Sales server type as on-premise or online based on where your instance is deployed and the applicable authentication type in the Microsoft Dynamics 365 for Sales connection properties to access Microsoft Dynamics 365 for Sales from Data Integration.
Note: For enhanced security, consider using OAuth 2.0 Secret Grant or OAuth 2.0 Certificate Grant authentication type to establish a connection.

Advanced settings

The following table describes the advanced connection properties:
Property
Description
Retry Error Codes
HTTP error codes for temporary issues or failures in network requests or operations for which the Microsoft Dynamics 365 for Sales connection attempts retries.
You can enter HTTP error codes, each separated by a comma.
Retry Count
The total number of retries to get the response from the Microsoft Dynamics 365 for Sales endpoint, determined by the retry interval you specify.
Default is 5.
Retry Interval
The wait time in seconds to wait before the Microsoft Dynamics 365 for Sales connection makes another attempt to receive a response.
Default is 60 seconds.

Related links