
Announcements
Hello everyone,
I am having a requirement to embed PowerApps Portal in a website through Iframe.
I have tried to search for the same but didn't get useful result. When I have done in html page via <iframe> tag then I am getting an error. Please find the attachment for the same.
Can anyone help me for the same. Thanks in advance!!
Hi @Ancy
You need to setup the X-Frame-Options in the site settings (for more information on that check this documentation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)
also another tip would be removing header/footer for the page you want to display as an iFrame, this is to avoid the user from navigating everywhere. it really depends on your requirement, but just have a think about the user experience here
take a look at this post from Colin Vermander, it might help: https://colinvermander.com/2016/12/27/using-your-dynamics-365-portal-in-an-iframe/
------------
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.