Loading...

Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection

Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection

Microsoft Entra ID will enhance authentication security by enforcing a Content Security Policy that blocks external script injection, allowing only trusted Microsoft scripts. This rollout begins mid-October 2026, affecting browser-based sign-ins on login.microsoftonline.com, with no impact on Entra External ID tenants. Introduction As part of Microsoft’s Secure Future Initiative, we’re updating our Content Security Policy for the Microsoft Entra ID sign-in experience. This change adds an extra layer of protection by allowing only scripts from trusted Microsoft domains to run during authentication, blocking unauthorized or injected external code. This proactive measure helps safeguard users against threats like cross-site scripting (XSS), further strengthening security for your organization. When this will happen General Availability (Production/Worldwide only): Rollout begins mid-October 2026 Expected completion by late October 2026 Periodic communications will be sent closer to release. How this affects your organization Who is affected: Organizations using browser-based sign-in experiences on URLs starting with login.microsoftonline.com. No impact to Microsoft Entra External ID tenants. What will happen: A new Content Security Policy header will be added to Microsoft Entra sign-in pages. Scripts will only be allowed from Microsoft trusted CDN domains. Inline script execution will only be allowed from trusted Microsoft sources. Browser extensions or tools that inject code into the sign-in page will stop working, though users can still sign in. What you can do to prepare If you do not use tools or extensions that inject code into the sign-in experience, no action is required. If you do use such tools, switch to alternatives that don’t inject code. Test your sign-in flows thoroughly before rollout to identify and resolve any issues early. Testing instructions can be found on our CSP Guide for Microsoft Entra ID. Learn more: Compliance considerations No compliance considerations identified; review as appropriate for your organization. Content Security Policy Overview for Microsoft Entra ID  Microsoft Entra ID Content Security Policy Public Blog Post on Techcommunity Microsoft Secure Future Initiative The CSP nonce guide | Content Security Policy (CSP) quick reference guide The CSP script-src directive guide | Content Security Policy (CSP) quick reference guide Why XSS still matters: MSRC’s perspective on […]

The post Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection appeared first on M365 Admin.

Published on:

Learn more
Need help with this product?

We can help you with Microsoft Entra ID: Enhance protection of the authentication experience by blocking external script injection

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

M365 Admin
M365 Admin

by João Ferreira

Share post:

Related posts

Microsoft Defender for Cloud Apps: Unified RBAC support for App Governance to manage NHIs

Microsoft Defender for Cloud Apps’ App Governance will support unified Defender XDR RBAC in public preview starting late November 2026, ...

12 hours ago

Microsoft OneDrive for iPad: Presentation mode for PDFs

Microsoft OneDrive for iPad will introduce a presentation mode for PDFs, enabling a focused, view-only experience that disables free scrolling...

12 hours ago

Microsoft Purview | Data Loss Prevention: Protection for local AI agent interactions

Microsoft Purview Data Loss Prevention is expanding to protect sensitive data in supported local AI agent interactions, allowing administrator...

12 hours ago

Microsoft OneDrive for Windows and Mac: node_modules folders will be excluded from sync by default

Starting December 14, 2026, OneDrive for Windows and Mac will exclude new folders named “node_modules” from syncing by default to ...

12 hours ago

Microsoft Teams: Intelligent call recap for call queues in the Queues app on mobile

Microsoft Teams mobile’s Queues app will add intelligent call recap for recorded and transcribed call queue calls starting early Decembe...

12 hours ago

Microsoft Agent 365 Business Analytics: Introducing Access Management

Access Management for Agent 365 Business Analytics centralizes role and permission assignments for admins, combining permission sets and data ...

12 hours ago

Autopilot availability in Frontier

Autopilot will roll out in Frontier Public starting November 17, 2026, as an always-on cloud agent requiring admin enablement and Microsoft 36...

12 hours ago

Agent 365 Business Analytics app experience

Agent 365 Business Analytics, launching November 17, 2026, offers AI spend, usage, and value insights in Microsoft 365 admin center. Features ...

12 hours ago

Dataverse – Dataverse Data Available in Agent Builder Declarative Agents

We are announcing the ability to select Power Platform and Dynamics 365 data as a knowledge data source when creating and editing Declarative ...

12 hours ago

Updates available for Microsoft 365 Apps for Current Channel

We’ve released updates to the following update channel for Microsoft 365 Apps: Current Channel When this will happen: We’ll be gra...

12 hours ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.