Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server 2014 (12.x)
SQL Server 2016 (13.x)
This article explains how to manually register SQL Server instances in the Azure portal to receive Extended Security Updates (ESUs) purchased through volume licensing.
You must manually register SQL Server instances to receive ESUs in the following scenarios:
- You can't connect your SQL Server instance to Azure Arc directly.
- Your SQL Server on Azure VM is in a region that doesn't currently support ESUs for Azure VMs.
If those scenarios don't apply to your SQL Server instance and you prefer to take advantage of the flexibility of ESUs enabled by Azure Arc, connect your server to Azure Arc or register your SQL Server on Azure VM with the SQL IaaS Agent extension.
Note
Price structure for Extended Security Updates (ESUs) changed for SQL Server 2016 on Azure VMs. To learn more, see SQL Server 2016 ESUs
Prerequisites
To register your SQL Server instances and receive ESUs, you need the following prerequisites:
If you don't already have an Azure subscription, create an account by using one of the following methods:
The user registering SQL Server instances resources must have the following permissions:
Microsoft.AzureArcData/sqlServerInstances/readMicrosoft.AzureArcData/sqlServerInstances/write
Assign users to the
Azure Connected SQL Server Onboardingrole to grant these specific permissions, or assign them to built-in roles such as Contributor or Owner that have these permissions. For more information, see Assign Azure roles using the Azure portal.Register the
Microsoft.AzureArcDataresource provider in your Azure subscription:Sign in to the Azure portal.
Navigate to your subscription, and select Resource providers.
If the
Microsoft.AzureArcDataresource provider isn't listed, add it to your subscription by using the Register option.
If you use Azure policies that only allow the creation of specific resource types, you need to allow the
Microsoft.AzureArcData/sqlServerInstancesresource type. If you don't allow this resource type, theSQLServerInstances_Updateoperation fails with a 'deny' Policy action log entry in the activity log of the subscription.
You can either register a single SQL Server instance, or upload a CSV file to register multiple SQL Server instances in bulk.
Single SQL Server instance
Go to the SQL Server instances pane in the Azure portal.
To register a SQL Server, select Add in the navigation bar:
Select Register SQL Server instances to add a SQL Server instance.
Specify Single SQL Server Instance. This value is the default.
Choose the Subscription and Resource group for your registered SQL Server instance.
Enter the required information as detailed in the following table, and then select Next:
Value Description Additional information Instance Name Enter the output of command SELECT @@SERVERNAME.If you have a named instance, replace the backslash ( \) with a hyphen (-). For example,MyServer\Instance01becomesMyServer-Instance01.SQL Server Version Select your version from the dropdown list. Edition Select the applicable edition from the dropdown list: Datacenter, Developer (free to deploy if purchased ESUs), Enterprise, Standard, Web, Workgroup. Cores Enter the number of cores for this instance Host Type Select the applicable host type from the dropdown list: Virtual machine (on-premises), Physical Server (on-premises), Azure Virtual Machine, Amazon EC2, Google Compute Engine, Other. Confirm that you have the rights to receive ESUs by using the checkbox.
Multiple SQL Server instances in bulk
You can register multiple SQL Server instances at once by uploading a .CSV file. After you format your .CSV file correctly, follow these steps to bulk register your SQL Server instances:
Go to the SQL Server instances pane in the Azure portal.
To register a SQL Server instance, select Add in the navigation bar:
Select Register SQL Server instances to add a SQL Server instance.
Select the option for Multiple SQL Instances.
Select the Browse icon to upload the CSV file containing multiple disconnected SQL Server instances.
Confirm that you have the rights to receive ESUs by using the checkbox provided.
After you add your SQL Server instances, you see them in the portal after a few minutes. Because you added them manually, they always show the description Registered.
Formatting requirements for CSV file
Use commas to separate values.
Don't use single or double quotes around values.
Values can include letters, numbers, hyphens (
-), and underscores (_). Don't use other special characters. If you have a named instance, replace the backslash (\) with a hyphen (-). For example,MyServer\Instance01becomesMyServer-Instance01.Column names are case-sensitive and must be named as follows:
- name
- version
- edition
- cores
- hostType
Example CSV file
The CSV file should look like this:
name,version,edition,cores,hostType
Server1-SQL2014,SQL Server 2014,Enterprise,12,Other Physical Server
Server2-SQL2014,SQL Server 2014,Enterprise,24,Other Physical Server
Server3-SQL2014,SQL Server 2014,Enterprise,12,Azure Virtual Machine
Server4-SQL2014,SQL Server 2014,Standard,8,Azure VMware Solution
Link ESU invoice
Use the Purchase Order Number under Invoice Summary in your Microsoft invoice (as shown in the following screenshot) for the Invoice ID value to link the ESU purchase with the SQL Server instances.
To link an ESU invoice to your SQL Server instances and get access to extended updates, follow these steps. This example includes both Connected and Registered instances.
Go to the SQL Server instances pane in the Azure portal.
Use the checkboxes next to each SQL Server instance you want to link, and then select Link ESU invoice.
Enter the ESU invoice number in the Invoice ID section, and then select Link invoice.
The servers you linked to the ESU invoice now show a valid ESU expiration date.
Important
When registering an ESU VL product for disconnected SQL Server servers, select only the instances with the Status of Registered.
Download ESUs
After you link your ESU invoice, you can manually download ESUs from the Extended Security Updates pane for your SQL Server instance in the Azure portal.
Frequently asked questions
For a full list of frequently asked questions, see the Extended Security Updates: Frequently asked questions.
Related content
- SQL Server 2014 lifecycle page
- SQL Server end of support page
- Extended Security Updates frequently asked questions (FAQ)
- Microsoft Security Response Center (MSRC)
- Update Management overview
- Automated Patching for SQL Server on Azure virtual machines
- Microsoft Data Migration Guide
- Azure migrate: lift-and-shift options to move your current SQL Server into an Azure VM
- Cloud adoption framework for SQL migration
- ESU-related scripts on GitHub