Calendar invite

Glenn Maxwell 11,496 Reputation points
2024-05-19T12:21:50.33+00:00

Hi All

i have a recurring meeting invite to be deleted on few users calendar. Lets say the Meeting invite subject is Test1. User sent two meeting invites with the subject Test1 and the requirement is only to delete one recurring meeting invite.

If i use the below syntax it will delete both the meeting invites. is it possible from the backend i can get the message ids and delete the exact recurring meeting invite or is there any other way. Please guide me.

$mailboxes = Import-Csv C:\list.csv
foreach($mailbox in $mailboxes){
Search-Mailbox -Identity $mailbox.Name -SearchQuery "kind:meetings AND Subject:'Test1' From:user1@contoso.com" -DeleteContent -Force
Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,333 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,565 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,662 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,130 questions
{count} votes

Accepted answer
  1. Bruce Jing-MSFT 5,640 Reputation points Microsoft Vendor
    2024-05-20T09:51:49.7066667+00:00

    Hi,

    Thanks for posting your question in the Microsoft Q&A forum.

    According to your description, your question is trying to get the Meeting ID. I tested it according to the official Microsoft documentation.

    1.I ran Get-CalendarDiagnosticLog -Identity "bruce jing" | Select-Object NormalizedSubject,CleanGlobalObjectId, Identity to get each session's GUID for each meeting. If two meeting have the same name, there are no more conditions to make the distinction.A screen shot of a computerDescription automatically generated

    2.I didn't find a corresponding cmdlet, but I did find a script that makes the distinction.

    You can refer to this URL: Advanced troubleshooting calendar items | The clueless guy (wordpress.com)

    User's image

    Please note that the URL provided above is a three-way link. The content and updates of the information on this page are not under the control of Microsoft and are provided for immediate reference only. Microsoft is not responsible, directly or indirectly, for any errors, inaccuracies or mistakes in the information it provides. Please understand that. Please ensure that you adopt it with a full understanding of its risks.

     


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.