MC1055557 Content Security Policy Control in Tenant Administration
Primary service: SharePoint
ChangePilot summary
- SharePoint Online Tenant Administrators can now allow custom script sources for modern pages.
- A new "Trusted script sources" page will enable control over which sources are allowed to load scripts.
- SharePoint will report unauthorized script sources to help administrators take action.
- Administrators can enforce browsers to only load scripts from trusted sources.
- The rollout will occur automatically with no required action from administrators.
History
Recorded changes
- The timeline for the General Availability rollout for GCC, GCC High, and DoD has been updated from completing by early June 2025 to late June 2025.
- The timeline for the General Availability rollout for GCC, GCC High, and DoD has been updated from completing by early June 2025 to late June 2025.
- The completion date for General Availability for GCC, GCC High, and DoD was updated from mid-May 2025 to early June 2025.
Microsoft message
Updated June 11, 2025: We have updated the timeline below. Thank you for your patience.
SharePoint Online Tenant Administrators can now allow script sources for modern pages in SharePoint sites. This feature is particularly useful in scenarios where modern pages have custom code that loads scripts (e.g., TypeScript code) from external sources like a content delivery network (CDN). SharePoint will now report to administrators where sources that have not been allowed are loaded from, providing a way for administrators to identify those sources and take action. Tenant Administrators can also enforce browsers to only load scripts from allowed sources. This behavior can be enabled using SharePoint Online Management Shell.
[When this will happen:]
Targeted Release: We will begin rolling out on late March 2025 and expect to complete by early April 2025.
General Availability (Worldwide): We will begin rolling out on late April 2025 and expect to complete by late April 2025.
General Availability (GCC, GCC High, DoD): We will begin rolling out on late April 2025 and expect to complete by late June 2025 (previously early June).
[How this will affect your organization:]
Tenant Administrators will have the option to control and govern where custom code loads scripts and, if needed, enforce browsers to only load scripts from trusted sources. A new "Trusted script sources" page will give administrators control over which source can be trusted to load scripts.
[What you need to do to prepare:]
This rollout will happen automatically with no admin action required.Details
Services
- SharePoint
Category
- Stay informed
Microsoft tags
- New Feature
- Admin Action