Skip to content

Commit 44b4830

Browse files
authored
Update error code AADSTS50173 documentation
1 parent 991c3f5 commit 44b4830

1 file changed

Lines changed: 16 additions & 19 deletions

File tree

support/entra/entra-id/app-integration/error-code-aadsts50173-grant-expired-revoked.md

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,48 @@
11
---
2-
# Required metadata
3-
# For more information, see https://review.learn.microsoft.com/en-us/help/platform/learn-editor-add-metadata?branch=main
4-
# For valid values of ms.service, ms.prod, and ms.topic, see https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main
5-
62
title: Error code AADSTS50173 - The provided grant has expired due to it being revoked
73
description: Describes a problem and solution in which a user receives the error AADSTS50173 when trying to sign-in
8-
author: custorod # GitHub alias
4+
author: custorod
95
ms.author: custorod
106
ms.service: entra-id
117
ms.topic: troubleshooting-problem-resolution
128
ms.date: 02/21/2025
139
ms.subservice: authentication
10+
ms.custom: sap:Issues Signing In to Applications
1411
---
1512

16-
# Error code AADSTS50173 - The provided grant has expired due to it being revoked
13+
# AADSTS50173 - The provided grant has expired due to it being revoked
1714

1815
## Symptoms
1916

20-
When attempting to authenticate with Microsoft Entra ID, you may encounter the following error message:
17+
When users try to sign in to an application that uses Microsoft Entra ID authentication, they receive the following error message:
18+
19+
20+
> `AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '{authTime}' and the TokensValidFrom date (before which tokens are not valid) for this user is '{validDate}'.`
2121
22-
```
23-
AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '{authTime}' and the TokensValidFrom date (before which tokens are not valid) for this user is '{validDate}'.
24-
```
2522

2623
## Cause
2724

28-
This error occurs when the refresh token used for authentication has been revoked. This can happen due to several factors, including:
25+
This error occurs when the refresh token used for authentication has been revoked. This issue occurs if:
2926

30-
- The user has changed or reset their password.
27+
- The user changed or reset their password.
3128
- The refresh token has expired.
3229
- The refresh token has been revoked by an administrator.
3330

34-
For reference:
35-
[Token Revocation in Microsoft Entra ID](/entra/identity-platform/refresh-tokens#token-revocation)
36-
[Revoke user access in Microsoft Entra ID](/entra/identity/users/users-revoke-access)
31+
For more information, see:
32+
33+
- [Token Revocation in Microsoft Entra ID](/entra/identity-platform/refresh-tokens#token-revocation)
34+
- [Revoke user access in Microsoft Entra ID](/entra/identity/users/users-revoke-access)
3735

3836

3937
## Resolution
4038

4139
To resolve this issue, follow these steps:
4240

43-
### Step 1: If you’re a user receiving this error
44-
45-
On the application being used, try to locate an option to re-authenticate 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+
### For end users
4642

43+
On the application being used, try to locate an option to re-authenticate and clear any cached token information. This can also be achieved by signing out and signing back in to the application (when applicable/available).
4744

48-
### Step 2: If you’re an application developer looking to address this error
45+
### For application developers
4946

5047
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).
5148

0 commit comments

Comments
 (0)