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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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