Forum Discussion
Anonymous
Mar 14, 2018Cancel / Remove Calendar items for account that no longer exists
Hi,
We have a user that started with us a couple of months ago, and when her account was first created our outsourced IT partners set her email up using the @onmicrosoft email address instead of ...
VasilMichev
Mar 14, 2018MVP
Remove-CalendarEvents will only work if the user object still exists. You can use Search-mailbox to target all items created by that account, however using this method you can only delete them, not cancel the actual meetings. Some EWS-based script can also be used with the same effect. For proper cancellation however, you need to either be the organizer, or be able to impersonate the organizer.