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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.