You cannot use the GetItem operation in EWS to retrieve properties of an email message in an Exchange Server 2010 environment

Symptoms

Consider the following scenario:

  • You use the GetItem operation in Exchange Web Services (EWS) to retrieve properties of an email message in a Microsoft Exchange Server 2010 environment.

  • The email message item has an attachment.


In this scenario, the GetItem operation fails.

Cause

This issue occurs because EWS incorrectly adds a ContentIDĀ field of the attachment two times to the returned XML. Therefore, the XML schema validation fails.

Resolution

To resolve this issue, install the following update rollup:

2582113 Description of Update Rollup 5 for Exchange Server 2010 Service Pack 1

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about the GetItem operation, visit the following MSDN website:

General information about the GetItem operation

For more information about Exchange Web Services XML elements, visit the following MSDN website:

General information about Exchange Web Services XML elements

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×