How to Configure SharePoint Online Auditing
As organizations begin to move copious amounts of content to SharePoint Online, they need to ensure that regulations and security policies are closely adhered to. Why? In many ways, violating a policy can determine the fate of court cases, and failing to uphold organization-wide auditing can result in serious penalties.
To begin, let’s imagine that a security policy mandates an organization to record when sensitive documents are accessed and by whom. Though these scenarios occur on a regular basis, organizations should increase their awareness and visibility when an employee leaves or accesses an unusual amount of information.
In this blog, we’ll explain how to configure SharePoint Online auditing to meet the demands of regulations and security policies, including how to activate and view SharePoint Online audit log reports.
Introducing SharePoint Online Auditing
SharePoint Online features a robust auditing system with which admins can track user activity on an organizational level and filter searches to specific properties. Once the auditing features have been activated, Office 365 logs every action that users and admins take, such as creating and deleting a document or removing a complete Site Collection.
This allows the Office 365 administrator, or the compliance admin, to search through the logs and apply filters to identify exactly what they are looking for. For example, if an organization harbors suspicion surrounding a user’s activity in distributing confidential data, admins can access the audit logs to determine all of the content that the user has accessed. In this way, admins can ensure compliance by keeping a close eye on sensitive documents and monitoring suspicious user behavior.
So, where do you start?
Step 1: Activate SharePoint Online Auditing
To activate SharePoint Online auditing, the first thing you need to do is access the Security and Compliance Center from Office 365 (or the app launcher) and click on Security and Compliance.
After navigating to the Office 365 Security and Compliance Center, you will have to go to the Audit Log Search menu in the side navigation menu.
If you’re a Office 365 Global admin and it’s your first time viewing this page, it is likely that SharePoint Online auditing has not yet been activated. If this is the case, a message will appear prompting you to Start Recording User and Admin Activities, as seen below.
Once this feature is activated, you can begin auditing the content and users within the organization. However, as with most Office 365 admin changes, this process may take up to 24 hours for results to appear when conducting a search. That being said, make sure to bookmark this blog post so you can reference it when beginning your audit search!
Now that we’ve activated SharePoint Online auditing, let’s move onto how you can search through the audit log.
Step 2: View SharePoint Online Audit Log Reports
To search through the audit log on SharePoint Online, you can filter a number of different activities from the Activities dropdown menu. Here, you can search for permissions, mailbox activities, file deletions, and even user activity in Microsoft Teams and Power BI.
You can also filter for dates, internal or external users, and folders or sites.
It’s important to note that results may take up to 24 hours after activation to display in the Audit Search results. However, once the results are available, the Office 365 Audit Log Search will continue to display them for 90 days.
Step 3: Develop a Custom Script
Many organizations, especially those in the Public Sector, require access to audit logs for an indefinite period of time. In the event that your organization will require audit logs beyond the provided 90-day limit, you can develop a custom script that will automatically pull data from the Office 365 audit log and save it into a unified logging system.
If you need to share the results with a third-party user or with someone who lacks access to the Security and Compliance Center, you can also use the Export Results function to save the results into a spreadsheet.
With security becoming a top concern for organizations around the world, configuring SharePoint Online auditing can give admins unrestricted access to user activity and content across the organization. However, given that the Audit Log Search will only display results from when it was first activated, it is highly encouraged for admins to activate SharePoint Online auditing as soon as possible.
Ultimately, the information that SharePoint Online auditing can provide is invaluable, as it yields a history of user activity that can be crucial when adhering to regulations and security policies. Additionally, as organizations begin to move more content into the cloud, configuring SharePoint Online auditing can prove to be a very resourceful tool for years to come.
Looking for Security Beyond SharePoint Online Auditing?
Metalogix can help your organization report on the users, licenses, and content in your Office 365 environment. If you’re looking for a tool that comprehensively addresses all of your security measures, including risk, user permissions, and external access, try Essentials for Office 365 for free today!
Vlad is a SharePoint and Office 365 Consultant specializing in SharePoint and SharePoint Online deployments as well as hybrid scenarios. As a Pluralsight Author, Microsoft Certified Trainer and recognized international speaker, Vlad has helped thousands of users and IT Pros across the globe to better understand and to get the most out of SharePoint. Vlad is also a Microsoft Most Valuable Professional (MVP) in SharePoint since 2013 and has his own blog at www.absolute-sharepoint.com and he often shares his knowledge by speaking at local conferences and community events. Vlad also blogs at CMSWire as well as Computerworld and is often featured in other Microsoft sites such as Redmond Channel Partner.