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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Canvas App in Portal
Power Pages
Unanswered

Canvas App in Portal

(1) ShareShare
ReportReport
Posted on by 207

I have been able to embed my canvas app into my portal using iframe. However, it doesn't render correctly - loses it's size, so I adjusted the size of the iframe control. But then when you try to use the portal on a phone, and go to the embedded canvas app, the app inside the iframe is not responsive to the device I am on. Is there a way around this?

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @barlowse ,

    Could you please share a screenshot about the issue?

    Have you taken a try to turn off the "Scale to fit" option within your app?

     

    Please consider take a try to turn off the "Scale to fit" option within the "Screen szie + orientation" settings of the App settings of your app, then re-publish your app, check if the issue is fixed:

    3.JPG

     

    Also please consider configure your app as a Responsive layout app, then re-publish it, then re-embed your app into your PowerApps Portal again, check if the issue is fixed.

    More details about creating a respnsive layout app, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-responsive-layout

     

    Best regards,

  • Yogesh_Gupta Profile Picture
    Microsoft Employee on at

    @barlowse You can also check if you have provided the responsive html properties (Eg. width: 100%, height: auto)

    But this is not a natively supported scenario. Currently, we do not encourage our makers to do a canvas app embed YET. I am pretty sure that there will be some authentication scenarios where you will run into issues.

     

    Regards,

    Yogesh

  • sienna28 Profile Picture
    514 on at

    That's interesting.

    Could you please explain how you did that or point me to an article that explains it?

  • barlowse Profile Picture
    207 on at

    I tried this - but it still does not render on an iphone well. 
    HR Admin · Starter Portal_landscape.jpgHR Admin · Starter Portal_portrait.jpg

    The way I did this in the portal - is to use an iframe control, and the web address of the powerapp. It works fine on PC in the browser and it works fine on a surface tablet. Just not on the phone. 

  • rulesrchanged1 Profile Picture
    on at

    So the problem here is the just scale to fit will not make your canavas app responsive. You will also need to make components responsive as well. So follow this documentation to go through this https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-responsive-layout

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard