The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
So I'm able to generate Embedded Tokens for my reports using powerBI Api, however the default expiration date for such tokens is set to one hour after they are created. Is there a way to change this setting using the Api ?
I've found the solution to my problem. If anyone is wondering you can increase the lifetime of AccessTokens by creating a new policy for your Organization Active Directory.
Here is the doc.
My current policy (sets access tokens to 1 day)
{
"TokenLifetimePolicy":{
"Version":1,
"AccessTokenLifetime":"1.00:00:00"
}
}