Building OWA URL for Archieve Item -Exchange 2010

One of my customer was trying to construct OWA url for archive emails in Exchange 2010. Initially even I didn’t know how to construct, so I started playing around with the URL. I created archive mailbox and observed the URL when I browse in OWA.

The URL looked like following:


OOPS! How do I construct this? I browse through several archive mail item and found a pattern.

First Part of the URL is constant for mail Items

This is constant ==> https://pallav-exchange/owa/?ae=Item&a=Open&t=IPM.Note&id

Now the changing part is the value of id parameter, which has three parts separated by .(dot)

Part 1:

Part 2:

Part 3:


Part 1:
It is pretty simple, AMB indicates Archive Mail Box, so just prefix.

Part 2:
It is OWA ID of the item. When you get an Item from EWS, it gives you EWS Id of the Item; you can use “ConvertID” method of EWS to convert EWSID to OWA ID.

Part 3:
It is Legacy DN with Mailbox GUID, converted to Base64 string, decoding this will give you

/o=FirstOrganization/ou=Exchange Administrative Group(FYDIBOHF23SPDLT)/cn=Recipients/cn=PallavSharma7a9/guid=4fb0b70e-7a1c-4cee-9f4e-4f9c58e30611

So Archieve MailBox URL = AMB.OWAID.Legacy DN with Mailbox GUID(Converted to base64 string) 

So you can construct URL for archived mail box item with above technique.

Above information is based on my research and there is no documentation on this URL format.

Comments (1)

  1. Maurizio says:


Skip to main content