RetrieveExchangeAppointments Function

Dynamics CRM 2016
 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

This Web API function corresponds to the organization service RetrieveExchangeAppointmentsRequest.

RetrieveExchangeAppointments function is not bound to any entity types.

Remarks

Parameters allow for data to be passed to the function.

Name

Type

Nullable

Unicode

Description

StartDate

Edm.DateTimeOffset

false

The start date of the range in UTC.

EndDate

Edm.DateTimeOffset

false

The end date of the range in UTC.

The RetrieveExchangeAppointments function returns the following value.

Type

Nullable

Description

Collection(crmbaseentity EntityType)

false

A collection of Exchange appointments for the user within the date range spacified.

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;

Error

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.

System_CAPS_noteNote

Although the data is returned uses the structure of Dynamics 365appointment EntityType, they do not represent data from Dynamics 365. This data comes from Exchange.

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: