How to check when the user got access to shared mailbox

Mani 446 Reputation points
2023-05-26T10:16:07.7966667+00:00

Hello all,

Is there a way to check when the user got access to shared mail box using powershell or EAC?

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,173 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2023-05-26T16:24:29.0666667+00:00

    Sure, you can run a search against the audit log: https://learn.microsoft.com/en-us/microsoft-365/compliance/audit-log-search?view=o365-worldwide

    Here's the corresponding PowerShell cmdlet:

    Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-30) -EndDate (Get-Date) -Operations Add-MailboxPermission

    Alternatively, you can also query the Exchange admin audit log:

    Search-AdminAuditLog -Cmdlets Add-MailboxPermission

    Make sure to narrow down the search by leveraging the date and objectId parameters.


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.