Skip to content

Commit 98ff2c2

Browse files
authored
Merge pull request #8934 from MicrosoftDocs/FromPrivateRepo
Resolve syncing conflicts from FromPrivateRepo to live
2 parents 66c6d10 + ad294cf commit 98ff2c2

31 files changed

Lines changed: 1126 additions & 249 deletions

azure-sql/database/authentication-aad-overview.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ titleSuffix: Azure SQL Database & Azure SQL Managed Instance & Azure Synapse Ana
44
description: Learn about how to use Azure Active Directory for authentication with Azure SQL Database, Azure SQL Managed Instance, and Synapse SQL in Azure Synapse Analytics
55
author: GithubMirek
66
ms.author: mireks
7-
ms.reviewer: wiassaf, vanto, mathoma
8-
ms.date: 04/13/2023
7+
ms.reviewer: wiassaf, vanto, mathoma, randolphwest
8+
ms.date: 05/08/2023
99
ms.service: sql-db-mi
1010
ms.subservice: security
1111
ms.topic: conceptual
@@ -14,8 +14,8 @@ ms.custom:
1414
- sqldbrb=1
1515
monikerRange: "= azuresql || = azuresql-db || = azuresql-mi"
1616
---
17-
1817
# Use Azure Active Directory authentication
18+
1919
[!INCLUDE[appliesto-sqldb-sqlmi-asa](../includes/appliesto-sqldb-sqlmi-asa.md)]
2020

2121
This article provides an overview of using Azure Active Directory to authenticate to [Azure SQL Database](sql-database-paas-overview.md), [Azure SQL Managed Instance](../managed-instance/sql-managed-instance-paas-overview.md), [SQL Server on Windows Azure VMs](../virtual-machines/windows/sql-server-on-azure-vm-iaas-what-is-overview.md), [Synapse SQL in Azure Synapse Analytics](/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-overview-what-is) and [SQL Server for Windows and Linux](/sql/relational-databases/security/authentication-access/azure-ad-authentication-sql-server-overview) by using identities in Azure AD.
@@ -50,13 +50,13 @@ With Azure AD authentication, you can centrally manage the identities of databas
5050
The configuration steps include the following procedures to configure and use Azure Active Directory authentication.
5151

5252
1. Create and populate Azure AD.
53-
2. Optional: Associate or change the active directory that is currently associated with your Azure Subscription.
54-
3. Create an Azure Active Directory administrator.
55-
4. Configure your client computers.
56-
5. Create contained database users in your database mapped to Azure AD identities.
57-
6. Connect to your database by using Azure AD identities.
53+
1. Optional: Associate or change the active directory that is currently associated with your Azure Subscription.
54+
1. Create an Azure Active Directory administrator.
55+
1. Configure your client computers.
56+
1. Create contained database users in your database mapped to Azure AD identities.
57+
1. Connect to your database by using Azure AD identities.
5858

59-
> [!NOTE]
59+
> [!NOTE]
6060
> For Azure SQL, Azure VMs and SQL Server 2022, Azure AD authentication only supports access tokens which originate from Azure AD and doesn't support third-party access tokens. Azure AD also doesn't support redirecting Azure AD queries to third-party endpoints. This applies to all SQL platforms and all operating systems that support Azure AD authentication.
6161
6262
## Trust architecture
@@ -85,8 +85,8 @@ When using Azure AD authentication, there are two Administrator accounts: the or
8585

8686
![admin structure][3]
8787

88-
> [!NOTE]
89-
> Azure AD authentication with Azure SQL supports only a single Azure AD tenant where the Azure SQL resource currently resides. All Azure AD objects from this tenant can be set up as users allowing access to Azure SQL in this tenant. Only an Azure AD admin from this tenant can be configured to enable access to Azure SQL in this tenant . Azure AD multi-tenant authentication accessing Azure SQL from different tenants are not supported. Multi-tenant Azure AD admins cannot be set up for an Azure SQL resource.
88+
> [!NOTE]
89+
> Azure AD authentication with Azure SQL supports only a single Azure AD tenant where the Azure SQL resource currently resides. All Azure AD objects from this tenant can be set up as users allowing access to Azure SQL in this tenant. Only an Azure AD admin from this tenant can be configured to enable access to Azure SQL in this tenant . Azure AD multi-tenant authentication accessing Azure SQL from different tenants are not supported. Multi-tenant Azure AD admins cannot be set up for an Azure SQL resource.
9090
9191
## Permissions
9292

@@ -103,7 +103,6 @@ To create a contained database user in Azure SQL Database, Azure SQL Managed Ins
103103
- Imported members from other Azure ADs who are native or federated domain members.
104104
- Active Directory groups created as security groups.
105105

106-
107106
- Azure AD users that are part of a group that is member of the `db_owner` database role cannot use the **[CREATE DATABASE SCOPED CREDENTIAL](/sql/t-sql/statements/create-database-scoped-credential-transact-sql)** syntax against Azure SQL Database and Azure Synapse. You'll see the following error:
108107

109108
`SQL Error [2760] [S0001]: The specified schema name 'user@mydomain.com' either doesn't exist or you do not have permission to use it.`
@@ -118,6 +117,10 @@ To create a contained database user in Azure SQL Database, Azure SQL Managed Ins
118117
- `SUSER_ID(<name>)`
119118
- `SUSER_SID(<name>)`
120119

120+
- Azure SQL Database doesn't create implicit users for users logged in as part of an Azure AD group membership. Because of this, various operations that require assigning ownership will fail, even if the Azure AD group is added as a member to a role with those permissions.
121+
122+
For example, a user signed into a database via an Azure AD group with the **db_ddladmin** role, will not be able to execute CREATE SCHEMA, ALTER SCHEMA, and other object creation statements without a schema explicitly defined (such as table, view, or type, for example). To resolve this, an Azure AD user must be created for that user, or the Azure AD group must be altered to assign the DEFAULT_SCHEMA to **dbo**.
123+
121124
### SQL Managed Instance
122125

123126
- Azure AD server principals (logins) and users are supported for [SQL Managed Instance](../managed-instance/sql-managed-instance-paas-overview.md).

0 commit comments

Comments
 (0)