The service URL is the REST endpoint of the Dynamics 365 service to which you are connecting. For example:

https://mywebinstance.api.crm.dynamics.com/api/data/v9.1/

Note: The service URL contains the resource URI https://mywebinstance.api.crm.dynamics.com. For Microsoft Identity Platform (v2) provisioning, the resource URI is included in 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 Customizations, click Developer Resources.
  4. From Developer Resources, the service URL is the URL in the Service Root URL field under the heading Instance Web API.