Skip to content

Commit b6231ad

Browse files
Merge pull request #34879 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-04 17:30 UTC
2 parents dd17be4 + b6d8813 commit b6231ad

File tree

6 files changed

+30
-25
lines changed

6 files changed

+30
-25
lines changed

data-migration/sql-server/database/database-migration-service.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ To complete this tutorial, you need the following prerequisites:
7474
To create the login and user on the target Azure SQL Database, run the following script on the `master` database:
7575

7676
```sql
77-
CREATE LOGIN testuser with Password = '*********'
77+
CREATE LOGIN testuser WITH PASSWORD = '<password>';
7878

7979
ALTER SERVER ROLE ##MS_DefinitionReader## ADD MEMBER [testuser];
8080
GO
@@ -88,9 +88,9 @@ GO
8888
ALTER SERVER ROLE ##MS_LoginManager## ADD MEMBER [testuser];
8989
GO
9090

91-
CREATE USER testuser from login testuser;
92-
EXEC sp_addRoleMember 'dbmanager', 'testuser';
93-
EXEC sp_addRoleMember 'loginmanager', 'testuser';
91+
CREATE USER testuser FOR LOGIN testuser;
92+
EXECUTE sp_addRoleMember 'dbmanager', 'testuser';
93+
EXECUTE sp_addRoleMember 'loginmanager', 'testuser';
9494
```
9595

9696
Now, you can migrate both the database schema and data using Database Migration Service. You can also use other tools such as the [SQL Server dacpac extension](/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio to migrate the schema before selecting the list of tables to migrate.
@@ -207,7 +207,6 @@ To open the Migrate to Azure SQL wizard:
207207
> [!NOTE]
208208
> If no tables are selected or if a username and password aren't entered, the **Next** button isn't available to select.
209209
210-
211210
Now, you can migrate database Schema and data both using Database Migration Service. Also, you can use tools like the [SQL Server dacpac extension](/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio to migrate Schema before selecting the list of tables to migrate.
212211

213212
### Create a Database Migration Service instance
@@ -358,7 +357,7 @@ Before you begin the tutorial:
358357
To create the login and user on the target Azure SQL Database, run the following script on the `master` database:
359358

360359
```sql
361-
CREATE LOGIN testuser with Password = '*********'
360+
CREATE LOGIN testuser WITH PASSWORD = '<password>';
362361

363362
ALTER SERVER ROLE ##MS_DefinitionReader## ADD MEMBER [testuser];
364363
GO
@@ -372,9 +371,9 @@ GO
372371
ALTER SERVER ROLE ##MS_LoginManager## ADD MEMBER [testuser];
373372
GO
374373

375-
CREATE USER testuser from login testuser;
376-
EXEC sp_addRoleMember 'dbmanager', 'testuser';
377-
EXEC sp_addRoleMember 'loginmanager', 'testuser';
374+
CREATE USER testuser FOR LOGIN testuser;
375+
EXECUTE sp_addRoleMember 'dbmanager', 'testuser';
376+
EXECUTE sp_addRoleMember 'loginmanager', 'testuser';
378377
```
379378

380379
Now, you can migrate both the database schema and data using Database Migration Service. You can also use other tools such as the [SQL Server dacpac extension](/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio to migrate the schema before selecting the list of tables to migrate.
@@ -396,17 +395,17 @@ Now, you can migrate both the database schema and data using Database Migration
396395

397396
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-scenario-new.png" alt-text="Screenshot of select new migration scenario." lightbox="media/database-migration-service/dms-portal-sql-database-scenario-new.png":::
398397

399-
1. On the **Azure SQL Database Offline Migration Wizard**, follow these steps:
398+
1. On the **Azure SQL Database Offline Migration Wizard**, follow these steps:
400399

401-
1. On the **Source details** tab, enter details for the source SQL Server instance, and then select **Next: Connect to source SQL Server**:
400+
1. On the **Source details** tab, enter details for the source SQL Server instance, and then select **Next: Connect to source SQL Server**:
402401

403402
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-source-1-new.png" alt-text="Screenshot of Source Tracking." lightbox="media/database-migration-service/dms-portal-sql-database-source-1-new.png":::
404403

405-
1. On the **Connect to source SQL Server** tab, provide connection details and then select **Next: Select databases for migration**:
406-
404+
1. On the **Connect to source SQL Server** tab, provide connection details and then select **Next: Select databases for migration**:
405+
407406
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-source-2-new.png" alt-text="Screenshot of Connect to source." lightbox="media/database-migration-service/dms-portal-sql-database-source-2-new.png":::
408407

409-
1. On the **Select databases for migration** tab, check the box next to the databases you want to migrate. Populating the list of databases can take some time. Select **Next: Connect to target Azure SQL Database**.
408+
1. On the **Select databases for migration** tab, check the box next to the databases you want to migrate. Populating the list of databases can take some time. Select **Next: Connect to target Azure SQL Database**.
410409

411410
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-select-db-1-new.png" alt-text="Screenshot of select db." lightbox="media/database-migration-service/dms-portal-sql-database-select-db-1-new.png":::
412411

@@ -418,7 +417,7 @@ Now, you can migrate both the database schema and data using Database Migration
418417

419418
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-map-db-1-new.png" alt-text="Screenshot of Map databases." lightbox="media/database-migration-service/dms-portal-sql-database-map-db-1-new.png":::
420419

421-
1. (Optional) Check the box next to **Migrate Missing schema** to deploy missing schema objects from the source to the Azure SQL Database target to migrate the following schema objects with a *single checkbox*:
420+
1. (Optional) Check the box next to **Migrate Missing schema** to deploy missing schema objects from the source to the Azure SQL Database target to migrate the following schema objects with a *single checkbox*:
422421

423422
- Schemas
424423
- Tables (selected)
@@ -442,8 +441,8 @@ Now, you can migrate both the database schema and data using Database Migration
442441
- XmlSchemaCollections
443442

444443
> [!NOTE]
445-
> - If you select **Migrate Missing Schema**, the Database Migration service performs the schema migration before data is migrated.
446-
> - DMS proceeds with the data migration phase even if schema migration encounters errors, unless there are issues with table objects.
444+
> - If you select **Migrate Missing Schema**, the Database Migration service performs the schema migration before data is migrated.
445+
> - DMS proceeds with the data migration phase even if schema migration encounters errors, unless there are issues with table objects.
447446
448447
Next, either use **Select all tables** to migrate all tables, or use the text entry box to filter the list of tables and select individual tables to migrate. Then select **Next: Database migration summary**.
449448

@@ -477,7 +476,7 @@ Now, you can migrate both the database schema and data using Database Migration
477476
| **Rebuilding indexes** | The service is rebuilding indexes on target tables. |
478477
| **Succeeded** | All data is copied and the indexes are rebuilt. |
479478

480-
1. Under **Source name**, select a database name to open the table view.. In this detailed view, you see the current status of the migration, the number of tables that currently are in that status, and a detailed status of each table:
479+
1. Under **Source name**, select a database name to open the table view.. In this detailed view, you see the current status of the migration, the number of tables that currently are in that status, and a detailed status of each table:
481480

482481
:::image type="content" source="media/database-migration-service/dms-portal-sql-database-monitoring-1-new.png" alt-text="Screenshot of Detailed migration monitoring." lightbox="media/database-migration-service/dms-portal-sql-database-monitoring-1-new.png":::
483482

docs/includes/entra-id-tutorial.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: MikeRayMSFT
33
ms.author: mikeray
44
ms.reviewer: randolphwest
5-
ms.date: 07/11/2025
5+
ms.date: 07/31/2025
66
ms.service: sql
77
ms.topic: include
88
---
@@ -179,6 +179,10 @@ Or,
179179
180180
## Configure Microsoft Entra authentication for SQL Server through Azure portal
181181
182+
The steps in Azure portal apply to [!INCLUDE [sssql22-md](sssql22-md.md)].
183+
184+
The steps in Azure portal do not apply to [!INCLUDE [sssql25-md](sssql25-md.md)].
185+
182186
> [!NOTE]
183187
> You can configure Microsoft Entra authentication with any of the following experiences:
184188
>
@@ -238,7 +242,7 @@ After the Azure Arc agent on the SQL Server host has completed its operation, th
238242
The same syntax for creating Microsoft Entra logins and users on Azure SQL Database and Azure SQL Managed Instance can now be used on SQL Server.
239243
240244
> [!NOTE]
241-
> On SQL Server, any account that has the `ALTER ANY LOGIN` or `ALTER ANY USER` permission can create Microsoft Entra logins or users, respectively. The account doesn't need to be a Microsoft Entra login.
245+
> On SQL Server, any Microsoft Entra account that has the `ALTER ANY LOGIN` or `ALTER ANY USER` permission can create Microsoft Entra logins or users, respectively. Otherwise, only accounts with `sysadmin` permissions can create Microsoft Entra logins or users.
242246
243247
To create a login for a Microsoft Entra account, execute the following T-SQL command in the `master` database:
244248

docs/relational-databases/security/authentication-access/azure-ad-authentication-sql-server-setup-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Tutorial on how to set up Microsoft Entra authentication for SQL Se
44
author: PratimDasgupta
55
ms.author: prdasgu
66
ms.reviewer: vanto, randolphwest
7-
ms.date: 04/04/2025
7+
ms.date: 07/31/2025
88
ms.service: sql
99
ms.subservice: security
1010
ms.topic: tutorial
@@ -13,6 +13,6 @@ monikerRange: ">=sql-server-ver16||>= sql-server-linux-ver16"
1313

1414
# Tutorial: Set up Microsoft Entra authentication for SQL Server
1515

16-
[!INCLUDE [SQL Server 2022](../../../includes/applies-to-version/sqlserver2022.md)]
16+
[!INCLUDE [SQL Server 2022](../../../includes/applies-to-version/sqlserver2022.md)] only.
1717

1818
[!INCLUDE [entra-id-tutorial](../../../includes/entra-id-tutorial.md)]

docs/relational-databases/security/authentication-access/microsoft-entra-authentication-sql-server-enable-without-arc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Tutorial on how to set up Microsoft Entra authentication for SQL Se
44
author: PratimDasgupta
55
ms.author: prdasgu
66
ms.reviewer: vanto
7-
ms.date: 05/09/2025
7+
ms.date: 07/31/2025
88
ms.service: sql
99
ms.subservice: security
1010
ms.topic: tutorial
@@ -13,7 +13,7 @@ monikerRange: ">=sql-server-ver16 || >=sql-server-linux-ver16"
1313

1414
# Tutorial: Enable Microsoft Entra authentication for SQL Server on Windows without Azure Arc
1515

16-
[!INCLUDE [SQL Server 2022](../../../includes/applies-to-version/sqlserver2022.md)]
16+
[!INCLUDE [SQL Server 2022](../../../includes/applies-to-version/sqlserver2022.md)] and later.
1717

1818
This article describes how to authenticate with Microsoft Entra ID without setting up Azure Arc for your on-premises SQL Server 2022 and later versions. Microsoft Entra authentication is a cloud-based identity management service that provides secure access to SQL Server databases. This tutorial guides you through the process of setting up Microsoft Entra authentication for SQL Server on Windows without Azure Arc.
1919

docs/sql-server/azure-arc/managed-identity.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use a managed identity with SQL Server 2025.
44
author: PratimDasgupta
55
ms.author: prdasgu
66
ms.reviewer: mikeray, randolphwest, mathoma, vanto
7-
ms.date: 07/06/2025
7+
ms.date: 07/28/2025
88
ms.service: sql
99
ms.topic: how-to
1010
ms.custom:
@@ -38,6 +38,7 @@ When using managed identity with SQL Server enabled by Azure Arc, consider the f
3838
- `Inbound connections` are logins and users connecting to SQL Server. Inbound connections can also be achieved by using [App registration](entra-authentication-setup-tutorial.md), starting in [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)].
3939
- `Outbound connections` are SQL Server connections to Azure resources, like backup to URL, or connecting to Azure Key Vault.
4040
- App Registration **can't** enable a SQL Server to make outbound connections. Outbound connections need a primary managed identity assigned to the SQL Server.
41+
- For SQL Server 2025 and later, we recommend that you use managed identity based Microsoft Entra setup, as detailed in this article. Alternatively, you can configure an [app registration for SQL Server 2025.](/sql/relational-databases/security/authentication-access/microsoft-entra-authentication-sql-server-enable-without-arc)
4142

4243
## Prerequisites
4344

docs/tools/sql-database-projects/concepts/package-references.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ The available system database packages are:
9090
- [SQL Server `master` system database](https://www.nuget.org/packages/Microsoft.SqlServer.Dacpacs.Master)
9191
- [SQL Server `msdb` system database](https://www.nuget.org/packages/Microsoft.SqlServer.Dacpacs.Msdb)
9292
- [Azure SQL Database `master` system database](https://www.nuget.org/packages/Microsoft.SqlServer.Dacpacs.Azure.Master)
93+
- [SQL database in Fabric system objects](https://www.nuget.org/packages/Microsoft.SqlServer.Dacpacs.DbFabric)
9394
- [Azure Synapse Analytics `master` system database](https://www.nuget.org/packages/Microsoft.SqlServer.Dacpacs.Synapse.Master)
9495
- [Azure Synapse Analytics serverless pools `master` system database](https://www.nuget.org/packages/Microsoft.SqlServer.Dacpacs.SynapseServerless.Master)
9596

0 commit comments

Comments
 (0)