Home

Remove-Calendarevents

%3CLINGO-SUB%20id%3D%22lingo-sub-124918%22%20slang%3D%22en-US%22%3ERemove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-124918%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20it%20need%20permission%20on%20Termed%20employees%20calendar%3F%20i%20am%20Global%20Admin%20and%20when%20i%20run%20this%20command%20with%20preview%20it%20does%20not%20preview%20any%20results%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERemove-CalendarEvents%20-Identity%20james.bond%40domain.com%20-CancelOrganizedMeetings%20-QueryStartDate%2011-7-2016%20-QueryWindowInDays%20120%20-PreviewOnly%20-Verbose%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-124918%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-133077%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-133077%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everybody%2C%20we%20have%20fixed%20the%20issue%20and%20it's%20rolling%20out%20now.%26nbsp%3BYou%20can%20test%20again%20after%20the%20holiday%20vacations%20when%20the%26nbsp%3Bbuild%20should%20be%20deployed%20to%20almost%20all%20servers.%20(cannot%20guarantee%20though%20%3A-))%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-128388%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-128388%22%20slang%3D%22en-US%22%3EHi%20everybody%2C%20%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20think%20we%20know%20what%20the%20issue%20is%2C%20and%20we're%20investigating%20a%20fix.%20%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20issue%20is%20if%20the%20cmdlet%20is%20proxied%20across%20servers%2C%20we're%20losing%20some%20of%20the%20extra%20information.%20(I%20had%20only%20tested%20as%20an%20admin%20running%20cmdlet%20against%20my%20own%20mailbox%20and%20so%20wasn't%20seeing%20the%20repro.)%20%3CBR%20%2F%3E%3CBR%20%2F%3EI'll%20update%20again%20when%20we%20have%20more%20news%2C%20but%20just%20reminder%20we're%20about%20to%20go%20on%20Thanksgiving%20holiday%20so%20it%20might%20be%20a%20bit%20longer.%20Thanks%20for%20your%20patience%20%3A-).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-126483%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126483%22%20slang%3D%22en-US%22%3EGot%20it%20--%20we'll%20investigate%20what's%20happening.%20Another%20person%20reported%20same%20issue%20this%20week.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-125395%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125395%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F25112%22%20target%3D%22_blank%22%3E%40Julia%20Foran%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3Bthe%20preview%20still%20does%20not%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETermed%20mailbox%20is%20in%20cloud-only%20state%20and%20very%20well%20receive%26nbsp%3Bemails.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20command%20works%20fine%20without%20preview.But%20we%20also%20need%20to%20preview%20the%20meeting%20events%20before%20whacking%20it%20off.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-125136%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125136%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20it%20was%20fixed.%20I%20tested%20a%20few%20weeks%20ago%2C%20and%20I%20was%20able%20to%20see%20Preview%20results.%20But%20recently%20someone%20said%20they%20could%20not%2C%20but%20I'm%20waiting%20to%20hear%20if%20they%20just%20were%20using%20the%20wrong%20syntax.%20If%20anybody%20else%20I%20having%20issues%20with%20Preview%2C%20I%20would%20love%20to%20know%20about%20it%20so%20we%20can%20investigate.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-125133%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125133%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20was%20fast%2C%20thank%20Julia.%20What%20about%20that%20issue%20with%20the%20Preview%20functionality%2C%20I%20know%20few%20of%20the%20MVPs%20reported%20it.%20Is%20it%20supposed%20to%20be%20working%20now%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-125127%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125127%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20order%20to%20send%20the%20cancellations%2C%20the%20mailbox%20must%20be%20able%20to%20send%20mail.%20So%20if%20the%20mailbox%20has%20been%20permanently%20deleted%2C%26nbsp%3Bthen%20it%20would%20not%20be%20able%20to%20send%20the%20cancellations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%26nbsp%3Brecommendation%20is%20to%20insert%20this%20cmdlet%20into%26nbsp%3Bany%20scripts%20you%20run%20before%20permanently%20deleting%20mailboxes%20or%20disabling%20mailflow.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-125114%22%20slang%3D%22en-US%22%3ERe%3A%20Remove-Calendarevents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125114%22%20slang%3D%22en-US%22%3E%3CP%3EDefine%20terminated%3F%20The%20mailbox%20should%20still%20exist.%20Also%2C%20there%20was%20some%20issue%20with%20the%20Preview%20functionality%2C%20not%20sure%20whether%20it%20has%20been%20fixed.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F25112%22%20target%3D%22_blank%22%3E%40Julia%20Foran%3C%2FA%3E%26nbsp%3Bshould%20be%20able%20to%20confirm%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

@Vasil Michev and @Tony Redmond

 

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 :)

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.

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?

Yes, it was fixed. I tested a few weeks ago, and I was able to see Preview results. But recently someone said they could not, but I'm waiting to hear if they just were using the wrong syntax. If anybody else I having issues with Preview, I would love to know about it so we can investigate.

@Julia Foran and @Vasil Michev the preview still does not work.

 

Termed mailbox is in cloud-only state and very well receive emails. 

 

The command works fine without preview.But we also need to preview the meeting events before whacking it off.

Got it -- we'll investigate what's happening. Another person reported same issue this week.
Hi everybody,

We think we know what the issue is, and we're investigating a fix.

The issue is if the cmdlet is proxied across servers, we're losing some of the extra information. (I had only tested as an admin running cmdlet against my own mailbox and so wasn't seeing the repro.)

I'll update again when we have more news, but just reminder we're about to go on Thanksgiving holiday so it might be a bit longer. Thanks for your patience :-).

Hi everybody, we have fixed the issue and it's rolling out now. You can test again after the holiday vacations when the build should be deployed to almost all servers. (cannot guarantee though :-))

Related Conversations