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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
asamaim
Frequent Visitor

Power bi account disconnect from browser

Hello

I have some dashboard in power bi display on some TV on our plant, after some time we see the power bi account disconnected from the borwser alone, and thesome time  all the TV disconneced on the same time (we tested there is no network issue), we don't know why this happened I tested on chrome and edge is the same issue, tempsnip.jpg

4 REPLIES 4
DMiradakis
Advocate II
Advocate II

Good question @asamaim .

 

My guess: the browser is caching the access_token and refresh_token used to keep you logged into Power BI, and they are timing out/not being properly-recycled in order to keep you logged in.

 

This is actually one of the many reasons why I built a custom Power BI software to help people display Power BI reports and Power BI dashboards on TVs, and it's designed only for Power BI; it's called Displagent (https://www.displagent.io)

 

Here's how I overcome this in my app:

I ask you to create an Azure app registration and provision a Power BI service account, and then when you enter those credentials into the app (the credentials are stored on your machine and encrypted, I don't store them anywhere in the app's backend), Displagent uses them to authenticate you to Microsoft. It's always able to get you fresh access_tokens and refresh_tokens and use those to constantly keep you authenticated to Microsoft, so you can run Power BI reports and Power BI dashboards indefinitely, and you won't ever come across these annoying "Sign in" screens like in your screenshot. Again, this is because I leverage the power of Azure app registrations in the app. It is by far the most convenient, least-painful way to display content on a TV and make it painless for the users.

 

Anyways, if you're interested, drop your email on my website or message me, happy to try and help regardless!

asamaim
Frequent Visitor

Hello Colling, 

yes this user is dedicated for those TV , it's  a service account (no- humain account) used just for the dashboard TV, there is a way to show the dashbord on some interface with auto refresh ? like in application just to avoid the web browser 

Hey @asamaim ,

 

Well, I am thinking about that - putting it somewhere else.  You can embed it I guess but you still potentially aren't getting around the logout issue....

I am a bit out of element but i believe there are extensions that you can get to add to the browser that auto-refreshes the browser periodically.  Maybe that will help?




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




collinq
Super User
Super User

Hi @asamaim ,

 

I am thinking that this issue is from the browser and not Power BI. There may be a cache being cleared?  Or, if it is the userid, is this a userid that is dedicated to this TV or is it a userid that somebody is actually using - which could cause it to logout when that person logs out and/or when that person logs in elsewhere.

 

I did find this thread (a bit old perhaps) that attempted to make the login persistent:

Solved: Re: Missing the "Stay Logged in" option - Microsoft Power BI Community

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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