Microsoft Graph API - Retrieve Mail for Deleted User

Ryan Hemmel 26 Reputation points
2021-05-06T21:51:44.84+00:00

Is it possible to retrieve email messages for a deleted user using the Microsoft Graph API? Using GET /users/{id}/messages and inputting the id for the deleted user returns a "User not found" message.

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

Accepted answer
  1. Diana Wanjuhi 1,376 Reputation points
    2021-05-13T06:08:57.133+00:00

    Hello @Ryan Hemmel this is currently not possible, I ran this in graph explorer and got the same for deleted users,

    Diana.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.