Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Open Dialogbox in Canvas App integrated in PowerbiReport opened in Teams App

Hello,
We have a use case where we have a Canvas App. In the Canvas app, we have an Iframe opening our web app in it. There we have to authenticate users using SSO. Now we cannot open SSO sites in the iframe as the content gets blocked. So we need to open a popup window (in the browser, it is a separate tab). Now, this Canvas app is used in Powerbi Report and if I open this Power Report in the web browser the new tab opens correctly with this line of code in the js

window.open(SSOSiteUrl, '_blank', 'width=800, height=800');
But when this Powerbi Report is opened in a Teams Desktop App it opens a regular browser and does not have the reference in the code and cannot close it.

Now for the other Teams App we have, we are using 
@microsoft/teams-js

and it offers a dialog box that we use to log in users with SSO but it does not work in Powerbi when opening in Teams App.

Is there any solution? 

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors