Hi
Mohammed Thahif BK •,
Welcome to Microsoft Q&A forum and thanks for using Azure Services.
As I understand, you are unable to perform migration of SQL server 2016 from on-prem to Azure SQL MI.
Firstly, if you're using the Azure Database Migration Service for the first time, ensure that Microsoft.DataMigration resource provider is registered in your subscription. You can follow the steps to register the resource provider.
Next, when you're using a self-hosted integration runtime, make sure that the machine where the runtime is installed can connect to the source SQL Server instance and the network file share where backup files are located. Outbound port 445 should be enabled to allow access to the network file share. Also see recommendations for using a self-hosted integration runtime
Recommendations for using a self-hosted integration runtime for database migrations
- Use a single self-hosted integration runtime for multiple source SQL Server databases.
- Install only one instance of a self-hosted integration runtime on any single computer.
- Associate only one self-hosted integration runtime with one instance of Database Migration Service.
- The self-hosted integration runtime uses resources (memory and CPU) on the computer it's installed on. Install the self-hosted integration runtime on a computer that's separate from your source SQL Server instance. But the two computers should be in close proximity. Having the self-hosted integration runtime close to the data source reduces the time it takes for the self-hosted integration runtime to connect to the data source.
- Use the self-hosted integration runtime only when you have your database backups in an on-premises SMB network share. A self-hosted integration runtime isn't required for database migrations if your source database backups are already in the storage blob container.
- We recommend up to 10 concurrent database migrations per self-hosted integration runtime on a single computer. To increase the number of concurrent database migrations, scale out the self-hosted runtime to up to four nodes or create separate instances of the self-hosted integration runtime on different computers.
- Configure the self-hosted integration runtime to auto-update and automatically apply any new features, bug fixes, and enhancements that are released. For more information, see Self-hosted integration runtime auto-update.
The Azure SQL migration extension for Azure Data Studio no longer requires specific configurations on your Azure Storage account network settings to migrate your SQL Server databases to Azure. However, depending on your database backup location and desired storage account network settings, there are a few steps needed to ensure your resources can access the Azure Storage account. See the following table for the various migration scenarios and network configurations:
Enabled from all networks | No extra steps | No extra steps |
Enabled from selected virtual networks and IP addresses | See 1a | See 2a |
Enabled from selected virtual networks and IP addresses + private endpoint | See 1b | See 2b |
Hope this information helps. Let us know if we have missed anything.
Thanks