nav2567
asked on
remove calendar appointments of a departed O365 user.
Hello,
We want to remove all scheduled calendar events from a O365 user who has departed and her email license has been removed. Would the below command work? If not, please advise a way to work around.
Remove-CalendarEvents -Identity pdoe@xyz.com -CancelOrganizedMeetings -QueryWindowInDays 180
Thanks!
The cmdlet will only work if the user account (mailbox) still exists. If not, your only option is to use Search-Mailbox and delete the appointments. This is NOT the same thing as canceling them though,
Can we reinstate the license and then re-run the cmdlet to cancel the appointments ?
That depends on how much time has passed since it was removed, if the mailbox is still recoverable you should be able to do it.
ASKER
Vasil, would you advise the search-mailbox command to delete the apts? The license has already been removed from the departed user.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks Vasil.