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
Answered

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

(1) ShareShare
ReportReport
Posted on by 30
Categories:
I have the same question (0)
  • Verified answer
    rezarizvii Profile Picture
    352 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,471 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 
  • rezarizvii Profile Picture
    352 on at
    Hi @SP2019admin, hope you are doing well.
     
    Just wanted to check in and see if everything is working now. If you still need any help, feel free to let me know.
    Also, if the issue is resolved, it would be great if you could mark the answer as solved so others with the same question can find it easily.
     
    Thanks and have a great day!

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 65

#2
11manish Profile Picture

11manish 53

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard