Forum Discussion
Modify the Expiration of Embed Access Token
Hi Microsoft Community,
Is it possible to modify the expiration of the access token for embed URL from one hour to say 30 mins or no expiration?
I'm currently using the Embed for Your Customers method, as this is for customers outside the organization who do not have PowerBI.
Best regards
- Anonymous2 years ago
Hi fxs7576_02 ,
As far as I know, there are some Considerations and limitations for Embed token.
-
For security reasons, the lifetime of the embed token is set to the remaining lifetime of the Microsoft Entra token used to call the
GenerateTokenAPI. Therefore, if you use the same Microsoft Entra token to generate several embed tokens, the lifetime of the generated embed tokens will be shorter with each call.
You may try to more details about access token and token lifetime.
For reference:
Access tokens in the Microsoft identity platform
Configure tokens - Azure Active Directory B2C | Microsoft Learn
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
-
1 Reply
- AnonymousNot applicable
Hi fxs7576_02 ,
As far as I know, there are some Considerations and limitations for Embed token.
-
For security reasons, the lifetime of the embed token is set to the remaining lifetime of the Microsoft Entra token used to call the
GenerateTokenAPI. Therefore, if you use the same Microsoft Entra token to generate several embed tokens, the lifetime of the generated embed tokens will be shorter with each call.
You may try to more details about access token and token lifetime.
For reference:
Access tokens in the Microsoft identity platform
Configure tokens - Azure Active Directory B2C | Microsoft Learn
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
-