Forum Discussion
Philipp_Lutz
Dec 21, 2023Copper Contributor
Delete a specific calendar event
Hi, i want to delete a specific calendar event using PowerShell. Since the "Search-Mailbox" Cmdlet is outdated and the "Remove-Calendar" Cmdlet is only showing or deleting events in a period of tim...
Philipp_Lutz
Dec 22, 2023Copper Contributor
VasilMichev, i can't find the Search-Mailbox cmdlet in the Exchange-Online Module. I installed the latest version of that module but it still couldn't find it. What i can find is the "Search-MailboxAuditLog" cmdlet, is this the correct one? I can find the "Test123" Event. Now how can i delete that?
VasilMichev
Dec 22, 2023MVP
Make sure you have the required permissions, Search-Mailbox is only available to users with the following roles assigned:
Mailbox Import Export
Mailbox Search
Mailbox Import Export
Mailbox Search
- Philipp_LutzJan 04, 2024Copper Contributor
Thanks for the response.
I managed to get the Cmdlet working and deleted the specific event.
Unfortunately it is as you've said, this command just deletes the entry in the target-mailbox and not canceling it for the attendees.
Is it somehow possible to cancel a specific event?
- VasilMichevJan 04, 2024MVP
Nope, only the organizer can do that.