Skip to content

Commit 634203c

Browse files
Merge pull request #35832 from PratimDasgupta/docs-editor/dbcc-flushauthcache-transact-s-1763069842
Update dbcc-flushauthcache-transact-sql.md
2 parents 46d03be + afe8076 commit 634203c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/t-sql/database-console-commands/dbcc-flushauthcache-transact-sql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: DBCC FLUSHAUTHCACHE empties the database authentication cache conta
44
author: VanMSFT
55
ms.author: vanto
66
ms.reviewer: randolphwest
7-
ms.date: 12/05/2022
7+
ms.date: 11/13/2025
88
ms.service: sql
99
ms.subservice: t-sql
1010
ms.topic: reference
@@ -17,18 +17,18 @@ helpviewer_keywords:
1717
- "DBCC FLUSHAUTHCACHE"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: "= azuresqldb-current"
20+
monikerRange: "= azuresqldb-current || = fabric-sqldb"
2121
---
2222

2323
# DBCC FLUSHAUTHCACHE (Transact-SQL)
2424

25-
[!INCLUDE[Azure SQL Database](../../includes/applies-to-version/asdb.md)]
25+
[!INCLUDE [Azure SQL Database FabricSQLDB](../../includes/applies-to-version/asdb-fabricsqldb.md)]
2626

27-
Empties the database authentication cache containing information about logins and firewall rules, for the current user database in [!INCLUDE[ssSDS](../../includes/sssds-md.md)].
27+
Empties the database authentication cache containing information about logins and firewall rules, for the current user database. Additionally, it clears all cached Microsoft Entra group membership data stored in the database.
2828

2929
`DBCC FLUSHAUTHCACHE` doesn't apply to the logical `master` database, because the `master` database contains the physical storage for the information about logins and firewall rules.
3030

31-
The user executing the statement and other currently connected users remain connected. (`DBCC FLUSHAUTHCACHE` isn't currently supported for [!INCLUDE[ssazuresynapse-md](../../includes/ssazuresynapse-md.md)].)
31+
The user executing the statement and other currently connected users remain connected.
3232

3333
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: [Transact-SQL syntax conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
3434

@@ -45,12 +45,12 @@ None.
4545

4646
## Remarks
4747

48-
The authentication cache makes a copy of logins and server firewall rules stored in the `master` database, and places them in memory in the user database. Since information about contained database users is already stored in the user database, contained database users aren't part of the authentication cache.
49-
50-
Continuously active connections to [!INCLUDE[ssSDS](../../includes/sssds-md.md)] require reauthorization (performed by the [!INCLUDE[ssDE](../../includes/ssde-md.md)]) at least every 10 hours. The [!INCLUDE[ssDE](../../includes/ssde-md.md)] attempts reauthorization using the originally submitted password and no user input is required. For performance reasons, when a password is reset in [!INCLUDE[ssSDS](../../includes/sssds-md.md)], the connection won't be reauthenticated, even if the connection is reset because of connection pooling. This behavior is different from the behavior of on-premises [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. If the password has changed since the connection was initially authorized, the connection must be terminated and a new connection made using the new password.
48+
The authentication cache makes a copy of logins and server firewall rules stored in the `master` database, and places them in memory in the user database.
5149

5250
A user with the **KILL DATABASE CONNECTION** permission can explicitly terminate a connection to [!INCLUDE[ssSDS](../../includes/sssds-md.md)] by using the [KILL (Transact-SQL)](../../t-sql/language-elements/kill-transact-sql.md) command.
5351

52+
`DBCC FLUSHAUTHCACHE` is not supported for [!INCLUDE[ssazuresynapse-md](../../includes/ssazuresynapse-md.md)].
53+
5454
## Permissions
5555

5656
Requires the **KILL DATABASE CONNECTION** permission [!INCLUDE[ssSDS](../../includes/sssds-md.md)] or the admin account.
@@ -63,6 +63,6 @@ The following statement clears the authentication cache for the current database
6363
DBCC FLUSHAUTHCACHE;
6464
```
6565

66-
## See also
66+
## Related content
6767

6868
- [DBCC (Transact-SQL)](../../t-sql/database-console-commands/dbcc-transact-sql.md)

0 commit comments

Comments
 (0)