Messages in the discovery service

Applies to Dynamics 365 (online), version 9.x

Messages are used with the discovery service Execute(DiscoveryRequest) method. All messages available in the discovery web service for Dynamics 365 (online) Customer Engagement apply to all deployment types.

The following table lists the messages that are supported with Execute(DiscoveryRequest) method. Each message derives from the abstract base class DiscoveryRequest.

Message Description
RetrieveUserIdByExternalIdRequest Retrieves the logged-on user's ID in Dynamics 365 (online). This message is available in Dynamics 365 (online) only.
RetrieveOrganizationRequest Retrieves information about a single organization.
RetrieveOrganizationsRequest Retrieves information about all organizations to which the user belongs.

See also

Discover the URL for Your Organization With IDiscoveryService Web Service
Sample: Access the Discovery Service
Use Messages (Request and Response Classes)