web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How can I save the CSP...
Power Pages
Suggested Answer

How can I save the CSP configuration under Power Page studio Adv settings?

(1) ShareShare
ReportReport
Posted on by 20
Categories:
I have the same question (0)
  • Suggested answer
    rezarizvii Profile Picture
    35 on at
    Hi @SP2019admin, hope you're doing well.
     
    To modify the site's CSP, you have to navigate to the Power Pages Management (also known as Portal Management) App in your environment. You can also access the app from your site's studio by clicking on the (...) in the sidebar, and clicking on Power Pages Management App.
     
    Customizing CSP:
    You can modify, extend, or disable the default CSP policy to meet your site's specific requirements.
     
    Steps to modify or disable CSP:
    • Sign in to Power Pages and open your site for editing.
    • In the left side panel, select More items (…) > Portal Management. 
    • Select Site Settings in the Portal Management app. 
    • Find or create the HTTP/Content-Security-Policy site setting. 
      • To create a new site setting, click on "+ New" in the ribbon to open the new site setting form.
      • Name: HTTP/Content-Security-Policy
      • Website: Choose your site from the dropdown
      • Source: Table
      • Value: [Modify as needed]
    • Modify the value as needed. To disable CSP, clear the site setting value (leave it empty) rather than deleting the setting.
     
    For more information, you can refer to the following documentation: Manage your site's Content Security Policy | Microsoft Learn

    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,439 Most Valuable Professional on at
    I recommend trying to go as restrictive as possible in the beginning, and constantly test / inspect your site via browser devtools, if errors pop-up you can amend the CSP accordingly 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 29

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 25 Most Valuable Professional

#3
Hammed Profile Picture

Hammed 22

Last 30 days Overall leaderboard