Use the Dynamics 365 Discovery services
Applies to Dynamics 365 for Customer Engagement apps version 9.x
The Discovery web services are used to determine the organizations that a user is a member of, and the endpoint address URL to access the Organization service or Web API for each of those organizations. This Discovery service is necessary because Dynamics 365 is a multi-tenant environment. A single Dynamics 365 server can host multiple business organizations. By using the Discovery web service, your application can determine the endpoint address URL to access the target organization’s business data.
A Discovery service is accessed through either the Web API or the Organization Service.
- For the Web API see: Discover the URL for your organization using the Web API
- For the Organization Service see: Discover the URL for your organization using the Organization Service API