Who Deleted an Appointment from a Shared Calendar

Vinh Nguyen 21 Reputation points
2022-08-04T19:10:13.527+00:00

M365 environment, an admin assistant wants to know who and when an appointment from a shared calendar was deleted. The appointment is currently sitting in the recoverable deleted items folder of the mailbox (username is Calendar) hosting the calendar. We have Mailbox Auditing turned on. I was able to locate all of the delete actions using this PowerShell command which text searches for a shared calendar named COVERAGE:
Search-UnifiedAuditLog -ResultSize 5000 -StartDate "8/3/2022 00:00:00 AM" -EndDate "8/4/2022 00:00:00 PM" -Operations "HardDelete", "SoftDelete" -FreeText "\Calendar\Coverage"
There are two line items (rows) returned. One for a hard delete operation and the other a soft delete operation each with a different user ID associated. The results returned two unique identifiers for the appointment (AffectedItems and InternetMessageId).
AffectedItems:[{"Id":"RgAAAABhXYRdkXK4R6kuzEaMKL3bBwCiBA5RXWHLTaVY/RUqYr7TAAAAAcp6AADamOiVu/RvTLKprLfR7p44AACWLbGBAAAA"
InternetMessageId:"<SA2PR11MB49711ED559CDCF55866EF0BCD5B49@SA2PR11MB4971.namprd11.prod.outlook.com>"
If I use the appointment subject from the Search-UnifiedAuditLog results, I can run...
Search-Mailbox -Identity "CalendarUPN" -SearchQuery "Subject:SUBJECT TEXT" -TargetMailbox "MyUPN" -TargetFolder "Research" -LogLevel Full
...but the results returned are inaccurate in that the Item DocumentId does not match the AffectedItems value (or any other value) and simply shows who and when create the appointment.
I just want to know who last modified this appointment located in the recoverable deleted items folder. Is it possible?
Gratefully, Vinh.

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,350 questions
{count} votes

Accepted answer
  1. Aholic Liang-MSFT 13,741 Reputation points Microsoft Vendor
    2022-08-08T09:58:28.48+00:00

    Hi @Vinh Nguyen ,

    This was a much faster way to find what I was looking for .

    Great to know that you've already thought of a solution and really appreciate it for your sharing!
    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:
    [Who Deleted an Appointment from a Shared Calendar]
    Issue Symptom:

    M365 environment, an admin assistant wants to know who and when an appointment from a shared calendar was deleted. The appointment is currently sitting in the recoverable deleted items folder of the mailbox (username is Calendar) hosting the calendar. We have Mailbox Auditing turned on.
    I just want to know who last modified this appointment located in the recoverable deleted items folder. Is it possible?

    The Solution:
    This was a much faster way to find what I was looking for (who\what\when deleted an appointment from the shared calendar named Coverage)

    PS C:\> Search-MailboxAuditLog -ShowDetails -StartDate 8/3/2022 -EndDate 8/4/2022 | Where-Object {($.Operation -like "*Delete") -and ($.FolderPathName -like "*Calendar\Coverage")} |Select-Object LogonUserDisplayName, Operation, FolderPathName, SourceItemSubjectsList, LastAccessed  
      
      
    LogonUserDisplayName : User's Display Name  
    Operation : SoftDelete  
    FolderPathName : \Calendar\Coverage  
    SourceItemSubjectsList : Appointment Subject  
    LastAccessed : 8/3/2022 8:55:18 AM  
    

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks!

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Vinh Nguyen 21 Reputation points
    2022-08-05T12:11:23.187+00:00

    Thanks for the advice, Aholic. This was a much faster way to find what I was looking for (who\what\when deleted an appointment from the shared calendar named Coverage)

    PS C:\> Search-MailboxAuditLog -ShowDetails -StartDate 8/3/2022 -EndDate 8/4/2022 | Where-Object {($.Operation -like "*Delete") -and ($.FolderPathName -like "*Calendar\Coverage")} |Select-Object LogonUserDisplayName, Operation, FolderPathName, SourceItemSubjectsList, LastAccessed

    LogonUserDisplayName : User's Display Name
    Operation : SoftDelete
    FolderPathName : \Calendar\Coverage
    SourceItemSubjectsList : Appointment Subject
    LastAccessed : 8/3/2022 8:55:18 AM

    Gratefully,

    Vinh

    0 comments No comments