RetrieveExchangeAppointmentsRequest RetrieveExchangeAppointmentsRequest RetrieveExchangeAppointmentsRequest RetrieveExchangeAppointmentsRequest Class


Retrieves the appointments for the current user for a specific date range from the exchange web service.

For the Web API use the RetrieveExchangeAppointments Function.

Web API support for this message was added with December 2016 update for Microsoft Dynamics 365 (online) and December 2016 Service Pack for Microsoft Dynamics 365 (on-premises) .

public ref class RetrieveExchangeAppointmentsRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class RetrieveExchangeAppointmentsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type RetrieveExchangeAppointmentsRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveExchangeAppointmentsRequest
Inherits OrganizationRequest


Use of this message requires that the proper Mailbox and Email Server are set up for the user. If these are not property configured, this message can return the following errors;


Possible Cause

The remote server returned an error: (401) Unauthorized.

Email credentials are incorrect.

The remote name could not be resolved: '<hostname>'

Invalid Exchange Web Services endpoint

The remote server returned an error: (403) Forbidden.

Invalid SSL (HTTPS) settings

Could not determine exchange server URL..

Auto discovery error.


RetrieveExchangeAppointmentsRequest() RetrieveExchangeAppointmentsRequest() RetrieveExchangeAppointmentsRequest() RetrieveExchangeAppointmentsRequest()

Initializes a new instance of the RetrieveExchangeAppointmentsRequest class.


EndDate EndDate EndDate EndDate

Gets or sets the end date of the range in UTC.

ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
StartDate StartDate StartDate StartDate

Gets or sets the start date of the range in UTC.

Applies to