
Allows you to audit the group permission changes based on the workload, such as SharePoint and OneDrive. Allows you to generate an SPO group membership audit report for a custom period. Helps to identify newly added and removed guest accounts separately. The script can be executed with an MFA-enabled account too. The script uses modern authentication to connect to Exchange Online. Script Download: AuditSPOGroupMembershipChanges.ps1 To simplify your work, we have created a PowerShell script that will export the group membership changes report in a user-friendly manner. But the result will be shown in the JSON format, which you need to parse further to get the required data. PowerShell: You can use the ‘Search-UnifiedAuditLog ’ cmdlet to monitor group membership changes. You can also export the report, but the report will not be in a user-friendly manner, and you can’t identify the group name and member at a glance. It will list all the new members added to groups and existing members removed from groups.
Microsoft Purview: In the Audit search, select ‘Added user or group to SharePoint group’ and ‘Removed user or group from SharePoint group’ activities under the ‘SharePoint Permission Changes’ category. To track SharePoint group permission changes, you can use either Audit search in the Microsoft Purview portal or PowerShell.
#Sharepoint audit how to#
How to Detect Group Membership Changes in SharePoint Online?
So, auditing the SharePoint Online group membership changes is vital to identify sensitive information leakage and mitigate security risks. The addition and removal of group members are a major concern for SharePoint permission changes.