How can we get Userlist which is permanently deleted? Is there any other API?

Casepoint Developer 66 Reputation points
2024-02-01T11:18:14.3+00:00

Hi Team, How can we get a user list that is permanently deleted? Is there any other API? I tried with API https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.user but can't get permanently deleted users only I get inactive users.

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Purview
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.7K Reputation points MVP Volunteer Moderator
    2024-02-01T18:05:56.26+00:00

    You cannot, once an object is permanently deleted, the Graph has no knowledge of it. They only way would be to store information in some external system, i.e. every time you create a new user you write a record in the system, then update it upon deleting the user, etc.


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.