You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
207
207
> [!NOTE]
208
208
> If no tables are selected or if a username and password aren't entered, the **Next** button isn't available to select.
209
209
210
-
211
210
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.
212
211
213
212
### Create a Database Migration Service instance
@@ -358,7 +357,7 @@ Before you begin the tutorial:
358
357
To create the login and user on the target Azure SQL Database, run the following script on the `master` database:
359
358
360
359
```sql
361
-
CREATE LOGIN testuser with Password='*********'
360
+
CREATE LOGIN testuser WITH PASSWORD='<password>';
362
361
363
362
ALTER SERVER ROLE ##MS_DefinitionReader## ADD MEMBER [testuser];
364
363
GO
@@ -372,9 +371,9 @@ GO
372
371
ALTER SERVER ROLE ##MS_LoginManager## ADD MEMBER [testuser];
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
396
395
397
396
:::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":::
398
397
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:
400
399
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**:
402
401
403
402
:::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":::
404
403
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
+
407
406
:::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":::
408
407
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**.
410
409
411
410
:::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":::
412
411
@@ -418,7 +417,7 @@ Now, you can migrate both the database schema and data using Database Migration
418
417
419
418
:::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":::
420
419
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*:
422
421
423
422
- Schemas
424
423
- Tables (selected)
@@ -442,8 +441,8 @@ Now, you can migrate both the database schema and data using Database Migration
442
441
- XmlSchemaCollections
443
442
444
443
> [!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.
447
446
448
447
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**.
449
448
@@ -477,7 +476,7 @@ Now, you can migrate both the database schema and data using Database Migration
477
476
|**Rebuilding indexes**| The service is rebuilding indexes on target tables. |
478
477
|**Succeeded**| All data is copied and the indexes are rebuilt. |
479
478
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:
481
480
482
481
:::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":::
Copy file name to clipboardExpand all lines: docs/includes/entra-id-tutorial.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
author: MikeRayMSFT
3
3
ms.author: mikeray
4
4
ms.reviewer: randolphwest
5
-
ms.date: 07/11/2025
5
+
ms.date: 07/31/2025
6
6
ms.service: sql
7
7
ms.topic: include
8
8
---
@@ -179,6 +179,10 @@ Or,
179
179
180
180
## Configure Microsoft Entra authentication for SQL Server through Azure portal
181
181
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
+
182
186
> [!NOTE]
183
187
> You can configure Microsoft Entra authentication with any of the following experiences:
184
188
>
@@ -238,7 +242,7 @@ After the Azure Arc agent on the SQL Server host has completed its operation, th
238
242
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.
239
243
240
244
> [!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.
242
246
243
247
To create a login for a Microsoft Entra account, execute the following T-SQL command in the `master` database:
Copy file name to clipboardExpand all lines: docs/relational-databases/security/authentication-access/azure-ad-authentication-sql-server-setup-tutorial.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Tutorial on how to set up Microsoft Entra authentication for SQL Se
Copy file name to clipboardExpand all lines: docs/relational-databases/security/authentication-access/microsoft-entra-authentication-sql-server-enable-without-arc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Tutorial on how to set up Microsoft Entra authentication for SQL Se
# Tutorial: Enable Microsoft Entra authentication for SQL Server on Windows without Azure Arc
15
15
16
-
[!INCLUDE [SQL Server 2022](../../../includes/applies-to-version/sqlserver2022.md)]
16
+
[!INCLUDE [SQL Server 2022](../../../includes/applies-to-version/sqlserver2022.md)] and later.
17
17
18
18
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.
@@ -38,6 +38,7 @@ When using managed identity with SQL Server enabled by Azure Arc, consider the f
38
38
-`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)].
39
39
-`Outbound connections` are SQL Server connections to Azure resources, like backup to URL, or connecting to Azure Key Vault.
40
40
- 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)
0 commit comments