Thank you for your post and I apologize for the delayed response!
Error Message:
AADSTS700082: The refresh token has expired due to inactivity. The token was issued on * and was inactive for 90.00:00:00.
From your error message, it looks like you're running into a refresh token lifetime issue due to inactivity. This error usually occurs if the user hasn't signed in for 90 days, or if you're using a single page app (SPA) - after 24 hours.
When it comes to viewing refresh tokens, if you're using the OAuth2 authorization code flow, you should be able to use the https://login.microsoftonline.com/common/oauth2/v2.0/token
endpoint and the authorization_code
, to view the refresh token and redeem the code for an access token. For more info.
When it comes to resolve this issue, the user will need to sign in to Azure again to get a new refresh token. This can be done by running the az login
command within the Azure CLI, this'll allow the user to sign into Azure and get a new refresh token.
Additional Link - Refresh the access token
I hope this helps! If you have any other questions, please let me know.