skip to main content
Configuring and connecting to data sources : Authentication : OAuth 2.0 authentication : Obtaining the service URL
  

Try DataDirect Drivers Now
Obtaining the service URL
The service URL is the REST endpoint of the Dynamics 365 service to which you are connecting. The service URL is specified with the ServiceURL option. For example:
ServiceURL=https://mywebinstance.api.crm.dynamics.com/api/data/v9.1/
Note: The service URL contains the resource URI https://mywebinstance.api.crm.dynamics.com. Depending on whether you are using Azure Active Directory (v1) or Microsoft Identity Platform (v2) to manage user and application permissions, the resource URI is used in either the authorization URI or the scope.
Take the following steps to obtain the service URL.
1. Logon to the instance of Dynamics 365 to which you are connecting.
2. From the application dropdown, select Settings and then Customizations.
3. From the Customizations window, select Developer Resources.
The service URL is in the Service Root URL field under the Instance Web API heading.