• Most COVID-19 rules have ended in New Zealand.
    • You must still isolate for 7 days if you have COVID-19.
    • You must wear a face mask in healthcare facilities, such as hospitals. International travellers will not need proof of COVID-19 vaccination.
    From 13 September 2022, to enter New Zealand, you do not need proof of vaccination.

Remove / Purge Deleted Users from Office 365 Admin

Andy

Administrator
Creative Team
User ID
1
Joined
7 Jan 2019
Messages
771
Reaction score
32
Points
28
You can run the command via AD PowerShell directly:
Code:
$msolcred = get-credential
connect-msolservice -credential $msolcred
To purge the deleted user accounts:
Code:
get-msoluser –returndeletedusers -maxresults 100000 | remove-msoluser -removefromrecyclebin -force
 
 Short URL:
Top