Hi @Thiyagu
Thank you for posting this in Microsoft Q&A.
I understand that you're encountering an AADSTS7000215 error during a refresh token request.
The error message indicates that you're using the client secret ID instead of the client secret value when trying to acquire a new access token with the refresh token grant flow type.
To resolve this issue, make sure to use the client secret value, not the client secret ID. Additionally, ensure that the same ClientID and ClientSecret are used that acquired the first refresh token.
The client secret ID is a unique identifier for the client secret, whereas the client secret value is the actual secret key used for authentication. Using the client secret ID instead of the client secret value will result in an authentication failure, leading to the AADSTS7000215 error.
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.