Unable to Access In-Place Archive Mailbox Messages via Graph API

kyletest 0 Reputation points
2025-04-10T07:57:08.57+00:00

Dear Microsoft Support Team,

I’m currently attempting to access messages stored in an in-place archive mailbox using Microsoft Graph API. However, I encountered an issue when trying to retrieve a message by its ID.

According to the following documentation: https://learn.microsoft.com/en-us/graph/api/mailboxitem-get?view=graph-rest-beta&tabs=http

After obtaining the message ID, I called the endpoint: https://graph.microsoft.com/v1.0/me/messages/{id}

However, the response returned the following error:

{
  "error": {
    "code": "ErrorInvalidMailboxItemId",
    "message": "Item 'AAMkADAyMGVlNTIzLWQ3NWEtNGY4My04ODY4LTIwZDY2NGU4YjRmMwBGAAAAAAD4O2yBc24QS6uBkqwvNSw0BwAebgh01gXzQoOLde_0o13UAAAAAAEbAAAebgh01gXzQoOLde_0o13UAAAAABL_AAA=' doesn't belong to the targeted mailbox '892ee2fe-8034-4fd3-a1c2-34a92434827d'."
  }
}

It appears that the Graph API is unable to access items stored in the in-place archive mailbox. Could you please advise whether this scenario is supported? If not, is there an alternative method or endpoint that can be used to access messages from an archive mailbox?

Thank you in advance for your assistance.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,487 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rajat Vashistha-MSFT 1,535 Reputation points Microsoft External Staff
    2025-04-10T09:30:01.6133333+00:00

    Hi kyletest,

    Thanks for reaching out to Microsoft!

    Unfortunately, accessing in-place archive mailbox messages is not supported due to limitations of the Graph API.

    Since this feature/functionality is presently not available, you can submit a feature request idea using support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.