How to Cancel Future Meetings

 How to Cancel Future Meetings

Steps

The Remove-CalendarEvents cmdlet is used to cancel future meetings organized by a mailbox (typically when a user leaves the organization), without deleting their mailbox immediately.

 

1.     Connect to Exchange Online PowerShell

Connect-ExchangeOnline -UserPrincipalName youradmin@domain.com

 

2.     Preview Future Meetings (Optional but Recommended)

 

Remove-CalendarEvents -Identity user@xyz.com 

  -CancelOrganizedMeetings `

  -QueryWindowInDays 120 `

  -PreviewOnly

 

To preview which meetings will be canceled (without actually canceling them):

-Identity: The mailbox of the user.

-CancelOrganizedMeetings: Targets meetings organized by the user.

-QueryWindowInDays: Looks ahead 120 days from today.

-PreviewOnly: Shows what would be canceled without making changes.

 

3.     Cancel Future Meetings

 

Run the command without -PreviewOnly to cancel the meetings:

 

Remove-CalendarEvents -Identity user@xyz.com `

  -CancelOrganizedMeetings `

  -QueryWindowInDays 120

 


4.     Alternatively, you can also use a specific start date to preview and cancel meetings organized by a user.

 

Remove-CalendarEvents -Identity "user@xyz.com" -CancelOrganizedMeetings -QueryStartDate 01-01-2022 -QueryWindowInDays 900 -PreviewOnly

 

·       This cmdlet only affects meetings organized by the user, not meetings he was invited to.

·       Attendees will receive cancellation notices.

·       You must have the appropriate permissions (e.g., Organization Management role).

No comments: