How to View SharePoint Online Audit Logs: Beginner’s Guide (2024)

Last Updated on December 14, 2023

Want to check out the audit logs?

In this guide, you will learn how to view the audit logs in SharePoint, how to run search queries yourself, and how to export them.

Let’s get started.

Table of Contents:

  • What are audit logs in SharePoint?
    • What types of events are logged?
  • How to Enable Audit Log Tracking
    • Step 1: Navigate to Microsoft Purview
    • Step 2: Get to the audit section
    • Step 3: Start recording activity
  • How to Run Audit Log Search Queries
    • Configure the search parameters
    • Run the search
  • How to View SharePoint Online Audit Logs
    • Exporting the audit logs
  • The Importance of Monitoring User Activity

SharePoint audit logs record various activities and events that occur within a SharePoint online environment.

They are integral in SharePoint’s framework and serve as a critical tool for administrators and compliance officers.

What types of events are logged?

These logs are essential for several reasons, including security monitoring, compliance assurance, and troubleshooting.

Here are the types of events that are typically logged:

EventDefinitionExamples
User activitiesActions performed by users, such as viewing, editing, downloading, and deleting documents. It also tracks login attempts and changes made to site collections, libraries, and lists.User downloads a document, User edits a list item, Failed login attempt, Change made to site settings
Administrative actionsActivities performed by SharePoint administrators, including changes to site settings, permission modifications, and policy updates.Administrator updates site permissions, Changes made to site settings, Policy updates
System eventsAutomated processes or actions initiated by the SharePoint system itself, such as workflows, automated scripts, and other system-level operations.Workflow execution, Automated script runs, System-level operations
External user activitiesActivities performed by external users when external sharing is enabled. This is crucial for monitoring access and activities by non-organizational users.External user accesses a shared document, External user edits a shared list item
Search queriesLogging of search queries made by users, valuable for understanding what information users are most frequently seeking.User searches for “project report”, User searches for “customer information”

Each logged event in the audit trail includes details such as:

  • The date and time of the event
    The user who performed the action
  • The IP address from which the action was initiated
  • The specific item that was affected

How to Enable Audit Log Tracking

Enabling audit log tracking in SharePoint Online is a straightforward process, but it requires administrative privileges.

But first off, audit log tracking is now on by default for Microsoft 365 organizations — and you can verify this easily.

You can use the following command to verify the feature’s activation:

Get-AdminAuditLogConfig | Format-List UnifiedAuditLogIngestionEnabled

In case it was disabled, here’s what to do:

Step 1: Navigate to Microsoft Purview

Get to the Microsoft 365 admin center with an account with admin privileges.

From there:

  • Expand the list of admin centers
  • Click on the compliance option
How to View SharePoint Online Audit Logs: Beginner’s Guide (1)

Step 2: Get to the audit section

Now that you’re in the Purview app, click the audit solution from the sidebar panel:

How to View SharePoint Online Audit Logs: Beginner’s Guide (2)

Step 3: Start recording activity

If audit log tracking isn’t enabled yet, you will see the following screen:

How to View SharePoint Online Audit Logs: Beginner’s Guide (3)

If that’s the case, you must click the start recording user and admin activity button to enable the audit log tracking feature.

After that, this is how the page will look like once the audit log tracking feature is activated:

How to View SharePoint Online Audit Logs: Beginner’s Guide (4)

It’s also what you will see if the feature is enabled the first time you visit this page.

By the way, you can also use PowerShell to enable the auditing feature:

Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $true

If you use that, you will then receive a notification that it may take up to 60 minutes for the system to enable the feature.

How to Run Audit Log Search Queries

If you want to use the audit logs effectively, you need to know more than simply how to view them…

You must learn how to run targeted search queries in order to extract meaningful information.

Here’s how to configure and execute audit log searches:

Configure the search parameters

In SharePoint Online audit log searches, the precise search parameter configuration is important for efficient data filtering and retrieval.

Here’s what each search parameter is for and how to use them:

How to View SharePoint Online Audit Logs: Beginner’s Guide (5)
ParameterDefinitionUsage
Start Date and End DateDefault selection is the last seven days. Can customize up to a 180-day range.Useful for focusing on specific time periods for auditing, especially important after recent enablement of auditing.
Keyword SearchEnter keywords or phrases for filtering within the audit common schema.Ideal for targeting specific terms or phrases, using asterisks (*) for special characters.
Admin UnitsSelect from a drop-down list of administrative units within your organization.Allows scoping of the search to specific organizational units. Can select multiple or all units.
Activities – Friendly NamesChoose audited activities based on their user-friendly names, organized into related groups.Enables selection of specific activities or groups for more focused search results.
Activities – Operations NamesEnter exact operation names for a granular search.Best for advanced users, requires precise naming for accurate results. Mirrors PowerShell search flexibility.
Record TypesChoose from a list of record types associated with Microsoft services.Useful for narrowing searches to specific types of records, like those related to Microsoft Purview Information Protection.
Search NameAssign a custom name to your search job.Aids in identifying and managing search jobs, especially when multiple searches are conducted.
UsersSpecify one or more users for the search.Focuses search results on activities performed by selected users. Can include all users if left blank.
File, Folder, or SiteInput keywords or URLs for specific files, folders, or sites.Helps in targeting search for activities related to specific files or sites, using wildcard character (*) as needed.
WorkloadIdentifies the Microsoft 365 service where the activity occurred.Useful for narrowing down search to activities in specific services like Azure AD, Dynamics 365, etc.

Run the search

After configuring your search parameters, initiate the search.

The system will process the request and display the results based on your criteria.

Click on the search button to get started:

How to View SharePoint Online Audit Logs: Beginner’s Guide (6)

If your initial search does not yield the expected results or is too broad, adjust the parameters and run the search again.

This iterative process helps in fine-tuning your search to get the most relevant information.

After running searches, you will then see the results in the dashboard below the parameters.

Here’s what you will see:

How to View SharePoint Online Audit Logs: Beginner’s Guide (7)

To view a search result, all you need to do is click on the row of that search result.

That will then bring you to another page that looks like this:

How to View SharePoint Online Audit Logs: Beginner’s Guide (8)

You can click on an item to see more details on that activity.

Exporting the audit logs

You can then export the audit log reports easily.

Click on the export button and a window will appear telling you that the export has started:

How to View SharePoint Online Audit Logs: Beginner’s Guide (9)

After the export is complete, you will see a green call-out where you can download the file.

Click on the link provided to download the file.

Here’s a sample of an exported audit log opened in Microsoft Excel:

How to View SharePoint Online Audit Logs: Beginner’s Guide (10)

The Importance of Monitoring User Activity

Effectively viewing, analyzing, and exporting SharePoint Online audit logs is essential for safeguarding your SharePoint environment.

These skills enable administrators to detect and understand user activities and potential security threats.

Have more questions about audit logs? Feel free to drop your queries in the comments section.

For business-related assistance, don’t hesitate to reach out through the contact page. I’ll reply as soon as possible.

How to View SharePoint Online Audit Logs: Beginner’s Guide (2024)
Top Articles
How much is Malu Trevejo Net Worth in2022?
Oak Leaves Osrs
Warren Ohio Craigslist
Www.craigslist Virginia
Live Basketball Scores Flashscore
Miles City Montana Craigslist
Skip The Games Norfolk Virginia
Mylife Cvs Login
Over70Dating Login
Fire Rescue 1 Login
Detroit Lions 50 50
Audrey Boustani Age
Notisabelrenu
10 Free Employee Handbook Templates in Word & ClickUp
Magicseaweed Capitola
Nene25 Sports
Houses and Apartments For Rent in Maastricht
Spectrum Field Tech Salary
CANNABIS ONLINE DISPENSARY Promo Code — $100 Off 2024
Sadie Proposal Ideas
Race Karts For Sale Near Me
ABCproxy | World-Leading Provider of Residential IP Proxies
Noaa Duluth Mn
Mybiglots Net Associates
What Are The Symptoms Of A Bad Solenoid Pack E4od?
Tokyo Spa Memphis Reviews
Marilyn Seipt Obituary
Danielle Moodie-Mills Net Worth
Riverstock Apartments Photos
San Jac Email Log In
Pioneer Library Overdrive
Emuaid Max First Aid Ointment 2 Ounce Fake Review Analysis
Martins Point Patient Portal
Ridge Culver Wegmans Pharmacy
First Light Tomorrow Morning
Ippa 番号
What Are Digital Kitchens & How Can They Work for Foodservice
Asian Grocery Williamsburg Va
2008 Chevrolet Corvette for sale - Houston, TX - craigslist
19 Best Seafood Restaurants in San Antonio - The Texas Tasty
Wait List Texas Roadhouse
Infinite Campus Farmingdale
Craigslist Boats Dallas
COVID-19/Coronavirus Assistance Programs | FindHelp.org
Powerspec G512
Craigslist/Nashville
Comanche Or Crow Crossword Clue
Myra's Floral Princeton Wv
Christie Ileto Wedding
Bones And All Showtimes Near Emagine Canton
Kobe Express Bayside Lakes Photos
How to Find Mugshots: 11 Steps (with Pictures) - wikiHow
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 6244

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.