question

GlennMaxwell-2309 avatar image
0 Votes"
GlennMaxwell-2309 asked joyceshen-MSFT commented

Delete meeting invite

Hi all

I want to delete recurring meeting requests for one user mailbox.
For example mailbox is user1@contoso.com and Meeting Subject is TEST and the meeting owner is user1 itself. How do i delete it as search mailbox is depreciated. Experts guide me

office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-mailflow
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Any update about your question? Do suggestions below help?

0 Votes 0 ·

If the response is helpful, please click "Accept Answer" and upvote it.

0 Votes 0 ·
joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered

Have you tried delegating admin or other user permission to manage user1's calendar then cancel it?

 Add-MailboxFolderpermission -Identity user1@contoso.com:\Calendar -User admin@contoso.com -AccessRights PublishingEditor

In addition your script above about -ExchangeLocation and -ContentMatchQuery '(Subject:"TEST") AND (To:"user1@contoso.com") '

The ExchangeLocation parameter specifies the mailboxes to include. Valid values are:

A regular user mailbox. Including other types of mailboxes (for example, inactive mailboxes or Microsoft 365 guest users) is controlled by the AllowNotFoundExchangeLocationsEnabled parameter.

A distribution group or mail-enabled security group (all mailboxes that are currently members of the group).

The value All for all mailboxes. You can only use this value by itself.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GlennMaxwell-2309 avatar image
0 Votes"
GlennMaxwell-2309 answered joyceshen-MSFT commented

How do i delete the meeting requests, i want to try the below syntax but not sure

$Search=New-ComplianceSearch -Name "DeleteMeeting" -ExchangeLocation "searchlocation" -ContentMatchQuery AND (Subject:"TEST") AND (To:"user1@contoso.com")'

Start-ComplianceSearch -Identity $Search.Identity

New-ComplianceSearchAction -SearchName "DeleteMeeting" -Purge -PurgeType SoftDelete

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Any update so far? Have your tried the suggestions provided previously?

0 Votes 0 ·

Please remember to accept the helpful reply as answer if it helps, this will help other people encounter the same issue, thanks for your understanding!

0 Votes 0 ·
michev avatar image
0 Votes"
michev answered

Deleting meeting requests is not a good idea, it's best to Cancel them instead. But you can only do that via EWS, and the user account must still exist.

In any case, if you want to just delete items, follow the procedure here: https://docs.microsoft.com/en-us/microsoft-365/compliance/search-for-and-delete-messages-in-your-organization?view=o365-worldwide

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.