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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

PowerBI Reports Session

Hello Team, 

 

Scenario - Lot of our users use PowerBi Premium. and under Workspace; there are few workspaces have been created. These workspaces has some reports.  When users are viewing these reports; they have to authenticate again. (So there are 2 steps where people need to enter username/ password. I did further research and this is known problem in PowerBI and you cannot skip the 2nd layer of authentication. I found below statement on given website 

 

https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-embed-secure?toc=%2Fpower-bi%2F...

 

"The authentication token lifetime is controlled based on your Azure AD settings. When the authentication token expires, the user will need to sign in again to get an updated authentication token. The default lifetime is one hour, but it might be shorter or longer in your organization. You can't automatically refresh the token in this scenario."

 

Question - How do I extend the session? 

 

I did some research and found that I can connect to Graph API and check the 'Get-MgPolicyTokenLifetimePolicy' properties but its giving me access denied error. I have assigned myself "Security Reader" role but that still getting error as below - 

 

PS C:\WINDOWS\system32> Get-MgPolicyTokenLifetimePolicy
Get-MgPolicyTokenLifetimePolicy : Insufficient privileges to complete the operation.
Status: 403 (Forbidden)
ErrorCode: Authorization_RequestDenied

 

Does anyone have any idea? Thank you for your help in Advance

Status: Investigating
Comments
Anonymous
Not applicable

Hi  @Anonymous ,

 

Please try the follow steps:

  1. In the Power Platform admin center, select an environment.

  2. Select Settings > Product > Privacy + Security.

  3. Set Session Expiration and Inactivity timeout. These settings apply to all users.

Security enhancements: User session and access management - Power Platform | Microsoft Learn

 

Best regards.
Community Support Team_Caitlyn

Anonymous
Not applicable

Thank you so much for your help, Caitlyn. I have made the changes accordingly. I will let you know how it goes.

Anonymous
Not applicable

@Anonymous Thank you for your helped earliear. I have applied the settings you referrred but we are seeing same issue. If you refer the screenshot I have given, I still need to click on 'Sign in' on this page. We're trying to avoid this click.

Anonymous
Not applicable

Screenshot 2023-07-13 142335.jpg @Anonymous  Adding a screenshot for referance