Draft: How to take EWS/OWA/ETL trace to troubleshoot Exchange Web Services issues – EXCHANGE 2007 & 2010

THIS IS A DRAFT DOCUMENT AND MAY CHANGE WITHOUT PRIOR NOTICE. PURPOSE: Collect ETL trace from Exchange Server 2007 & 2010 to troubleshoot Exchange Web Services related issues. Applies to: Microsoft® Exchange Server© 2007 & 2010 Steps 1) Go to CAS Server and fire up Extra.exe (%PROGRAMFILES%\Microsoft\Exchange Server\Bin\ExTRA.exe) 2) This will bring the following window,…


Exchange Web Services 101 : Let’s get started!

Want to learn Exchange Web Service but not sure how and from where? Here are the few articles that I share very often with partners and customers who want to learn more about Exchange Web Services. Undoubtedly there is so much information out there and that’s too in such a short span of time. You…

6

HOWTO: EWS: Get OOF State for Self or any user in your organization

First thing first, this is just for demonstration purpose and might *not* be a supported solution by Microsoft. The setting we are reading from are hidden messages and not documented anywhere. I had to reverse engineer it for demonstration purpose. Objective: To get OOF State of any user in your organization. Challenges: You might ask…

4

Searchfolder created from EWS is not displaying items falling under criteria within Outlook

I have been working on different SearchFolders cases lately where customers were trying to create SearchFolder using EWS. Working on those issues has uncovered a limitation of Outlook (I tested it on 2007, but may exist with earlier versions as well) I created the search folder using the following XML <?xml version="1.0"?> <CreateFolderType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">…

1

HOW TO: Create SearchFolder to search for Custom Properties using EWS

Here is a quick sample if you are looking at creating a search folder using EWS which will look for Custom Property. Here we are looking for a custom property named “EmployeeID” and make sure that the property exist and does not have a blank value. public static BaseFolderType CreateCustomPropSearchFolder() { //Base folder type FolderIdType…

1

Attachments go crazy and loose their positions when item is touched by Exchange Web Services

My fellow colleague had this customer who was using Exchange Web Services to update body of an appointment item. He created a new appointment from Outlook with some body text, attachments in the body to the position where he wanted, subject & location. Appointment was saved as it should and life was good. This is…

1

BUG: HasAttachments property is false on meeting occurrence with attachment

I thought it was just the last month full of bugs and fixes. This month also started with a Exchange Web Services bug.. or better Exchange Bug as Exchange Web Service is just a victim 🙁 If you add an attachment to a single occurrence of a recurring CalendarItem, and then call GetItem with AllProperties…

1

BUG: ‘ErrorNoPublicFolderServerAvailable’ is not a valid value for ResponseCodeType

Another fine day and some great timings. I was discussing this bug with product group hoping that it is not faced by anyone outside Microsoft and then the phone rings…. I am getting the following error while trying to do a FindFolder call on to Public Folders Exception Type – System.InvalidOperationException Exception Message – Instance…

1

HOWTO: EWS: Update IsRead Flag for items using Exchange Web Services

First thing first, you cannot use Exchange Web Services (as of now) to update the IsRead flag for items other than MessageType. MessageType has IsRead property in place to update the MAPI property PR_MESSAGE_FLAGS. Product group is aware of this limitation and very soon we should see an fix for this. In the mean time…

16