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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Your session has expired

sessionexpired.png

 

Hi,
Our current setup:

- power bi premium per user 

- paginated reports

- data gateway to azure sql server

At random frequencies the message above pops up after the user ran the report.
Google search with exact phrase shows no hits.

How can we get rid it?


 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Microsoft Power BI works on an “access token” / “refresh token” system which is common across the internet. This is essentially a system that upon login will grant you two tokens, an access token with a short expiry (a few hours maybe) and a refresh token with a longer expiry (a few months).
During normal communication your access token will be sent to the authentication servers to authenticate you. After a short period of time this token will expire and an error response will be sent back to which the client web application will respond by using the refresh token to generate a new access token and refresh the session.

This ensures that any attacker who is able to hijack the access token has only limited access for a brief period of time.

Once the refresh token expires then the user must perform a full login once again to renew it and the cycle repeats.

The thresholds for both these tokens expiry are controlled within Active Directory / Azure and Microsoft identity platform controls within your organization

Generally speaking, if you are needing to frequently login to your Power BI dashboards or reports, you will want to extend the expiry of your refresh tokens not the access token.

 

vpollymsft_0-1667977760792.png

 

Persistent browser session

  1. Sign in to the Azure portal as a global administrator, security administrator, or Conditional Access administrator.

  2. Browse to Azure Active Directory > Security > Conditional Access.

  3. Select New policy.

  4. Give your policy a name. We recommend that organizations create a meaningful standard for the names of their policies.

  5. Choose all required conditions.

  6. Under Access controls > Session.

    1. Select Persistent browser session.
    2. Select a value from dropdown.
  7. Save your policy.

vpollymsft_1-1667977760781.png

 

 

 

To learn more details ,refer:

https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-... 

https://www.vuepilot.com/support/article/microsoft-power-bi-authentication-information/ 

Solved: Your Power BI Session Expired message - Microsoft Power BI Community

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

Microsoft Power BI works on an “access token” / “refresh token” system which is common across the internet. This is essentially a system that upon login will grant you two tokens, an access token with a short expiry (a few hours maybe) and a refresh token with a longer expiry (a few months).
During normal communication your access token will be sent to the authentication servers to authenticate you. After a short period of time this token will expire and an error response will be sent back to which the client web application will respond by using the refresh token to generate a new access token and refresh the session.

This ensures that any attacker who is able to hijack the access token has only limited access for a brief period of time.

Once the refresh token expires then the user must perform a full login once again to renew it and the cycle repeats.

The thresholds for both these tokens expiry are controlled within Active Directory / Azure and Microsoft identity platform controls within your organization

Generally speaking, if you are needing to frequently login to your Power BI dashboards or reports, you will want to extend the expiry of your refresh tokens not the access token.

 

vpollymsft_0-1667977760792.png

 

Persistent browser session

  1. Sign in to the Azure portal as a global administrator, security administrator, or Conditional Access administrator.

  2. Browse to Azure Active Directory > Security > Conditional Access.

  3. Select New policy.

  4. Give your policy a name. We recommend that organizations create a meaningful standard for the names of their policies.

  5. Choose all required conditions.

  6. Under Access controls > Session.

    1. Select Persistent browser session.
    2. Select a value from dropdown.
  7. Save your policy.

vpollymsft_1-1667977760781.png

 

 

 

To learn more details ,refer:

https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-... 

https://www.vuepilot.com/support/article/microsoft-power-bi-authentication-information/ 

Solved: Your Power BI Session Expired message - Microsoft Power BI Community

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Tried it, but no effect. We still get the refresh message every x minutes.

Did you find any solution to this issue?

GilbertQ
Super User
Super User

Hi @Anonymous 

 

I would chat with your Network Administrator as it appears that there is a timeout on how long you can stay logged in before you need to log in again?





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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.