SOLVED

Get all users in Azure AD recycle bin

Copper 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 (Copper 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
1 best response

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

Get-MsolUser -ReturnDeletedUsers

View solution in original post