Forum Discussion
Deleted
Oct 13, 2017How to delete all calendar appointments booked by terminated users?
We have a Hybrid set up with o365 and we ahve around 150+ Meeting rooms. How to delete all calendar appointments booked by terminated users? Before deleting, we need to email out all attendees to ...
VasilMichev
Oct 13, 2017MVP
If the user account still exists, use the Remove-CalendarEvents cmdlet: https://technet.microsoft.com/en-us/library/mt784593(v=exchg.160).aspx
That works only for cloud mailboxes though. Otherwise, you will have to use some EWS-based script to find and properly cancel the appointments. Removing them via Search-Mailbox will not send cancelcation notices.
lanTH33462
Mar 10, 2022Copper Contributor
The Powershell cmdlets don't work. They are not recognized as cmdlets.