none
Store Object EntryID Structure RRS feed

  • Question

  • [MS-OXCDATA] 2.2.4.3 describes the format of the store entry id. Both MFCMAPI and OutlookSpy parse and display store entry id up to and including the MailboxDN member.

    Looking at the binary data however (see the screenshot below) I can see that there is additional data in case of delegate stores (primary and PF stores follow the spec and have no extra data).

    What is that data? What I am trying to do is avoid using IExchangeManageStore::CreateStoreEntryID since IExchangeManageStore cannot be marshaled across process boundaries and I need to create the delegate store entry id explicitly in my code.

    Thank you!

    abFlags[0]: 00
    abFlags[1]: 00
    abFlags[2]: 00
    abFlags[3]: 00
    UID: PublicStoreUID
    Version: 0
    Flag: 0
    DLLFileName: emsmdb.dll
    WrappedFlags: 0
    WrappedProvider UID: 1B55FA20AA6611CD9BC800AA002FC45A
    WrappedType: 0x0000000C
    ServerShortname: TLMAILEXCH07
    MailboxDN: /o=TestLogix/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=deanne2


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!


    Monday, December 2, 2013 11:40 PM

Answers

All replies

  • Hello Dmitry :

    Thank you for contacting Microsoft Support. A support engineer will be in touch to assist further.

    Thanks.


    Tarun Chopra | Escalation Engineer | Open Specifications Support Team

    Tuesday, December 3, 2013 4:08 AM
  • Anybody?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 9, 2013 1:48 PM
  • Can anybody answer this question please? It's been two weeks...

    Do I need to open a support case?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 16, 2013 7:19 AM
  • Hi Dmitry, I am the engineer who will be working with you on this issue. I am currently researching the problem and will provide you with an update soon. Thank you for your patience.

    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Wednesday, December 18, 2013 4:27 PM
    Moderator
  • Dmitry - can you tell us where exactly you're finding this entry ID?
    Wednesday, December 18, 2013 10:18 PM
  • Sure, add a delegate mailbox to the profile ("Advanced | Open these additional mailboxes" in the Exchange account properties dialog), go to that mailbox, click IMsgStore button on the OutlookSpy toolbar, select the PR_STORE_ENTRYID property, click the "..." button next to the Value edit box.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, December 18, 2013 10:23 PM
  • Hmmm... Doing this again, I cannot see the same data.

    Let me poke around to see how I got that entry id.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, December 18, 2013 10:35 PM
  • Steve, I have a vague recollection that some entry ids (I cannot find the docs) can include both short and long server names. Is this one of these cases?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Wednesday, December 18, 2013 10:44 PM
  • EntryID V2 perhaps?

    http://blogs.msdn.com/b/stephen_griffin/archive/2011/07/21/store-entry-id-v2.aspx

    Do you have the full hex (as text, not pic) of one of these entry IDs that you can share?

    Thursday, December 19, 2013 2:21 PM
  • This is exactly what I am getting!

    The highlighted part in the screenshot looks exactly like EntryIDv2 struct!

    I am still trying to figure out how Outlook ended up with that entry id. Does it happen if the user opens a mailbox hosted on a server different from the one hosting the primary mailbox?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Thursday, December 19, 2013 2:36 PM
  • It's been a while since I looked at it and I don't recall all the scenarios in which a v2 entry ID might surface.
    Thursday, December 19, 2013 4:05 PM