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
Copy file name to clipboardExpand all lines: data-migration/sql-server/managed-instance/database-migration-service.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ In this tutorial, you learn how to:
41
41
> - Perform the migration cutover when you're ready
42
42
43
43
> [!IMPORTANT]
44
-
> Prepare for migration and reduce the duration of the online migration process as much as possible, to minimize the risk of interruption caused by instance reconfiguration or planned maintenance. In case of such an event, migration process will start from the beginning. In case of planned maintenance, there's a grace period of 36 hours where the target Azure SQL Managed Instance configuration or maintenance will be held before migration process is restarted.
44
+
> Prepare for migration and reduce the duration of the online migration process as much as possible, to minimize the risk of interruption caused by instance reconfiguration or planned maintenance. In such an event, migration process starts from the beginning. During planned maintenance, there's a grace period of 36 hours where the target Azure SQL Managed Instance configuration or maintenance is held before migration process is restarted.
45
45
46
46
## [Offline with Azure DMS](#tab/offline-with-extension)
47
47
@@ -74,6 +74,21 @@ To complete this tutorial, you need to:
74
74
75
75
-*Owner* or *Contributor* role for the Azure subscription (required if you create a new Database Migration Service instance).
76
76
77
+
-**Using Managed Identity**: Azure Database Migration Service supports the Managed identity for the Azure SQL Managed Instance migrations through the Azure portal only. Azure Database Migration Service uses this Managed identity to read the backups files from the storage blob container. To assign the permissions or role to the Managed identity, follow these steps:
78
+
79
+
1. Identify the target instance of Azure SQL Managed Instance's associated managed identity.
80
+
81
+
Once you start the migration to Azure SQL Managed instance using Azure Database Migration service, when you select the target instance of Azure SQL Managed Instance, its associated managed identity is shown. Otherwise, you can navigate to the Azure SQL Managed Instance pane, and select **Security** > **Identity**.
82
+
83
+
- If the user assigned managed identity is added, the associated managed identity used is the same as the primary identity you selected.
84
+
85
+
- If only the system assigned managed identity is enabled, the associated managed identity used is the same as Azure SQL Managed Instance.
86
+
87
+
1. In the Azure portal, go to **Storage account** (used for the migration for keeping backup files), and navigate to **IAM roles** > **Assign role**, and assign Storage Blob Data Reader to the associated managed identity.
88
+
89
+
> [!NOTE]
90
+
> The Storage account should have the **Allow storage account key access** option enabled. For more information, see [DMS - Support for Managed Identity for Azure SQL Managed Instance migration](https://techcommunity.microsoft.com/blog/microsoftdatamigration/dms---support-for-managed-identity-for-azure-sql-managed-instance-migration/4411274).
91
+
77
92
As an alternative to using one of these built-in roles, you can [assign custom roles](custom-roles.md).
78
93
79
94
> [!IMPORTANT]
@@ -423,6 +438,8 @@ Migrating to Azure SQL Managed Instance by using the Azure SQL extension for Azu
423
438
424
439
- If you received the following error: `Memory-optimized filegroup must be empty in order to be restored on General Purpose tier of SQL Database Managed Instance`, this issue is by design. In-Memory OLTP isn't supported on the General Purpose tier of Azure SQL Managed Instance. To continue migration, one way is to upgrade to Business Critical tier, which supports In-Memory OLTP. Another way is to make sure the source database isn't using it while the Azure SQL Managed Instance is General Purpose.
425
440
441
+
- Azure Database Migration Service supports the managed identity associated with the target Azure SQL managed instance only. This managed identity can be user assigned or system assigned. Currently, this feature is supported through the Azure Portal only. Make sure that the storage account has the **Allow storage account key access** option enabled.
442
+
426
443
## Related content
427
444
428
445
-[Quickstart: Restore a database to Azure SQL Managed Instance with SSMS](/azure/azure-sql/managed-instance/restore-sample-database-quickstart)
0 commit comments