Skip to content

SQL ServerPublished 16 min read

How to migrate SQL Server to Azure: target, tools and steps

Moving SQL Server to Azure comes down to three choices. Which Azure target suits each database, which Microsoft tool moves it, and how much downtime you can accept. Microsoft has retired several tools that older guides still describe, so this guide uses only the ones it recommends today, checked against Microsoft Learn on 7 November 2026.

The short answer

  • Most existing business databases fit Azure SQL Managed Instance best. Microsoft describes it as having almost 100% feature parity with the SQL Server engine. Choose SQL Server on an Azure VM when you need operating-system access, a specific SQL Server version, Reporting or Analysis Services on the server, or FILESTREAM. Choose Azure SQL Database for new or rewritten applications.
  • Use Microsoft's current tools. Azure Migrate or Azure Arc to assess. The Managed Instance link, Azure Arc or Database Migration Service to move to Managed Instance. Azure Migrate, Database Migration Service or the SSMS migration component for VMs. Data Migration Assistant and the Azure Data Studio extension are retired.
  • Near-zero downtime is possible for Managed Instance and VMs. The Managed Instance link keeps a live copy in Azure until you cut over. Database Migration Service moves data to Azure SQL Database offline only.
  • You can reuse SQL Server licences with Software Assurance through Azure Hybrid Benefit on all three targets (on SQL Database, provisioned vCore only), with 180 days to run old and new side by side.
  • Deadlines: SQL Server 2016 support ended on 14 July 2026. SQL Server 2017 support ends on 12 October 2027.
Best fit for most apps
Azure SQL Managed Instance
Retired tools
DMA (Jul 2025), Azure Data Studio (Feb 2026)
Online cut-over
Managed Instance and VMs
Next deadline
SQL Server 2017, 12 Oct 2027

Which Azure target should you choose for SQL Server?

Azure gives you three places to run a SQL Server database. They run the same database engine but differ in how much of the old server comes with you.

  • Azure SQL Database is a single managed database. You get no instance-level features such as SQL Server Agent.
  • Azure SQL Managed Instance is a managed SQL Server instance. Microsoft looks after the engine, operating system and hardware.
  • SQL Server on an Azure VM is a full SQL Server installation that you manage, as you do today.
Factor Azure SQL Database Azure SQL Managed Instance SQL Server on an Azure VM
Compatibility with existing apps Lowest. Database-scoped, so older apps may need changes Very high. "Almost 100%" feature parity with the engine, says Microsoft Complete. It's the same SQL Server
SQL Agent, linked servers, CLR, cross-database queries No. Elastic jobs and elastic query instead Yes, with some limits (linked servers to SQL Server family only; CLR from binary only) Yes
FILESTREAM, Windows logins No. Use Microsoft Entra instead of Windows logins No FILESTREAM. No Windows logins: use Microsoft Entra Yes
Reporting, Analysis and Integration Services No SSRS or SSAS. SSIS runs in Azure Data Factory No SSRS or SSAS. SSIS runs in Azure Data Factory All three, as on-premises
Clusters (FCIs and availability groups) Not needed: high availability is built in Not needed: high availability is built in, and failover groups cover DR Supported. Azure Migrate can lift and shift both
Licensing (Azure Hybrid Benefit) Provisioned vCore only, not DTU or serverless Yes, plus a licence-free standby replica for DR Yes, for Standard and Enterprise core licences
Lowest-downtime route Offline with DMS. Online needs transactional replication or a partner tool Online with the Managed Instance link Online with Azure Migrate, DMS, a distributed AG or log shipping
SQL Server version Always the latest engine Always supported: you choose an update policy You choose, and you upgrade
Management effort Lowest. Microsoft patches, backs up and runs HA Low. Microsoft patches, backs up and runs HA Highest. You patch the OS and SQL Server and design HA

On SQL Database and Managed Instance you still own the databases, logins, index and query tuning, auditing and security. Microsoft takes the engine, operating system and hardware.

Which option fits your situation?

Your situation Likely target
An off-the-shelf business app whose vendor supports Managed Instance Azure SQL Managed Instance
The vendor certifies only certain SQL Server versions, or needs OS access SQL Server on an Azure VM
Reporting or Analysis Services on the database server, FILESTREAM or PolyBase SQL Server on an Azure VM
A failover cluster or availability group you want to move as it is SQL Server on an Azure VM, with Azure Migrate
A new or rewritten app with one database Azure SQL Database
Sage 200 The whole Sage 200 stack on Azure VMs (see Sage 200)

Always check what your application vendor supports before anything else. Their support policy usually decides the target.

Which SQL Server versions can you migrate to each target?

Each target accepts a different range of source versions, and the range depends on the tool. These are Microsoft's published ranges.

Target Lowest-downtime routes (source versions) Offline routes (source versions)
Azure SQL Managed Instance Managed Instance link: SQL Server 2016 SP3 (with the Azure Connect pack) to 2025. Log Replay Service: 2008 to 2022 Native backup and restore: 2005 to 2022
SQL Server on an Azure VM Azure Migrate whole-server replication: 2008 SP4 and later. Distributed availability group: 2016 and later. Log shipping: 2012 SP4 and later Backup and restore: 2008 SP4 and later. SSMS migration component: 2005 and later
Azure SQL Database Transactional replication: 2016 to 2019 DMS with PowerShell or the Azure CLI: 2008 and later. BACPAC or bcp: 2005 to 2019

Some details that catch people out:

  • The Managed Instance link is one-way for SQL Server 2016 to 2019. From SQL Server 2022 you can also fail back to SQL Server, if the instance's update policy matches.
  • The Azure Arc migration experience starts at SQL Server 2014. Arc's migration assessment also needs Windows Server 2016 or later, and doesn't support failover cluster instances.
  • Azure Marketplace VM images cover SQL Server 2016, 2017, 2019, 2022 and 2025. To run an older version on a VM, you install it yourself.
  • SQL Server 2012 and older can't use Azure Arc. Use Azure Migrate, or backup and restore.

How do you migrate SQL Server to Azure, step by step?

These steps use only the tools Microsoft recommends now.

1. Find every SQL Server instance

Older versions often hide inside third-party products. Two Microsoft tools find them:

  • Azure Migrate discovers SQL Server 2008 and later on Windows through its appliance. It finds the database engine only, not Reporting, Integration or Analysis Services.
  • Azure Arc is free to connect. Its SQL Server migration assessment is free for all editions and runs weekly.

2. Assess each database and pick a target

Azure Migrate's Azure SQL assessment recommends a target, a size and a monthly cost estimate. The Azure Arc assessment checks readiness for each target too. Its cost estimates are in US dollars for a US region, so don't use them for a UK budget. Then confirm the target against your application vendor's support.

3. Prepare Azure

Build the network, identity and security foundations first. Managed Instance has its own virtual network requirements, and the Managed Instance link needs a network connection from your SQL Server with the right ports open. Our landing zone page explains the foundations.

4. Move the data with the tool for your target

Target Online (downtime only at cut-over) Offline (downtime for the whole move)
Azure SQL Managed Instance Managed Instance link, directly or through the Azure Arc migration experience. Log Replay Service. DMS online Native backup and restore. DMS offline
SQL Server on an Azure VM Azure Migrate (whole server, including clusters). DMS online in the portal. Distributed availability group. Log shipping SSMS migration component (SSMS 21 or later). Backup and restore
Azure SQL Database Transactional replication. Striim, a partner tool Microsoft points to DMS in the portal, with schema migration. DMS with PowerShell or the CLI

DMS in the portal can move the schema as well as the data to Azure SQL Database. The Azure Arc route to SQL Database is still in preview and offline only.

5. Move what lives outside the database

Logins, SQL Agent jobs, linked servers, Database Mail, alerts and replication sit outside the database, so plan them separately.

  • The Managed Instance link doesn't copy logins or Agent jobs.
  • DMS offline can move SQL logins and Agent jobs with T-SQL steps to Managed Instance.
  • Azure SQL Database has no SQL Agent. Use elastic jobs, and replace Windows logins with Microsoft Entra.
  • System databases can't be restored to Managed Instance. Script the instance-level objects instead.

6. Test, then cut over

With the Managed Instance link, Azure holds a read-only copy that you can test against, and you cut over when you're ready. Log Replay Service is different. The database can't be read until cut-over, and a single job runs for 30 days at most.

7. Tune and tidy up after go-live

  • Apply Azure Hybrid Benefit where you're licensed. Switching causes no downtime.
  • Check sizes against real use, then consider reservations for databases that run all the time.
  • Patch SQL Server on VMs with Azure Update Manager. It installs cumulative updates. The older Automated Patching feature retires on 17 September 2027.
  • Decommission the old servers before the 180-day Azure Hybrid Benefit allowance ends.

Can you migrate a SQL Server cluster to Azure?

Yes. Azure Migrate can lift and shift a failover cluster instance or an availability group to SQL Server on Azure VMs. On VMs, failover cluster instances can use Azure shared disks, Storage Spaces Direct or a premium file share. If you choose Managed Instance or SQL Database, you don't move the cluster at all, because high availability is built into both. Azure Arc's Managed Instance migration doesn't accept a failover cluster instance as the source.

Which migration tools has Microsoft retired?

Many guides still walk through tools that are gone. If you're following one, use this table.

Tool Status Use instead
Data Migration Assistant (DMA) Retired 16 July 2025 Azure Migrate or the Azure Arc migration assessment, then the tool for your target
Azure Data Studio and its Azure SQL migration extension Retired 28 February 2026 Azure Arc (assessment and Managed Instance), Azure Migrate, DMS, or the SSMS migration component (VMs). VS Code with the MSSQL extension for everyday queries
Azure Database Migration Service (classic), SQL Server scenarios Retired 15 March 2026 The current DMS, in the portal or through PowerShell or the CLI
Automated Patching for SQL Server on Azure VMs Retires 17 September 2027 Azure Update Manager

What drives the cost of SQL Server in Azure?

There's no single price, because the bill depends on your choices. These are the main levers.

Cost driver What to know
Size and purchasing model SQL Database offers vCore (provisioned or serverless) or DTU. DTU bundles compute and storage. Managed Instance is sized in vCores. A VM is priced by its size, and the SQL licence cost depends on its vCPUs
Service tier Business Critical costs more than General Purpose, because it runs three extra replicas and faster local storage
SQL Server licence Licence included, or Azure Hybrid Benefit with licences you already own. On a VM, Developer and Express editions carry no SQL licence charge
Reservations One- or three-year terms cut compute costs. They don't cover SQL licences, storage or networking, and DTU databases can't be reserved
Storage and backup On SQL Database (vCore), data storage is charged on the maximum size you set, backup storage up to that size is included, and longer retention adds more. On a VM, disks and backup are extra
High availability and DR Zone redundancy and secondary replicas add compute. A Managed Instance standby replica used only for DR carries no SQL licence charge. On VMs, one passive HA replica and one passive DR replica need no SQL licence
Hours running A serverless database pauses when idle, and then only storage is billed. A VM stops charging for compute only when it's deallocated

Can you reuse your SQL Server licences?

Yes, through Azure Hybrid Benefit, if your licences have Software Assurance or are subscriptions.

  • Managed Instance and SQL Database: one Enterprise core licence covers four vCores in General Purpose or one in Business Critical. One Standard core licence covers one vCore in General Purpose.
  • SQL Server on a VM: Standard and Enterprise core licences qualify. Server and CAL licences with Software Assurance can move under licence mobility, but don't get the other Azure Hybrid Benefit rights.
  • During the move, you have 180 days to use the same licence both on-premises and in Azure.

How do you price your own setup?

Use Microsoft's pricing pages for Azure SQL Database and Managed Instance. For a VM, use the Windows VM pricing page and choose the SQL Server edition under OS/Software, or use the Azure pricing calculator. Set the currency to GBP and the region to UK South or UK West. Our Azure migration cost guide explains the rest of the bill. Microsoft's Frontier Accelerate for Azure programme, which lists SQL Server migrations and has an offer for databases, may also fund part of an eligible project.

When does support end for each SQL Server version?

Dates are the last day of support, from Microsoft Lifecycle.

Version Mainstream support Extended support Extended Security Updates (ESUs)
SQL Server 2012 Ended 11 July 2017 Ended 12 July 2022 None now. Microsoft says to upgrade
SQL Server 2014 Ended 9 July 2019 Ended 9 July 2024 Until July 2027. Free on Azure VMs
SQL Server 2016 Ended 13 July 2021 Ended 14 July 2026 Until 17 July 2029. Paid, including on Azure VMs
SQL Server 2017 Ended 11 October 2022 Ends 12 October 2027 No ESU offer published
SQL Server 2019 Ended 28 February 2025 Ends 8 January 2030 Not yet relevant
SQL Server 2022 Ends 11 January 2028 Ends 11 January 2033 Not yet relevant
SQL Server 2025 Ends 6 January 2031 Ends 6 January 2036 Not yet relevant

What this means for a migration:

  • Azure SQL Database and Managed Instance don't need ESUs. Arc ESU charges stop automatically when you migrate to Azure SQL.
  • SQL Server 2016 on an Azure VM still needs paid ESUs until you upgrade it. Microsoft no longer makes them free for 2016 in Azure.
  • On-premises ESUs come through Azure Arc. You need Software Assurance, a SQL Server subscription, or pay-as-you-go licensing through Arc.

Running SQL Server 2016 now? Read SQL Server 2016 end of support: what to do now.

Can Sage 200 move to Azure SQL?

Sage 200 Professional runs on Microsoft SQL Server. Sage's compatibility checker lists SQL Server 2022 and 2025 for the newest release it shows (2026 R1). But Sage 200 isn't only a database. It also has a server tier and a Windows client, and Sage doesn't support running the suite over a VPN.

So keep the whole Sage 200 stack together. Run the Sage 200 server and SQL Server on Azure VMs, and give users access through Azure Virtual Desktop or Remote Desktop. Sage's virtual infrastructure policy supports VMs that meet its system requirements, and expects the partner to be certified for the set-up.

Managed Instance isn't the route. We found no Sage documentation for it, and Sage's prerequisites include Mixed Mode authentication and, for Business Intelligence, Analysis Services on the same machine. Managed Instance doesn't support Windows logins or Analysis Services.

Sage also runs two cloud routes of its own: Sage 200 Standard, and Sage 200 Professional through Sage Partner Cloud, which an accredited Sage partner runs. Both lack some Professional features, such as CRM and Business Intelligence, so check Sage's comparison first.

Sage 50 Accounts is different. It keeps company data in its own data files, so hosting it is a desktop question, not a database migration. Our page on hosting Sage in Azure covers Sage 50 and Sage 200.

When is Azure the wrong answer?

Moving isn't always right. Consider staying put when:

  • Your application vendor doesn't support Azure. Moving anyway risks losing vendor support.
  • The hardware is new and only the version is out of date. An in-place upgrade to SQL Server 2022 or 2025 may be enough.
  • The application must stay on-premises. Keep the database next to the application that uses it.
  • You need time. ESUs through Azure Arc can cover SQL Server 2014 and 2016 while you plan. They're a paid bridge, not a fix.

What should you do next?

  1. List every SQL Server instance, its version, edition and the application that uses it.
  2. Check vendor support for each application against Managed Instance and newer SQL Server versions.
  3. Run an assessment in Azure Migrate or Azure Arc to find blockers and a recommended target.
  4. Pick a target and route per database, using the tables above.
  5. Price your setup with Microsoft's UK pricing pages or the calculator.

We migrate SQL Server into Azure, and we support SQL Server on Azure and on-premises. See SQL Server migration to Azure and SQL Server support, or get a free assessment to find the right target for each of your databases.

Frequently asked questions

Should I move SQL Server to Azure SQL Database, Managed Instance or a VM?

For most existing business databases, Azure SQL Managed Instance, because Microsoft describes it as having almost 100% feature parity with the SQL Server engine and it patches, backs up and protects the database for you. Choose SQL Server on an Azure VM if you need operating-system access, a specific SQL Server version, Reporting or Analysis Services on the server, or FILESTREAM. Choose Azure SQL Database for new or rewritten applications.

Can I use my existing SQL Server licences in Azure?

Yes, if they have Software Assurance or are subscription licences. Azure Hybrid Benefit applies to SQL Server on Azure VMs (Standard and Enterprise core licences), Azure SQL Managed Instance and Azure SQL Database on the provisioned vCore model, but not DTU or serverless. You get 180 days to run the licence both on-premises and in Azure while you migrate.

Can I migrate a SQL Server failover cluster or availability group to Azure?

Yes. Azure Migrate can lift and shift both a failover cluster instance and an availability group to SQL Server on Azure VMs, where both keep working. If you move to Managed Instance or SQL Database instead, you don't rebuild the cluster, because high availability is built in. Azure Arc's migration assessment and its Managed Instance migration don't support failover cluster instances.

Is Data Migration Assistant still available for SQL Server migrations?

No. Microsoft retired Data Migration Assistant on 16 July 2025, and retired Azure Data Studio with its Azure SQL migration extension on 28 February 2026. Use Azure Migrate or the SQL Server migration assessment in Azure Arc to assess, then the migration tool for your target, such as the Managed Instance link or Azure Database Migration Service.

How much does it cost to run SQL Server in Azure?

It depends on the target and size (vCores, or DTUs on SQL Database), whether you pay for the SQL licence or bring your own with Azure Hybrid Benefit, any one- or three-year reservation, storage and backup, and the high availability or disaster recovery you need. Price your own configuration on Microsoft's UK pricing pages or in the Azure pricing calculator, set to GBP and UK South or UK West.

Sources (54). Facts checked .

Get a free Azure migration assessment

Start with your name and work email. We'll take you to the rest of the form, then come back with scope, ballpark costs, Microsoft funding and a timeline.

We only use your details to send your assessment.