cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vladschiop1
Level: Powered On

Embed PowerApps from a different tenant on a SharePoint page

I tried to embed a PowerApps application from a different tenant on my SharePoint Online Page using the Embed webpart.

I am passing the app Id and the tenantId in the iframe source.

I also added the current logged-in user as a guest in the other tenant and also I shared the PowerApp with him.

 

First time the App was loaded successfully, but then after a few refreshes, I got the message: "Sorry, we didn’t find that app."

The issue is sporadic.

 

I am using Chrome.

 

Vlad Schiop

shortpoint.com 

 

Does anyone experienced this issue before? Is this a known issue?

 

 

 

2 REPLIES 2
v-siky-msft
Level 10

Re: Embed PowerApps from a different tenant on a SharePoint page

Hi @vladschiop1 ,

 

Can you share more error information? you can click More button to get more description.

Annotation 2019-11-07 170434.png

Can you check if you have permission to open that app in PowerApps?

I ever saw that someone had met the same issue, when he redid all the procedures, the apps can be open well magically.

If there is no permission and license problem, please try to delete embed PowerApps and re-add it again.

Best regards,

Sik

vladschiop1
Level: Powered On

Re: Embed PowerApps from a different tenant on a SharePoint page

The error says: The application '<App Id>' could not be found in the tenant '<Tenant Id>'.
Session ID: <Session Id>

<Tenant Id> is not the one specified into the query string parameter, but the id of the current tenant.
So, it is trying to look for the specified <App Id> into the current tenant and not into the one set into the iframe's source.

The iframe looks like this:
<iframe allow="geolocation;camera;" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-forms allow-orientation-lock" src="https://web.powerapps.com/webplayer/iframeapp?hideNavBar=true&amp;source=iframe&amp;enableOnBehalfOf... Id]&amp;tenantid=[app's tenant Id]&amp;screenColor=rgba(192,57,43,1)&amp;user=2"></iframe>

 

Still, the problem is sporadic. After refreshing the page multiple times, the app might load successfully.

I have multiple PowerApps embedded on the page, same behavior for all.

 

Any ideas?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 160 members 5,377 guests
Please welcome our newest community members: