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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
fxs7576_02
Helper I
Helper I

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
Anonymous
Not 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 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
Anonymous
Not 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 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.