The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
Facing an issue with Power BI requesting to sign in after every time a link through an embed is opened.
After logging and authorizing any other reports opened from the same workspace request another sign-in.
Using a single semantic data model to populate multiple report pages split into different reports that are embedded to links and using a looping extension is shown on a TV as a KPI report. The data is refreshed daily. The user that is used to view the reports has access to the workspace as a viewer.
Is there a way to authorize for longer periods or to refresh the authorization so that it would not sign out the user if the session stays active ? Or is there another way to handle this part of the process ?
This issue only started occuring since last week (2024-04-22 to 2024-04-28).
Any input would be appreciated.
Solved! Go to Solution.
Hi. I don't think you can prevent that using embedding with single secure link. That's the way it works. If you want to move forward to a deeper solution, you might need to read about embed for customers.
The solution aims to control the login. You can build it with Microsoft Auth2 SSO to keep it for your company, but it requires way more skills as a developer. It's like building a web app from scratch. If you don't want to develop you can also try already built apps from partners that have created this power bi embedding as a service like www.pibi.cloud or embedfast.
I hope that helps,
Happy to help!
Yeah this is a really tough one. Power BI embedded is actually REALLY hard to work with because it's intricately tied into the Microsoft Authentication platform. You need a deep dev skillset and a solid understanding of how OAuth2.0 works, and even then, there are a lot of "gotchas" that are not mentioned in the Power BI documentation when it comes to embedding Power BI content and keeping it authorized over long periods of time. That, and Microsoft Auth is just plain hard.
I am speaking from experience because I run a 3rd party dedicated Power BI digital signage app called Displagent, and this has been my life's work for the past two years. It's very difficult, and it's taken a lot of work for me to learn the ins and outs of all of this.
In my app Displagent, I made a huge focus on keeping users logged into Microsoft over long periods of time so that people can setup slideshows and digital signage on their TVs, fire them up, and then forget about them/not worry about them and just let them run continuously. Sounds like the scenario that you are describing.
In my app, I offer two types of integrations: the Standard Integration and the Advanced Integration. You can read my doc pages for more info, but basically the first uses the MSAL auth library, and the second uses a line-of-business Azure App Registration that you have to make in your Azure tenant. Either way, both work extremely well and are able to keep users logged in for long periods of time. The Advanced Integration in particular works exceptionally well, my users never have timeouts/sign out problems.
Power BI digital signage and Power BI embedded are surprisingly difficult for most companies. If you're a dev and want to do this yourself, I'm happy to offer more info/lessons that I've learned. But forewarning, it's all very involved and quite cumbersome (again, speaking from experience). If you want to save yourself the time and trouble, feel free to checkout my app or ask me some questions.
Hi. I don't think you can prevent that using embedding with single secure link. That's the way it works. If you want to move forward to a deeper solution, you might need to read about embed for customers.
The solution aims to control the login. You can build it with Microsoft Auth2 SSO to keep it for your company, but it requires way more skills as a developer. It's like building a web app from scratch. If you don't want to develop you can also try already built apps from partners that have created this power bi embedding as a service like www.pibi.cloud or embedfast.
I hope that helps,
Happy to help!
User | Count |
---|---|
38 | |
14 | |
12 | |
11 | |
8 |
User | Count |
---|---|
49 | |
35 | |
22 | |
21 | |
18 |