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.
OAuth 2.0 client secret grant authentication
You need the tenant ID and client secret and to use OAuth 2.0 client secret grant authentication to access Microsoft Dynamics 365 for Operations.
To get the tenant ID and client secret, you need to register your Microsoft Dynamics 365 for Operations application with the Azure Active Directory.
Additionally, you need the service URL and application ID for OAuth 2.0 client secret grant authentication.