DEV Community

LingamSuyambu
LingamSuyambu

Posted on AI-assisted

Azure Data Studio Is Gone. Here's How to Migrate SQL Server to Managed Instance in 2026

Azure Data Studio, and the Azure SQL migration extension that most tutorials still point to, were retired on 28 February 2026. If you're planning a SQL Server → Azure SQL Managed Instance migration now, half the guides online send you to a tool that no longer exists.

Here are the four methods that actually work today, and how to choose.

Step 0: Assess first

Assessment moved to SQL Server enabled by Azure Arc. Connect your server to Arc and you get a migration readiness report (blocking issues, feature gaps, sizing) in the Azure portal. Fix the blockers before you pick a method. One that catches people: Service Broker must be enabled on the source database before some migration paths will work.

Method 1: Native backup and restore (simplest)

Back up to Azure Blob Storage, restore on Managed Instance. Good for small databases and when you can afford downtime equal to backup + copy + restore time.

-- On the source SQL Server
CREATE CREDENTIAL [https://myacct.blob.core.windows.net/migration]
WITH IDENTITY = 'SHARED ACCESS SIGNATURE',
     SECRET = '<SAS token without the leading ?>';

BACKUP DATABASE SalesDB
TO URL = 'https://myacct.blob.core.windows.net/migration/SalesDB.bak'
WITH COMPRESSION, CHECKSUM, COPY_ONLY;

-- On the Managed Instance (same credential created there)
RESTORE DATABASE SalesDB
FROM URL = 'https://myacct.blob.core.windows.net/migration/SalesDB.bak';
Enter fullscreen mode Exit fullscreen mode

Always use CHECKSUM. Microsoft's guidance is that it's the only way to make sure the backup you restore to Managed Instance isn't corrupt, and the restore runs faster too.

Method 2: Log Replay Service (LRS): free, less downtime

LRS keeps restoring your full, differential and log backups from Blob Storage while the source stays online. The database stays in restoring mode until you trigger cutover:

Start-AzSqlInstanceDatabaseLogReplay -ResourceGroupName rg-sql `
  -InstanceName my-mi -Name SalesDB `
  -Collation "SQL_Latin1_General_CP1_CI_AS" `
  -StorageContainerUri "https://myacct.blob.core.windows.net/migration/SalesDB" `
  -StorageContainerSasToken "<sas>"

# when you're ready to cut over:
Complete-AzSqlInstanceDatabaseLogReplay -ResourceGroupName rg-sql `
  -InstanceName my-mi -Name SalesDB -LastBackupName "SalesDB_log_final.trn"
Enter fullscreen mode Exit fullscreen mode

Downtime = the time to take and restore the last log backup.

Method 3: Managed Instance link: near-zero downtime

The link uses a distributed availability group to replicate in near real time from SQL Server 2016+ to Managed Instance. You can even run read-only workloads on the Managed Instance side before cutover. With SQL Server 2022 and later you can fail back to on-prem, which makes it the safest option for critical systems. Set it up from the SSMS wizard.

Method 4: Guided migration in the portal

Azure Database Migration Service and the Azure Arc migration experience handle the orchestration for you (SQL Server 2012+ via Arc). Good if you're migrating many databases and want a UI with progress tracking.

Which one should you pick?

Situation Method
Small DB, a maintenance window is fine Backup & restore
Medium/large DB, short cutover window LRS
Mission-critical, minutes of downtime max Managed Instance link
Many databases, want orchestration DMS / Azure Arc

Don't forget the cutover checklist

Databases are the easy part. What breaks on day one is everything outside the database: logins (with matching SIDs), SQL Agent jobs, linked servers, Database Mail profiles, and connection strings. Script them out before cutover, not after.

I recorded the whole process step by step (assessment, all four methods, the cutover checklist and the four most common mistakes) in an 8-minute video:

Still deciding between Managed Instance and Azure SQL Database? This one covers the feature checklist: https://youtu.be/Oj3kNqoHUxY

Top comments (0)