Skip to content

Commit aaa2a4f

Browse files
abhims14rwestMSFT
authored andcommitted
Update database-migration-service.md
Added support for Managed identity
1 parent a2ebf54 commit aaa2a4f

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In this tutorial, you learn how to:
4141
> - Perform the migration cutover when you're ready
4242
4343
> [!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.
4545
4646
## [Offline with Azure DMS](#tab/offline-with-extension)
4747

@@ -74,6 +74,21 @@ To complete this tutorial, you need to:
7474

7575
- *Owner* or *Contributor* role for the Azure subscription (required if you create a new Database Migration Service instance).
7676

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+
7792
As an alternative to using one of these built-in roles, you can [assign custom roles](custom-roles.md).
7893

7994
> [!IMPORTANT]
@@ -423,6 +438,8 @@ Migrating to Azure SQL Managed Instance by using the Azure SQL extension for Azu
423438

424439
- 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.
425440

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+
426443
## Related content
427444

428445
- [Quickstart: Restore a database to Azure SQL Managed Instance with SSMS](/azure/azure-sql/managed-instance/restore-sample-database-quickstart)

0 commit comments

Comments
 (0)