immutable mailbox id thru EWS

Hello,

Is there any way to get an immutable id for a given mailbox via EWS?

As I know user email address can be changed so it cannot be used for identification of the mailbox.

What is about UserDN and MailboxDN? is any of them immutable?

March 31st, 2015 4:36pm

 With EWS the PrimarySMTPAddress of a Mailbox is the Key you need to use, I guess the question is why do you need an immutable (there is one for Directory sync between Office365 and OnPrem) . In Exchange the immutable Id for a Mailbox is the Mailbox GUID https://technet.microsoft.com/en-us/library/aa996437%28v=exchg.65%29.aspx but you can't get this value via EWS . The MailboxDN (or LegacyExchangeDN) is the X500 address of the Mailbox which shouldn't change although it is changeable (so not immutable) but its useable in EWS.

Cheers
Glen


Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 8:35pm

I am caching some information fetched via EWS and need to invalidate the cache if a different user gets the same email address.
April 1st, 2015 6:56pm

Then I would use MailboxDN and you can then use Autodiscover to validate the PrimarySMTP against the MailboxDN.

Cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
April 1st, 2015 11:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics