Forum Discussion
Anonymous
3 years agoNot applicable
How to define a variable for dynamic refresh token for api calls
Hi guys, I try to use a Rest API that uses an access token as authentication, which expires in 10 minutes. When this access token is expired, I need to get a new access token using a refresh toke...
- 3 years ago
Power BI has no memory and no concept of (mutable) variables. You need to treat each API call as if it were the first.
peggysue
2 years agoAdvocate I
Hi Anonymous, instead of trying to refresh my access token, I found a really easy way to have Power BI request a new access token after my original one expired. I hope this helps!
See my post in this thread: https://community.fabric.microsoft.com/t5/Service/API-with-dynamic-access-token-can-t-refresh-in-Power-BI-service/m-p/2926281