Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everyone,
Seems like the generated refresh token that comes with the access token expires in 1h like the access token (I am using the AcquireTokenByAuthorizationCodeAsync), so I have to request a new access token, what is the right way to request a refresh token? or is it allowed to extend the lifetime of an Azure refresh token and how?
Thank you...
@cyan wrote:
Hello everyone,
Seems like the generated refresh token that comes with the access token expires in 1h like the access token (I am using the AcquireTokenByAuthorizationCodeAsync), so I have to request a new access token, what is the right way to request a refresh token? or is it allowed to extend the lifetime of an Azure refresh token and how?
Thank you...
By defautl the refresh token lifetime is 90 days, see Configurable token lifetimes in Azure Active Directory. And in my test, the refresh token which was generated several days ago still works at this moment. To request a access token with a refresh token, you can see the POST API call in this thread, I'm not using the AAD SDK.
Since your question is more Azure AD related, for further question, I'd suggest you post it in the dedicated AAD forum. You'd get better response there.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |