How to Detect Who Was Accessing A Shared Mailbox in Office 365 (2024)

In this blog post, I’ll show you how to enable auditing on an Exchange Online shared mailbox and how to see who has accessed it.

Shared mailboxes are useful resources but are not audited by default. To enable auditing, you need to use PowerShell. The first step is to authenticate to your Exchange Online tenant using an account that has permission to change audit settings, like an Office 365 Global Administrator account.

Audit Shared Mailbox Access Using PowerShell

Step 1. Connect to Exchange Online

The code below gets the user credential and then creates a session using Import-PSSession. If you want to use multifactor authentication to connect to Exchange Online, you’ll need to use the Exchange Online Remote PowerShell Module, which can be downloaded from the Exchange Admin Center.

Set-ExecutionPolicy RemoteSigned$UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirectionImport-PSSession $Session

Step 2. Enable Auditing

Once you’ve connected to Exchange Online, use the Set-Mailbox cmdlet to enable auditing on a mailbox. The command below enables auditing on a mailbox called SharedMail.

Set-Mailbox –Identity SharedMail -AuditEnabled $True

Alternatively, you can enable auditing on all mailboxes using Get-Mailbox and Set-Mailbox together:

$Mailboxes = Get-Mailbox -Filter {(RecipientTypeDetails -eq 'UserMailbox')} $Mailboxes | ForEach {Set-Mailbox $_.Identity -AuditEnabled $True}

You can verify that you enabled auditing on the selected mailboxes by using the Get-Mailbox cmdlet:

Get-Mailbox | Format-List Name,AuditEnabled

Once you’ve finished running PowerShell commands, use Remote-PSSession to disconnect from Exchange Online.

Remove-PSSession $Session

Step 3. Run a Mailbox Access Report in the Exchange Admin Center

Now that auditing is enabled, you can run a report in the Exchange Admin Center to list who is accessing audited mailboxes.

  • Log in to the Exchange Admin Center (EAC) here.
  • On the left of EAC, click compliance management.
  • Click auditing.
    How to Detect Who Was Accessing A Shared Mailbox in Office 365 (1)
  • Click Run a non-owner mailbox access report.
  • Set the search criteria in the ‘search for mailboxes accessed by non-owners’ dialog window, like start and end date.
  • Click search to run the report.

Audit Shared Mailbox Access with Lepide Office 365 Auditor

If you need an easier way to detect shared mailbox access in Exchange Online or audit Office 365 in general, come and take a look at Lepide Office 365 Auditor. It will help to overcome the limitations of the above native method by automating much of the process and allowing you to continuously audit and monitor changes. Lepide Auditor can track mailbox access by owners and non-owners and shared mailbox access

How to Detect Who Was Accessing A Shared Mailbox in Office 365 (2)

How to Detect Who Was Accessing A Shared Mailbox in Office 365 (2024)
Top Articles
Six Early Literacy Skills | Anaheim, CA
How to Write an Independent Contractor Termination Letter (With Sample Templates) | Practice
Omega Pizza-Roast Beef -Seafood Middleton Menu
Angela Babicz Leak
Uihc Family Medicine
Kraziithegreat
Culver's Flavor Of The Day Wilson Nc
DENVER Überwachungskamera IOC-221, IP, WLAN, außen | 580950
Hertz Car Rental Partnership | Uber
10000 Divided By 5
Cvs Devoted Catalog
Red Heeler Dog Breed Info, Pictures, Facts, Puppy Price & FAQs
Tokioof
Https //Advanceautoparts.4Myrebate.com
Hmr Properties
Theycallmemissblue
Sand Castle Parents Guide
Bowie Tx Craigslist
Dit is hoe de 130 nieuwe dubbele -deckers -treinen voor het land eruit zien
Patrick Bateman Notebook
Hollywood Bowl Section H
TBM 910 | Turboprop Aircraft - DAHER TBM 960, TBM 910
Axe Throwing Milford Nh
Www Craigslist Com Bakersfield
Menards Eau Claire Weekly Ad
Heart Ring Worth Aj
zom 100 mangadex - WebNovel
Noaa Duluth Mn
Gazette Obituary Colorado Springs
University Of Michigan Paging System
Cognitive Science Cornell
Bleacher Report Philadelphia Flyers
Walgreens On Bingle And Long Point
Bolly2Tolly Maari 2
Airg Com Chat
Kagtwt
The Pretty Kitty Tanglewood
Darrell Waltrip Off Road Center
Metro 72 Hour Extension 2022
Western Gold Gateway
Grapes And Hops Festival Jamestown Ny
Page 5662 – Christianity Today
Tokyo Spa Memphis Reviews
Stanford Medicine scientists pinpoint COVID-19 virus’s entry and exit ports inside our noses
Has any non-Muslim here who read the Quran and unironically ENJOYED it?
Az Unblocked Games: Complete with ease | airSlate SignNow
Craigslist Sarasota Free Stuff
Santa Ana Immigration Court Webex
Ingersoll Greenwood Funeral Home Obituaries
2121 Gateway Point
Craigslist Charlestown Indiana
Acellus Grading Scale
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 6342

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.