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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
vlemon
Frequent Visitor

Need to disable Session Expired Dialog

We need to remove (or increase the timing to few hours if possible) the Session Expired Dialog for the SSRS or Paginated Report.

How to recreate.

  • Open any Report.
  • Once done with the report don't close it. After few minutes the dialog will appear.

 

Session Expired.jpg

 

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @vlemon ,

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.

 

vluwangmsft_0-1656559695485.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.

vluwangmsft_1-1656559817222.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/ 

 

 

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


Best Regards

Lucien

View solution in original post

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @vlemon ,

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.

 

vluwangmsft_0-1656559695485.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.

vluwangmsft_1-1656559817222.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/ 

 

 

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


Best Regards

Lucien

Anonymous
Not applicable

I have a similar situation where I have a paginated report visual inside a power bi report. The visual times out after a couple minutes of being idle. Here the users are not being logged out at any momment it is just the visual that needs to refresh. Will changing the access token time resolve the issue?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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