Reputation: 119
Is there a way to achieve this i.e. embed a Power App Widgit which can be embedded in any Website without disturbing the existing functionality of the websites?
Upvotes: 1
Views: 3882
Reputation: 22836
Yes you can. Read more
Embedding your app is now as simple as adding the iframe to the HTML code for your site (or any other service that supports iframes, such as Power BI or SharePoint):
<iframe width="[W]" height="[H]" src="https://apps.powerapps.com/play/[AppID]?source=website&screenColor=rgba(165,34,55,1)" allow="geolocation; microphone; camera"/>
But you will face challenges in signin.
If your website uses Azure Active Directory (AAD) based authentication, no additional sign-in is required.
If your website uses any other sign-in mechanism or is not authenticated, your users see a sign-in prompt on the iframe. After they sign-in, they will be able to run the app as long as the author of the app has shared it with them.
Upvotes: 2