Skip to content

Commit f4f1cb9

Browse files
Merge pull request #28854 from MicrosoftDocs/VanMSFT-patch-1
adding Microsoft Entra login for Azure Synapse
2 parents 93754cf + 368d57e commit f4f1cb9

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

docs/t-sql/statements/create-login-transact-sql.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "CREATE LOGIN (Transact-SQL)"
33
description: CREATE LOGIN (Transact-SQL)
44
author: VanMSFT
55
ms.author: vanto
6-
ms.date: 03/14/2022
6+
ms.date: 10/23/2023
77
ms.service: sql
88
ms.subservice: t-sql
99
ms.topic: reference
@@ -681,7 +681,10 @@ GO
681681
```syntaxsql
682682
-- Syntax for Azure Synapse Analytics
683683
CREATE LOGIN login_name
684-
{ WITH <option_list> }
684+
{
685+
FROM EXTERNAL PROVIDER
686+
| WITH <option_list> [,..]
687+
}
685688
686689
<option_list> ::=
687690
PASSWORD = { 'password' }
@@ -690,12 +693,20 @@ CREATE LOGIN login_name
690693

691694
## Arguments
692695

696+
> [!NOTE]
697+
> [Microsoft Entra server principals (logins)](/azure/azure-sql/database/authentication-azure-ad-logins) are currently in public preview.
698+
When used with the **FROM EXTERNAL PROVIDER** clause, the login specifies the Microsoft Entra principal, which is a Microsoft Entra user, group, or application. Otherwise, the login represents the name of the SQL login that was created.
699+
700+
Microsoft users and service principals (Microsoft Entra applications) that are members of more than 2048 Microsoft Entra security groups are not supported to login into the database in SQL Database, SQL Managed Instance, or Azure Synapse.
701+
702+
#### FROM EXTERNAL PROVIDER </br>
703+
Specifies that the login is for Microsoft Entra authentication.
704+
693705
#### *login_name*
694706
Specifies the name of the login that is created.
695707

696708
To create accounts for Microsoft Entra ID users, use the [CREATE USER](create-user-transact-sql.md) statement.
697709

698-
699710
#### PASSWORD **='**password**'*
700711
Specifies the password for the SQL login that is being created. Use a strong password. For more information, see [Strong Passwords](../../relational-databases/security/strong-passwords.md) and [Password Policy](../../relational-databases/security/password-policy.md). Beginning with [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)], stored password information is calculated using SHA-512 of the salted password.
701712

0 commit comments

Comments
 (0)