Back in the days of Exchange Server 2010, Microsoft Exchange Server team introduced a great feature to help manage calendars.
The tool, Exchange Calendar Repair assistant helps repair deleted, and missing calendar invites automatically.
In most cases the tool is working well and does the job however in some cases it revives deleted invites.
In my case, the tool also exists in Exchange Online keeps bringing back deleted calendar meeting with people no longer in the organisation.
To stop CRA from recreating meeting invites, I am going to disable it using Exchange Online PowerShell.
The process here will be, connecting to Exchange Online and disabling CRA for my mailbox.
Connect to Exchange Online
To connect to Exchange Online, I am using the following script.
$msolcred = get-credential -Credential
$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $msolcred -Authentication "Basic" -AllowRedirection
Once connected, I will run the command below against my mailbox.
Set-Mailbox useremailaddress -CalendarRepairDisabled $true
After you run the command, it will take Exchange Online 24 hours to stop repairing calendar invites.