SOLVED

Get all users in Azure AD recycle bin

New Contributor

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

2 Replies
best response confirmed by Dave_Steer (New Contributor)
Solution
Hello Dave,
You can use the MSOnline module (it has been recently updated, more info https://msshells.net)

Get-MsolUser -ReturnDeletedUsers
Thats great, thanks for the quick response