Skip to content

Commit 0af41dc

Browse files
Merge pull request #23880 from MicrosoftDocs/VanMSFT-patch-1
Update authentication-azure-ad-logins.md
2 parents 0aa1177 + 9c627f3 commit 0af41dc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

azure-sql/database/authentication-azure-ad-logins.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: conceptual
77
author: GithubMirek
88
ms.author: mireks
99
ms.reviewer: vanto
10-
ms.date: 03/14/2022
10+
ms.date: 08/24/2022
1111
monikerRange: "= azuresql || = azuresql-db || = azuresql-mi"
1212
---
1313

@@ -124,6 +124,8 @@ For a tutorial on how to grant these roles, see [Tutorial: Create and utilize Az
124124
- When permissions are altered for an Azure AD login with existing open connections to an Azure SQL Database, permissions aren't effective until the user reconnects. Also [flush the authentication cache and the TokenAndPermUserStore cache](#disable-or-enable-a-login-using-alter-login-syntax). This applies to server role membership change using the [ALTER SERVER ROLE](/sql/t-sql/statements/alter-server-role-transact-sql) statement.
125125
- Setting an Azure AD login mapped to an Azure AD group as the database owner isn't supported.
126126
- [Azure SQL Database server roles](security-server-roles.md) aren't supported for Azure AD groups.
127+
- The current scripting command in SQL Server Management Studio and in Azure Data Studio for Azure AD users with logins does not generate a correct T-SQL syntax for a user creation with a login. Instead, the script generates a T-SQL syntax for a contained Azure AD user without a login in the virtual `master` database.
128+
- To distinguish between the Azure AD contained user without a login in the virtual `master` database and an Azure AD user created from a login in the virtual `master` database, view the `SID` in **sys.database_principals**, and check for the `AADE` suffix appended in the `SID` column for a user created with a login.
127129
128130
## Next steps
129131

0 commit comments

Comments
 (0)