cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maxhuang Frequent Visitor
Frequent Visitor

How to set expiration of accessToken for App Owns Data "Embed for customer"

I am working on: "Embed a Power BI report, dashboard, or tile into an application for your customers".

I used the sample code from:

https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/App%20Owns%20Data

But the access token expired after 1 hour.

How to set it to be 30 days?

 

Thank you

Max