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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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

Hi  @maheshspeaksss ,

 

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

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi  @maheshspeaksss ,

 

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

maheshspeaksss
New Member

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

maheshspeaksss
New Member

@v-xiaoyan-msft 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.

maheshspeaksss
New Member

Screenshot 2023-07-13 142335.jpg @v-xiaoyan-msft  Adding a screenshot for referance