You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Error code AADSTS50173 - The provided grant has expired due to it being revoked
3
-
description: Describes a problem and solution in which a user receives the error AADSTS50173 when trying to sign-in
4
-
author: custorod
2
+
title: Error code AADSTS50173 - The Provided Grant Has Expired Due to it Being Revoked
3
+
description: Discusses how to handle a situation in which a user receives an AADSTS50173 error when trying to sign in to an application.
4
+
author: custorod
5
5
ms.author: custorod
6
6
ms.service: entra-id
7
7
ms.topic: troubleshooting-problem-resolution
8
-
ms.date: 02/21/2025
8
+
ms.date: 02/21/2025
9
9
ms.subservice: authentication
10
-
ms.custom: sap:Issues Signing In to Applications
10
+
ms.custom: sap:Issues signing in to applications
11
11
---
12
12
13
-
# AADSTS50173 - The provided grant has expired due to it being revoked
13
+
# Error AADSTS50173 - The provided grant has expired due to it being revoked
14
14
15
15
## Symptoms
16
16
@@ -21,34 +21,33 @@ When users try to sign in to an application that uses Microsoft Entra ID authent
21
21
22
22
## Cause
23
23
24
-
This error occurs when the refresh token used for authentication has been revoked. This issue occurs if:
24
+
This error occurs if the refresh token that's used for authentication is revoked. This issue occurs if:
25
25
26
26
- The user changes or resets their password.
27
27
- The refresh token expires.
28
28
- An administrator revokes the refresh token.
29
29
30
30
For more information, see:
31
31
32
-
-[Token Revocation in Microsoft Entra ID](/entra/identity-platform/refresh-tokens#token-revocation)
32
+
-[Refresh tokens in the Microsoft identity platform](/entra/identity-platform/refresh-tokens#token-revocation)
33
33
-[Revoke user access in Microsoft Entra ID](/entra/identity/users/users-revoke-access)
34
34
35
-
36
35
## Resolution
37
36
38
-
To resolve this issue, follow these steps:
37
+
To resolve this issue, follow the applicable steps.
39
38
40
-
### For end users
39
+
### For users
41
40
42
-
On the application that experiences issues, try to locate an option to reauthenticate and/or clear any cached token information. This can also be achieved by signing out and signing back in to the application (when applicable/available).
41
+
On the application that experiences the issues, try to locate an option to reauthenticate or clear any cached token information. You can also perform these actions by signing out and signing back in to the application (if this step is applicable or available).
43
42
44
43
### For application developers
45
44
46
-
If the application is using [Microsoft Authentication Library (MSAL)](/entra/identity-platform/msal-overview), follow guidance regarding on how to [Handle errors and exceptions in MSAL](/entra/msal/dotnet/advanced/exceptions/msal-error-handling).
45
+
If the application is using [Microsoft Authentication Library (MSAL)](/entra/identity-platform/msal-overview), follow [this guidance to handle errors and exceptions in MSAL](/entra/msal/dotnet/advanced/exceptions/msal-error-handling).
47
46
48
-
If the application isn't using [Microsoft Authentication Library (MSAL)](/entra/identity-platform/msal-overview), consult information about how to [Handle errors and exceptions in MSAL](/entra/msal/dotnet/advanced/exceptions/msal-error-handling) and try to implement a similar approach on the application. The goal is to request user to re-authenticate and obtain a fresh token.
47
+
If the application isn't using [Microsoft Authentication Library (MSAL)](/entra/identity-platform/msal-overview), follow this guidance to [handle errors and exceptions in MSAL](/entra/msal/dotnet/advanced/exceptions/msal-error-handling), and try to implement a similar approach on the application. The goal is to request that the user reauthenticate and obtain a fresh token.
49
48
50
-
## More Information
49
+
## More information
51
50
52
51
For a full list of authentication and authorization error codes, see [Microsoft Entra authentication and authorization error codes](/entra/identity-platform/reference-error-codes).
53
52
54
-
To investigate individual errors, go to [https://login.microsoftonline.com/error](https://login.microsoftonline.com/error).
53
+
To investigate individual errors, go to [https://login.microsoftonline.com/error](https://login.microsoftonline.com/error).
0 commit comments