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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
fxs7576_02
Frequent Visitor

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

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

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 GenerateToken API. 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: 

Microsoft Entra token

Configurable token lifetimes

Access tokens in the Microsoft identity platform

Configure tokens - Azure Active Directory B2C | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

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 GenerateToken API. 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: 

Microsoft Entra token

Configurable token lifetimes

Access tokens in the Microsoft identity platform

Configure tokens - Azure Active Directory B2C | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.