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 2007: Transport error when sending emails using TLS (0x80040213)

Ok, this was a fun case and I never had such fun on a CDOSYS case & I am lying. I spent nearly all day in hunting down a Transport failure issue when sending emails using CDOSYS and Exchange 2007 as backend. This was the configuration of the default Receive connector, pretty secured…huh??? Yeah!!! Goal: …

1

Exchange 2010: OWA Customization: Preview forms does not works in Conversation Mode

I recently had couple of customer reporting that their existing/new OWA customization code is not working in Preview mode. You will notice the following error message displayed instead.. "This type of message isn’t fully supported in Conversation mode. Click here to open the full version, which may show you more details or features." This same…


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: Automatically Login to OWA 2007 using HTML + JavaScript

First thing first, you should understand that this is NOT SUPPORTED & NOT RECOMMENDED solution by Microsoft. This is just a proof of concept that OWA 2007 can be auto login, if you know the username & password of target account. The approach is simple and took me little reverse engineering or OWA’s login page….

11

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

Announcement: EWS Managed API launching tomorrow 04/15/09

Good news for all .Net developers working with Exchange or willing to work with Exchange but have zero experience in the domain. Exchange Team had been working so hard to reduce your efforts and improve your efficiency. Check out these videos to see what EWS Managed API is capable of https://channel9.msdn.com/pdc2008/BB46/ http://msexchangeteam.com/archive/2009/03/24/450892.aspx Keep a watch…


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

HOWTO: Give Service Account Access to all mailboxes on an Exchange 2007 Server

This is my first attempt to write a Powershell sample to my readers. In this sample we will give Send-As, Receive-As, ms-Exch-Store-Admin rights to an active directory user. We will be piping two commands here… Get-MailboxServer and the result will go to Add-AdPermission. You may give same permissions using Exchange Power Shell Window C:\>Get-MailboxServer –Identity…