Hi @swathy
The maximum lifetime of refresh token is 90 days, and this time cannot be modified. Therefore, before the access token expires, you need to redeem a new refresh token and replace the old refresh token with the new refresh token.
More information about refresh token:
https://learn.microsoft.com/en-us/entra/identity-platform/refresh-tokens
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.