Skip to content

Commit 81f084b

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/sql-docs-pr into 202305_replaad
2 parents 7d187aa + 79685f2 commit 81f084b

511 files changed

Lines changed: 16859 additions & 13138 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎azure-sql/azure-sql-iaas-vs-paas-what-is-overview.md‎

Lines changed: 17 additions & 14 deletions
Large diffs are not rendered by default.

‎azure-sql/database/active-geo-replication-overview.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ As discussed previously, active geo-replication can also be managed programmatic
286286
- [Configure and failover a pooled database using active geo-replication](scripts/setup-geodr-and-failover-elastic-pool-powershell.md).
287287
- SQL Database also supports auto-failover groups. For more information, see using [auto-failover groups](auto-failover-group-sql-db.md).
288288
- For a business continuity overview and scenarios, see [Business continuity overview](business-continuity-high-availability-disaster-recover-hadr-overview.md).
289+
- To learn about Azure SQL Database Hyperscale Geo-replica see [Hyperscale Geo-replica](service-tier-hyperscale-replicas.md#geo-replica)
289290
- To learn about Azure SQL Database automated backups, see [SQL Database automated backups](automated-backups-overview.md).
290291
- To learn about using automated backups for recovery, see [Restore a database from the service-initiated backups](recovery-using-backups.md).
291292
- To learn about authentication requirements for a new primary server and database, see [SQL Database security after disaster recovery](active-geo-replication-security-configure.md).

‎azure-sql/database/auditing-managed-identity.md‎

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Auditing using managed identity
3-
description: How to use managed identity with storage accounts for Auditing
3+
description: How to use managed identity with storage accounts for auditing
44
author: sravanisaluru
55
ms.author: srsaluru
66
ms.reviewer: randolphwest
@@ -28,11 +28,14 @@ By default, the identity used is the primary user identity assigned to the serve
2828

2929
Select the retention period by opening the **Advanced properties**. Then select **Save**. Logs older than the retention period are deleted.
3030

31+
> [!NOTE]
32+
> To set up managed identity-based auditing on Azure Synapse Analytics, see the [Configure system-assigned managed identity for Azure Synapse Analytics auditing](#configure-system-assigned-managed-identity-for-azure-synapse-analytics-auditing) section later in this article.
33+
3134
## User-assigned managed identity
3235

3336
UMI gives users flexibility to create and maintain their own UMI for a given tenant. UMI can be used as server identities for Azure SQL. UMI is managed by the user, compared to a system-assigned managed identity, which identity is uniquely defined per server, and assigned by the system.
3437

35-
For more information about UMI, see [Managed identities in Azure AD for Azure SQL](authentication-azure-ad-user-assigned-managed-identity.md)
38+
For more information about UMI, see [Managed identities in Azure AD for Azure SQL](authentication-azure-ad-user-assigned-managed-identity.md).
3639

3740
## Configure user-assigned managed identity for Azure SQL Database auditing
3841

@@ -101,27 +104,35 @@ For more information, see [Server Auditing Settings - Create Or Update](/rest/ap
101104

102105
---
103106

104-
## Configure user-assigned managed identity for Azure Synapse Analytics auditing
107+
## Configure system-assigned managed identity for Azure Synapse Analytics auditing
105108

106-
You can't use UMI based authentication to a storage account. Only SMI can be used on Azure Synapse.
109+
You can't use UMI based authentication to a storage account for auditing. Only system-assigned managed identity (SMI) can be used for Azure Synapse Analytics. For SMI authentication to work, the managed identity must have the **Storage Blob Data Contributor** role assigned to it, in the storage account's **Access Control** settings. This role is automatically added if Azure portal is used to configure auditing.
107110

108-
In the Azure portal for an Azure Synapse workspace, there is no option to explicitly choose SAS key or managed identity-based authentication, as is the case for Azure SQL Database.
111+
In the Azure portal for Azure Synapse Analytics, there is no option to explicitly choose SAS key or SMI authentication, as is the case for Azure SQL Database.
109112

110-
- If the storage account is behind a VNet or firewall, auditing is automatically configured using managed identity-based authentication.
113+
- If the storage account is behind a VNet or firewall, auditing is automatically configured using SMI authentication.
111114

112115
- If the storage account isn't behind a VNet or firewall, then auditing is automatically configured using SAS key based authentication.
113116

114-
To force the use of managed identity-based authentication, regardless of whether the storage account is behind a firewall, use the REST API or PowerShell, as follows:
117+
To force the use of SMI authentication, regardless of whether the storage account is behind a VNet or firewall, use REST API or PowerShell, as follows:
118+
119+
- If using the REST API, omit the `StorageAccountAccessKey` field explicitly in the request body.
120+
121+
For more information, reference:
122+
123+
- [Server Blob Auditing Policies - Create Or Update - REST API (Azure SQL Database)](/rest/api/sql/2022-08-01-preview/server-blob-auditing-policies/create-or-update?tabs=HTTP)
124+
- [Database Blob Auditing Policies - Create Or Update - REST API (Azure SQL Database](/rest/api/sql/2021-02-01-preview/database-blob-auditing-policies/create-or-update?tabs=HTTP)
115125

116-
- If using the REST API, reference [Database Blob Auditing Policies - Create Or Update - REST API (Azure SQL Database](/rest/api/sql/2021-02-01-preview/database-blob-auditing-policies/create-or-update?tabs=HTTP), or [Server Blob Auditing Policies - Create Or Update - REST API (Azure SQL Database)](/rest/api/sql/2022-08-01-preview/server-blob-auditing-policies/create-or-update?tabs=HTTP). You must omit the `StorageAccountAccessKey` field explicitly in the request body.
126+
- If using PowerShell, pass the `UseIdentity` parameter as `true`.
117127

118-
- If using PowerShell APIs, reference [Set-AzSqlServerAudit (Az.Sql)](/powershell/module/az.sql/set-azsqlserveraudit) or [Set-AzSqlDatabaseAudit (Az.Sql)](/powershell/module/az.sql/set-azsqldatabaseaudit), and pass the `UseIdentity` parameter as `true`.
128+
For more information, reference:
119129

120-
For managed identity-based authentication to work, the managed identity must have the **Storage Blob Data Contributor** role assigned to it, in the storage account's **Access Control Settings**. This role is automatically added if Azure portal is used to configure auditing.
130+
- [Set-AzSqlServerAudit (Az.Sql)](/powershell/module/az.sql/set-azsqlserveraudit)
131+
- [Set-AzSqlDatabaseAudit (Az.Sql)](/powershell/module/az.sql/set-azsqldatabaseaudit)
121132

122133
## Next steps
123134

124135
- [Auditing overview](auditing-overview.md)
125136
- Data Exposed episode: [What's New in Azure SQL Auditing](/Shows/Data-Exposed/Whats-New-in-Azure-SQL-Auditing)
126137
- [Auditing for SQL Managed Instance](../managed-instance/auditing-configure.md)
127-
- [Auditing for SQL Server](/sql/relational-databases/security/auditing/sql-server-audit-database-engine)
138+
- [Auditing for SQL Server](/sql/relational-databases/security/auditing/sql-server-audit-database-engine)

‎azure-sql/database/auditing-overview.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: SQL Auditing for Azure SQL Database and Azure Synapse Analytics tra
55
author: sravanisaluru
66
ms.author: srsaluru
77
ms.reviewer: wiassaf, vanto, mathoma
8-
ms.date: 04/26/2023
8+
ms.date: 05/31/2023
99
ms.service: sql-database
1010
ms.subservice: security
1111
ms.topic: conceptual
@@ -37,13 +37,14 @@ You can use SQL Database auditing to:
3737
- **Analyze** reports. You can find suspicious events, unusual activity, and trends.
3838

3939
> [!IMPORTANT]
40-
> Auditing for Azure SQL Database, Azure Synapse and Azure SQL Managed Instance is optimized for availability and performance of the database or instance being audited. During periods of very high activity or high network load, the auditing feature may allow transactions to proceed without recording all of the events marked for auditing.
40+
> Auditing for Azure SQL Database, Azure Synapse Analytics SQL pools, and Azure SQL Managed Instance is optimized for availability and performance of the database or instance being audited. During periods of very high activity or high network load, the auditing feature may allow transactions to proceed without recording all of the events marked for auditing.
4141
4242
## Auditing limitations
4343

44-
- Enabling auditing on a paused **Azure Synapse** isn't supported. To enable auditing, resume Azure Synapse.
44+
- Enabling auditing on a paused **Azure Synapse SQL pool** isn't supported. To enable auditing, resume the **Synapse SQL pool**.
45+
- Enabling auditing by using User Assigned Managed Identity (UAMI) isn't supported on **Azure Synapse**.
4546
- Auditing for **Azure Synapse SQL pools** supports default audit action groups **only**.
46-
- When you configure the auditing for your [logical server in Azure](logical-servers.md) or Azure SQL Database with log destination as the storage account, the target storage account must be enabled with access to storage account keys. If the storage account is configured to use Azure AD-only authentication and not configured for access key usage, auditing can't be configured.
47+
- When you configure the auditing for your [logical server in Azure](logical-servers.md) or Azure SQL Database with log destination as the storage account, using storage access keys as authentication type, the target storage account must be enabled with access to storage account keys. If the storage account is configured to use Azure AD-only authentication and not configured for access key usage, auditing can't be configured using storage access keys authentication, and you can use managed identity.
4748

4849
## Remarks
4950

‎azure-sql/database/authentication-aad-configure.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@ For more information on Azure AD hybrid identities, setup, and synchronization,
4444

4545
## Create and populate an Azure AD instance
4646

47-
Create an Azure AD instance and populate it with users and groups. Azure AD can be the initial Azure AD managed domain. Azure AD can also be an on-premises Active Directory Domain Services that is federated with the Azure AD.
47+
Create an Azure AD instance and populate it with users and groups. Azure AD can be the initial Azure AD managed domain. Azure AD can also be an on-premises Active Directory Domain Service that is federated with Azure AD.
4848

4949
For more information, see:
50+
- [What is Azure Active Directory?](/azure/active-directory/fundamentals/active-directory-whatis)
5051
- [Integrating your on-premises identities with Azure Active Directory](/azure/active-directory/hybrid/whatis-hybrid-identity)
5152
- [Add your own domain name to Azure AD](/azure/active-directory/fundamentals/add-custom-domain)
52-
- [Microsoft Azure now supports federation with Windows Server Active Directory](https://azure.microsoft.com/blog/windows-azure-now-supports-federation-with-windows-server-active-directory/)
53-
- [What is Azure Active Directory?](/azure/active-directory/fundamentals/active-directory-whatis)
53+
- [What is Federation with Azure AD?](/azure/active-directory/hybrid/connect/whatis-fed)
54+
- [Directory synchronization with Azure Active Directory](/azure/active-directory/fundamentals/sync-directory)
5455
- [Manage Azure AD using Windows PowerShell](/powershell/module/azuread)
5556
- [Hybrid Identity Required Ports and Protocols](/azure/active-directory/hybrid/reference-connect-ports).
5657

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ To create a contained database user in Azure SQL Database, Azure SQL Managed Ins
9999
- The following members of Azure AD can be provisioned for Azure SQL Database:
100100

101101
- Native members: A member created in Azure AD in the managed domain or in a customer domain. For more information, see [Add your own domain name to Azure AD](/azure/active-directory/fundamentals/add-custom-domain).
102-
- Members of an Active Directory domain federated with Azure Active Directory on a managed domain configured for seamless single sign-on with pass-through or password hash authentication. For more information, see [Microsoft Azure now supports federation with Windows Server Active Directory](https://azure.microsoft.com/blog/windows-azure-now-supports-federation-with-windows-server-active-directory//) and [Azure Active Directory seamless single sign-on](/azure/active-directory/hybrid/how-to-connect-sso).
102+
- Members of an Active Directory domain federated with Azure Active Directory on a managed domain configured for seamless single sign-on with pass-through or password hash authentication. For more information, see [Federation with Azure AD](/azure/active-directory/hybrid/connect/whatis-fed) and [Azure Active Directory seamless single sign-on](/azure/active-directory/hybrid/how-to-connect-sso).
103103
- Imported members from other Azure ADs who are native or federated domain members.
104104
- Active Directory groups created as security groups.
105105

‎azure-sql/database/authentication-azure-ad-user-assigned-managed-identity-create-server.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,21 @@ ms.reviewer: vanto
88
ms.date: 06/30/2022
99
ms.service: sql-database
1010
ms.subservice: security
11-
ms.topic: conceptual
11+
ms.topic: how-to
1212
---
1313

1414
# Create an Azure SQL Database server with a user-assigned managed identity
1515

1616
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
1717

18+
> [!div class="op_single_selector"]
19+
> * [Azure SQL Database](authentication-azure-ad-user-assigned-managed-identity-create-server.md)
20+
> * [Azure SQL Managed Instance](../managed-instance/authentication-azure-ad-user-assigned-managed-identity-create-managed-instance.md)
21+
1822
This how-to guide outlines the steps to create a [logical server](logical-servers.md) for Azure SQL Database with a [user-assigned managed identity](/azure/active-directory/managed-identities-azure-resources/overview#managed-identity-types). For more information on the benefits of using a user-assigned managed identity for the server identity in Azure SQL Database, see [User-assigned managed identity in Azure AD for Azure SQL](authentication-azure-ad-user-assigned-managed-identity.md).
1923

2024
To retrieve the system-assigned managed identity (SMI) or user-assigned managed identity or identities (UMI) of an Azure SQL Database, see [Get or set a managed identity for a logical server or managed instance](authentication-azure-ad-user-assigned-managed-identity.md#get-or-set-a-managed-identity-for-a-logical-server-or-managed-instance).
2125

22-
> [!NOTE]
23-
> If you're looking for a guide on Azure SQL Managed Instance, see [Create an Azure SQL Managed Instance with a user-assigned managed identity](../managed-instance/authentication-azure-ad-user-assigned-managed-identity-create-managed-instance.md).
24-
2526

2627
## Prerequisites
2728

‎azure-sql/database/authentication-mfa-ssms-configure.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This article shows you how to use Azure Active Directory (Azure AD) multi-factor
2323
2424
## Configuration steps
2525

26-
1. **Configure an Azure Active Directory** - For more information, see [Administering your Azure AD directory](/previous-versions/azure/azure-services/hh967611(v=azure.100)), [Integrating your on-premises identities with Azure Active Directory](/azure/active-directory/hybrid/whatis-hybrid-identity), [Add your own domain name to Azure AD](https://azure.microsoft.com/blog/20../../windows-azure-now-supports-federation-with-windows-server-active-directory/), [Microsoft Azure now supports federation with Windows Server Active Directory](https://azure.microsoft.com/blog/20../../windows-azure-now-supports-federation-with-windows-server-active-directory/), and [Manage Azure AD using Windows PowerShell](/previous-versions/azure/jj151815(v=azure.100)).
26+
1. **Configure an Azure Active Directory** - For more information, see [Administering your Azure AD directory](/previous-versions/azure/azure-services/hh967611(v=azure.100)), [Integrating your on-premises identities with Azure Active Directory](/azure/active-directory/hybrid/whatis-hybrid-identity), [Add your own domain name to Azure AD](/azure/active-directory/fundamentals/add-custom-domain), [Federation with Azure AD](/azure/active-directory/hybrid/connect/whatis-fed), and [Manage Azure AD using Windows PowerShell](/previous-versions/azure/jj151815(v=azure.100)).
2727
2. **Configure MFA** - For step-by-step instructions, see [What is Azure AD Multi-Factor Authentication?](/azure/active-directory/authentication/concept-mfa-howitworks), [Conditional Access (MFA) with Azure SQL Database and Data Warehouse](conditional-access-configure.md). (Full Conditional Access requires a Premium Azure Active Directory. Limited MFA is available with a standard Azure AD.)
2828
3. **Configure Azure AD Authentication** - For step-by-step instructions, see [Connecting to SQL Database, SQL Managed Instance, or Azure Synapse using Azure Active Directory Authentication](authentication-aad-overview.md).
2929
4. **Download SSMS** - On the client computer, download the latest SSMS, from [Download SQL Server Management Studio (SSMS)](/sql/ssms/download-sql-server-management-studio-ssms).

‎azure-sql/database/authentication-mfa-ssms-overview.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For all the features discussed in this article, use at least July 2017, version
3232

3333
## Authentication options
3434

35-
There are two non-interactive authentication models for Azure AD, which can be used in many different applications (ADO.NET, JDCB, ODC, and so on). These two methods never result in pop-up dialog boxes:
35+
There are two non-interactive authentication models for Azure AD, which can be used in many different applications (ADO.NET, JDCB, ODBC, and so on). These two methods never result in pop-up dialog boxes:
3636

3737
- `Azure Active Directory - Password`
3838
- `Azure Active Directory - Integrated`

0 commit comments

Comments
 (0)