Forum Discussion

Deleted's avatar
Deleted
Nov 07, 2017

Remove-Calendarevents

VasilMichev and TonyRedmond

 

Does it need permission on Termed employees calendar? i am Global Admin and when i run this command with preview it does not preview any results

 

Remove-CalendarEvents -Identity james.bond@domain.com -CancelOrganizedMeetings -QueryStartDate 11-7-2016 -QueryWindowInDays 120 -PreviewOnly -Verbose

8 Replies

  • Define terminated? The mailbox should still exist. Also, there was some issue with the Preview functionality, not sure whether it has been fixed. Julia Foran should be able to confirm :)

    • Julia Foran's avatar
      Julia Foran
      Icon for Microsoft rankMicrosoft

      In order to send the cancellations, the mailbox must be able to send mail. So if the mailbox has been permanently deleted, then it would not be able to send the cancellations.

       

      The recommendation is to insert this cmdlet into any scripts you run before permanently deleting mailboxes or disabling mailflow.

      • VasilMichev's avatar
        VasilMichev
        MVP

        That was fast, thank Julia. What about that issue with the Preview functionality, I know few of the MVPs reported it. Is it supposed to be working now?