Hello All
Today we are going to see the command of exchange online to cancel the meeting invites on behalf of users
how an administrator can cancel Teams meetings scheduled by a user who is currently unavailable for any one of the below reasons
- The organizer is unavailable for some period
- The organizer has left the company.
- The organizer is due to leave the company and part of the off boarding process involves cancellation of all their future meetings.
The exchange online powershell command
The Remove-CalendarEvents cmdlet can cancel meetings up to 1825 days (five years) in the future, which should be more than sufficient in most cases. You can perform a test run beforehand to see what meetings it will remove by including the PreviewOnly parameter.
Ramki: 11/28/2023 >Remove-CalendarEvents -Identity ramki@craftnet.in -CancelOrganizedMeetings -QueryStartDate (Get-Date) -QueryWindowInDays 10 -PreviewOnly
Confirm
Are you sure you want to perform this action?
The meeting(s) will be canceled and removed from the calendar. This action cannot be undone.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
The meeting with subject "Remove Meeting - Ramki Calendar for Craft Users 1 to 3" and start date "11/30/2023" has been queued for cancellation.
Ramki: 11/28/2023 >
When ready to proceed, remove the PreviewOnly parameter and run the command again. Exchange Online connects to the mailbox, finds the relevant meetings, and cancels them. Cancellation occurs immediately.
Ramki: 11/28/2023>Remove-CalendarEvents -Identity ramki@craftnet.in -CancelOrganizedMeetings -QueryStartDate (Get-Date) -QueryWindowInDays 10
Confirm
Are you sure you want to perform this action?
The meeting(s) will be canceled and removed from the calendar. This action cannot be undone.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Comments
Post a Comment