March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
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
"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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @maheshspeaksss ,
Please try the follow steps:
In the Power Platform admin center, select an environment.
Select Settings > Product > Privacy + Security.
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