Skip to content

Commit 9bdbb25

Browse files
committed
Merge branch '202305_replaad' of https://github.com/MashaMSFT/sql-docs-pr into 202305_replaad
2 parents e965053 + 2068b1b commit 9bdbb25

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

docs/relational-databases/replication/configure-replication-with-azure-ad-authentication.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,27 @@ This article provides steps to configure Transactional and Snapshot replication
1919

2020
Support for Azure AD authentication with SQL Server replication was added in SQL Server 2022 CU 6. When configuring SQL Server replication with Azure AD authentication, the only step that's different is the first step, when you create an Azure AD login, and grant sysadmin permissions. Then use that Azure AD login in the replication stored procedures to configure replication.
2121

22-
The session trace flag 11543 is required to configure replication with Azure AD authentication, so before executing any step, be sure to enable the trace flag in the session by using the following Transact-SQL command:
22+
> [!NOTE]
23+
> Azure AD authentication for replication starting with SQL Server 2022 CU 6 can be disabled by using session trace flag 11561.
2324
24-
```sql
25-
DBCC TRACEON(11543, -1)
26-
```
2725

2826
## Prerequisites
2927

3028
To configure replication with Azure AD authentication, you must meet the following prerequisites:
3129

3230
- Have SQL Server 2022 Cumulative Update 6 configured with Azure AD authentication for every server in the replication topology. Review [Tutorial: Set up Azure AD authentication for SQL Server](../../relational-databases/security/authentication-access/azure-ad-authentication-sql-server-setup-tutorial.md) to learn more.
33-
- [SQL Server Management Studio v18 or higher](../../ssms/download-sql-server-management-studio-ssms.md) or [Azure Data Studio](/sql/azure-data-studio/download-azure-data-studio).
34-
- The user connecting to the publisher and subscriber is a member of the **sysadmin** fixed server role.
31+
- [SQL Server Management Studio (SSMS) v19.1 or higher](../../ssms/download-sql-server-management-studio-ssms.md) or [Azure Data Studio](/sql/azure-data-studio/download-azure-data-studio).
32+
- The user connecting to the publisher and subscriber is a member of the **sysadmin** fixed server role.
33+
- The connection must be encrypted using a certificate from a trusted Certificate Authority (CA) or a self-signed certificate.
34+
- If a self-signed certificate is used, it must be imported to the client machine and installed into the Trusted Certificates list for the client to trust the SQL Server. This requirement cannot be bypassed by selecting the **Trust server certificate** option in SQL Server Management Studio (SSMS) as it doesn't work with replication.
3535

3636

3737
## Limitations
3838

3939
Configuring your replication with Azure AD authentication currently has the following limitations:
4040

41-
- It's currently only possible to configure replication by using Transact-SQL (T-SQL), and the replication stored procedures. It's not currently possible to configure replication by using the Replication Wizard in SQL Server Management Studio (SSMS), the RMO replication objects, or other command line languages.
42-
- Every server in the replication topology must be on SQL Server 2022 CU 6.
43-
- When configuring replication, session trace flag 11543 must be enabled within every query session used to configure replication. Once replication has been established, this trace flag is no longer necessary and can be disabled.
41+
- It's currently only possible to configure replication using Transact-SQL (T-SQL) and the replication stored procedures, the Replication Wizard in SSMS v19.1 or higher, or Azure Data Studio. It's not currently possible to configure replication using RMO replication objects or other command line languages.
42+
- Every server in the replication topology must be on at least SQL Server 2022 CU 6. Previous versions of SQL Server aren't supported.
4443

4544
## Create SQL login from Azure AD
4645

@@ -259,4 +258,4 @@ The following values define the security modes for these stored procedures:
259258
- **4** specifies Azure AD Token Authentication starting with SQL Server 2022 CU 6.
260259

261260

262-
## Next steps
261+
## Next steps

0 commit comments

Comments
 (0)