Skip to main content
Community site session details

Community site session details

Session Id : KW9PQ1JdVAlF1gsDUKrwao
Power Pages - Power Apps Portals
Answered

Any settings available to change "X-Frame-Options " in Power Apps Portals?

Like (0) ShareShare
ReportReport
Posted on 27 Feb 2020 10:45:10 by 29

Hi All,

As I see it, current default settings is "X-Frame-Options: SAMEORIGIN" in power apps portals.

Is there any settings available to change the "X-Frame-Options" to allow some other URL to access through X-Frame ?
We have existing website hosted outside Azure and would like to integrate the power apps portal contents into that.

 

Thanks,

Aki

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 11 May 2020 at 13:32:17
    Re: Any settings available to change "X-Frame-Options " in Power Apps Portals?

    hi, this is not on the App Settings but on the Site Settings, open the Portal Management and navigate to the Site Settings entity

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • ygordf Profile Picture
    6 on 11 May 2020 at 13:24:09
    Re: Any settings available to change "X-Frame-Options " in Power Apps Portals?

    Hi there.

     

    I have a similar problem.

     

    I need to set up X-Frame-Options to SAMEORIGIN on my PowerApp Canvas.

     

    I was not able to find the X-Frame-Options on the App settings. Is this option only available for web sites ?

     

     
  • SunnyTokyo Profile Picture
    29 on 28 Feb 2020 at 07:39:55
    Re: Any settings available to change "X-Frame-Options " in Power Apps Portals?

    Thanks Kris,

    I didn't noticed the "Sync Configuration". Now it's taken in effect. 
    It becomes clear to me on this topic, so I take your comment as a solution. 


    For others to encounter the same issue,  "ALLOW-FROM [my url] " can be set on admin portal, but chrome or safari are not accepting the configuration and users still not be able to see the i-framed contents. So, we need to leave the setting as blank if needed. But, should be aware that that may invoke  click-jack vulnerability.

  • Verified answer
    v-xida-msft Profile Picture
    on 28 Feb 2020 at 06:07:22
    Re: Any settings available to change "X-Frame-Options " in Power Apps Portals?

    Hi @SunnyTokyo ,

    Have you clicked "Sync Configuration" option within your Portal Editor to sync the configuration you made in your Portal Management?

     

    Based on the configuration that you made, I think it is right. More details about configuring value for "HTTP/X-Frame-Options" setting in your Portal Management, please check the following article:

    https://community.dynamics.com/365/b/colinvermandermicrosoft/posts/using-your-dynamics-365-portal-in-an-iframe

     

    After you made some changes in your Portal Management, please edit your Portal, then click "Sync Configuration" option within your Portal, then click "Browse website" button again, to make the configuration take effect:

    2.JPG

     

    Best regards,

  • SunnyTokyo Profile Picture
    29 on 27 Feb 2020 at 13:01:54
    Re: Any settings available to change "X-Frame-Options " in Power Apps Portals?

    I found HTTP/X-Frame-Options on site settings in admin portal, and changed it as below;

    SAMEORIGIN --> ALLOW-FROM [my url]

     

    And checked them on Firefox and Chrome to see if iframe works,,, but it didn't work, unfortunately.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Loading complete