

In the Azure Active Directory Module for Windows PowerShell, follow these steps:.Locate the user that you want to recover.

Select Users, and then select Deleted Users.Sign in to the Microsoft 365 portal ( ) by using administrative credentials.In the Microsoft 365 portal, look up user accounts that were deleted through the portal.Use Microsoft 365 and the Azure Active Directory Module for PowerShell as follows to determine whether a user is eligible to be recovered from "deleted" status: However, they are not completely removed, and they can be recovered within 30 days.

When users are deleted from Azure Active Directory (Azure AD), they are moved to a "deleted" state and no longer appear in the user list. A user account that was accidentally deleted from Microsoft 365, Microsoft Azure, or Microsoft Intune has to be restored.
