Forum Discussion

Dave_Steer's avatar
Dave_Steer
Copper Contributor
Nov 24, 2021
Solved

Get all users in Azure AD recycle bin

Does anyone know if there is a way of pulling back a list of users who are in the Azure AD recycle bin? I've had a look through the cmdlets and can't see anything obvious.   thanks
  • AndresGorzelany's avatar
    Nov 24, 2021
    Hello Dave,
    You can use the MSOnline module (it has been recently updated, more info https://msshells.net)

    Get-MsolUser -ReturnDeletedUsers

Resources