none
IMapiSession::OpenMsgStore fails while accessing archive mailbox by using an account having full access permission in Exchange Online (O365) RRS feed

  • Question

  • Hello,

    I am trying to access archive mailbox using an account which has full access permissions on the mailbox. The mailbox and archive both are in cloud - O365. I have "ArchiveGUID" of the archive which I want to access. I use this ArchiveGUID and append to MsgStoreEntryID. 

    For example, I want to access xyz's mailbox archive (present in O365) using account "SuperAccnt". SuperAccnt has full access permission on xyz's mailbox. I have archive GUID of xyz's mailbox. IMapiSession::OpenMsgStore fails here. With full access permissions I am able to access xyz' mailbox and dumpster. It just fails while accessing archive mailbox.

    Do we require any other permissions given to SuperAccnt on xyz's mailbox archive so that it is accessible using SuperAccnt?

    One thing I tried to execute the same code using xyz's account i.e. access xyz's mailbox archive using its own account and I was successful. Does this mean that we need some explicit permission given to access archive mailbox apart from full access permission.

    Thanks in advance,

    Pranay


    Friday, March 20, 2015 7:11 AM

All replies

  • Hello,

    I am trying to access archive mailbox using an account which has full access permissions on the mailbox. The mailbox and archive both are in cloud - O365. I have "ArchiveGUID" of the archive which I want to access. I use this ArchiveGUID and append to MsgStoreEntryID. 

    For example, I want to access xyz's mailbox archive (present in O365) using account "SuperAccnt". SuperAccnt has full access permission on xyz's mailbox. I have archive GUID of xyz's mailbox. IMapiSession::OpenMsgStore fails here. With full access permissions I am able to access xyz' mailbox and dumpster. It just fails while accessing archive mailbox.

    Do we require any other permissions given to SuperAccnt on xyz's mailbox archive so that it is accessible using SuperAccnt?

    One thing I tried to execute the same code using xyz's account i.e. access xyz's mailbox archive using its own account and I was successful. Does this mean that we need some explicit permission given to access archive mailbox apart from full access permission.

    Thanks in advance,

    Pranay


    Friday, March 20, 2015 7:10 AM