MC1218747 Power Apps - Content Security Policy enforcement for Power Apps code apps
Primary service: Power Apps
ChangePilot summary
- Strict Content Security Policy (CSP) enforcement will be introduced for Power Apps code apps.
- Requests to external assets outside Power Apps domains will be blocked by default after the enforcement date.
- Allowlisting of required external sources must be done in the CSP configuration settings.
- Recommended steps to prepare include temporarily disabling CSP enforcement and testing sources for allowlisting.
- Enabling reporting mode is advised to monitor policy violations if external assets are not needed.
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
Starting on January 26, 2026, we will introduce strict Content Security Policy (CSP) enforcement for Power Apps code apps (preview). CSP is a security feature that protects apps from malicious content by restricting which external sources an app can access.
How does this affect me?
After January 30, 2026, Power Apps code apps that call assets outside of Power Apps domains will have those requests blocked by default. The code app will play, but these assets called from an external source will not load.
Please visit How to: Configure Content Security Policy (preview) - Power Apps for more information about the default CSP configuration.
What action do I need to take?
To enable your code app to call assets from external sources, you will need to allowlist any required external sources using the CSP configuration settings in the Power Platform admin center.
To prepare for this change, we recommend you configure CSP by using Power Platform admin center and follow the steps below. We recommend taking these steps if you are unsure about what your CSP configuration should be, and your code app is business critical:
Please contact Microsoft Support if you need further assistance.
How does this affect me?
After January 30, 2026, Power Apps code apps that call assets outside of Power Apps domains will have those requests blocked by default. The code app will play, but these assets called from an external source will not load.
Please visit How to: Configure Content Security Policy (preview) - Power Apps for more information about the default CSP configuration.
What action do I need to take?
To enable your code app to call assets from external sources, you will need to allowlist any required external sources using the CSP configuration settings in the Power Platform admin center.
To prepare for this change, we recommend you configure CSP by using Power Platform admin center and follow the steps below. We recommend taking these steps if you are unsure about what your CSP configuration should be, and your code app is business critical:
- Temporarily toggle off the Enforce content security policy setting.
- Toggle on the Enable reporting setting.
- Test which sources need to be added to your allowlist after the enforcement date of January 30, 2026.
- Add the required sources to your allowlist.
- Toggle on the Enforce content security policy setting.
Please contact Microsoft Support if you need further assistance.
More information
Details
Services
- Power Apps
Category
- Stay informed
Microsoft tags
- Admin Action