Microsoft 365 Message Center announcement MC1577145.
What and Why
We are expanding access denied reporting in SharePoint Advanced Management/Copilot tenants beyond Restricted Access Control (RAC). The enhanced Actions Blocked by Policy report helps administrators identify SharePoint and OneDrive access denials, the affected sites and users, and the policy responsible for each blocked action.
Administrators can generate reports in the SharePoint admin center under Reports > Content policy analytics, or by using the SharePoint Online Management Shell.
These reports are available to customers with SharePoint Advanced Management (SAM). SAM is also included with Microsoft 365 Copilot, so customers with a Microsoft 365 Copilot license can use these reports without purchasing a separate SAM license.
Rollout Schedule
General Availability (Worldwide): We will begin rolling out on mid January 2027 and expect to complete by mid February 2027.
Public Preview (Worldwide): We will begin rolling out on early December 2026 and expect to complete by mid January 2027.
Impact on Your Organization
SharePoint administrators will be able to:
- Review the sites with the highest access-denial activity, including site name, URL, sensitivity, site type, denial count, unique users denied access, and Policy.
- Generate a report across all supported policies, or use the optional
-PolicyName PowerShell parameter to filter to a specific policy. - Run a new report and download detailed CSV reports for further analysis, including the new Policy column.
Supported policies include Restricted access control, Unmanaged device, Information barrier, Restricted domain, Restricted access for OneDrive sites, IP, Authentication context, Sensitive by default, Block download for Microsoft 365 groups, Data loss prevention with device restrictions, Block download file type, Block access from everyone, and Data loss prevention.
Omitting -PolicyName generates an all-policy report. To generate a RAC-only report, specify -PolicyName "Restricted access control".
This update only concerns reporting, not changes to your configured access policies.
Action Required/Recommendations
How to run the access denied report in the SharePoint admin center
- Open the SharePoint admin center and navigate to Reports > Content policy analytics.
- Use the option to run a new report.
- Once the report is available, review the sites with the highest access-denial activity. The report includes site name, URL, sensitivity, site type, denial count, unique users denied access, and Policy.
- Download the detailed report for further analysis of the affected sites, users, and policies responsible for blocked actions.
How to run the access denied report via SharePoint PowerShell
For PowerShell reporting, use a supported SharePoint Online Management Shell version and connect to your tenant administration endpoint. If you use scripts or downstream tools to process reports, review their handling of the Policy column and choose whether to generate all-policy or policy-filtered reports.
Generate an all-policy report:
Connect-SPOService `
-Url "https://<tenant>-admin.sharepoint.com"
Start-SPORestrictedAccessForSitesInsights `
-ActionsBlockedByPolicy `
-Force
Generate a report for Restricted access for OneDrive sites:
Start-SPORestrictedAccessForSitesInsights `
-ActionsBlockedByPolicy `
-PolicyName "Restricted access for OneDrive sites" `
-Force
Generate a report for Restricted access control:
Start-SPORestrictedAccessForSitesInsights `
-ActionsBlockedByPolicy `
-PolicyName "Restricted access control" `
-Force
List generated reports and their status:
Get-SPORestrictedAccessForSitesInsights `
-ActionsBlockedByPolicy |
Format-Table Id,CreatedDateTimeInUtc,Status
After the report completes, substitute its ID to view or download detailed denials:
$reportId = guid"<report ID>"
Get-SPORestrictedAccessForSitesInsights `
-ActionsBlockedByPolicy `
-ReportId $reportId `
-Content AllDenials
Get-SPORestrictedAccessForSitesInsights `
-ActionsBlockedByPolicy `
-ReportId $reportId `
-Content AllDenials `
-Action Download
-PolicyName matching is case-insensitive. Use the supported policy names without leading or trailing spaces.
Things to note
- Report frequency: A new report can be generated at most once every 24 hours through the SharePoint admin center or PowerShell.
- Reporting period: Reports cover the last 28 days. Custom reporting periods are not supported.
- Policy filtering: The admin center reports across all supported policies. Filtering to a specific policy is available only through PowerShell using
-PolicyName. - Report history: The admin center displays only the latest completed report. Earlier completed reports can be listed, viewed, and downloaded through PowerShell using their report IDs.
Compliance considerations
No compliance considerations identified, review as appropriate for your organization.