443 questions with SQL Server on Azure Virtual Machines tags

Sort by: Updated
1 answer

Resize of SQL Virtual Machine loses all settings

I create a SQL VM using the sql2022-ws2022 image and started to setup. Machine is D8ds_v4 This image setup C Drive with the operating system D Drive (temp drive including the SQL Temp Database) E Drive (1 GB Drive for SQL Data Files) F Drive (1 GB…

SQL Server on Azure Virtual Machines
asked 2026-04-08T23:03:15.69+00:00
TBFG Azure Admin 0 Reputation points
commented 2026-04-09T13:11:28.4133333+00:00
Ankit Yadav 13,135 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Connection Challenges with Azure Databricks and SQL Server On VM in Serverless compute.

We successfully configured VNet peering between the SQL VM's VNet and the Databricks VNet, allowing access to the SQL Server on VMs. Testing the connection from Databricks using a job cluster yielded successful results, confirming that everything…

SQL Server on Azure Virtual Machines
Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.

2,916 questions
asked 2024-10-28T05:19:04+00:00
Vetrivel Dhakshinamoorthy 20 Reputation points
answered 2026-03-24T10:41:07.21+00:00
Justin Nel 6 Reputation points
2 answers

Microsoft.SqlVirtualMachine Resource Provider returning GatewayTimeout for specific VM in East US 2 — CLI and Terraform both affected

The Azure Resource Provider Microsoft.SqlVirtualMachine is returning a GatewayTimeout for a specific SQL VM resource in East US 2. All API calls to read this resource fail — both via Azure CLI and Terraform — while the same configuration works fine for…

SQL Server on Azure Virtual Machines
asked 2026-03-19T08:42:34.0833333+00:00
Dharati Parmar 0 Reputation points
answered 2026-03-24T06:39:40.8733333+00:00
Dharati Parmar 0 Reputation points
2 answers One of the answers was accepted by the question author.

Process for Upgrading SQL Server Version on Azure Pay as You Go VM

Hi, Trying to find documentation on upgrading the SQL Version (i.e., 2019 to 2022) on a pay as you go Azure VM that included the Windows Server and SQL Server license in the pay as you go. Everything thing I can find seems to be related to hybrid…

SQL Server on Azure Virtual Machines
asked 2026-03-20T11:44:15.1233333+00:00
Alan Whitehouse 40 Reputation points
accepted 2026-03-23T11:00:05.7133333+00:00
Alan Whitehouse 40 Reputation points
2 answers

Connecting to database in Azure virtual machine SQL server

I am planning to connect to azure database resided in azure SQL virtual machine server ( IAAS) from Azure devops pipelines. azure SQL virtual machine version is 2022, is it supported? if it is not supported which one version is supported ?

SQL Server on Azure Virtual Machines
asked 2026-03-19T14:41:19.0733333+00:00
Varma 1,560 Reputation points
answered 2026-03-20T03:44:40.57+00:00
Saraswathi Devadula 15,515 Reputation points Microsoft External Staff Moderator
1 answer

For upgrade SQL server I have installed all the required SQL

Now I am not able to connect to vm and not able to start the vm

SQL Server on Azure Virtual Machines
asked 2026-03-05T06:37:47.6733333+00:00
NAVEEN Mittal 130 Reputation points Microsoft External Staff
edited a comment 2026-03-13T23:27:43.4633333+00:00
Jilakara Hemalatha 11,600 Reputation points Microsoft External Staff Moderator
2 answers

Azure VM resize SQL server standard license will apply the license or additional purchase required

Hello Support, Azure VM running with Standard E4ads v5(4vCPU and 32 GB RAM and this will resize the VM to E8ads_v5 -8core CPU with 64 GB memory this will apply the sql Standard Edition (64-bit) on Windows Server 2019 or need to purchase addition…

SQL Server on Azure Virtual Machines
asked 2026-03-06T12:37:38.48+00:00
Sakthivel M 0 Reputation points
commented 2026-03-07T05:31:11.3066667+00:00
Sakthivel M 0 Reputation points
2 answers

After disk resize not able to see the extended volume showing same space

After disk resize not able to see the extended unalocated space in diskmgmt, increased from 64 to 104 in diskmgmt still it is showing 64 gb. vm sku is Standard D8ads v5 (8 vcpus, 32 GiB memory) vm is sql vm.

SQL Server on Azure Virtual Machines
asked 2026-01-21T13:01:50.7466667+00:00
RajeshKumar G 20 Reputation points
commented 2026-02-23T06:04:29.5566667+00:00
Ankit Yadav 13,135 Reputation points Microsoft External Staff Moderator
2 answers

How do I integrate Microsoft Entra ID users with SQL server on SQLVM

Hello all, I am having an issue with remotely using my business software installed on my SQLVM. I have set up the remote access to the software on my SQLVM using AVD web client. The remote access using an Entra ID test user is successfully however, once…

SQL Server on Azure Virtual Machines
asked 2025-12-18T14:26:09.4633333+00:00
TAMWO Arnaud 0 Reputation points
commented 2026-01-13T11:32:44.82+00:00
TAMWO Arnaud 0 Reputation points
2 answers

Can the same SQL Server 2022 license be used to upgrade multiple Azure VMs from SQL Server 2016 using the same media file?

We have successfully upgraded SQL Server 2016 to SQL Server 2022 on an Azure Virtual Machine using the SQL Server 2022 setup media file. We would like clarification on the following points from Microsoft: Can the same SQL Server 2022 installation media…

SQL Server on Azure Virtual Machines
asked 2025-12-24T16:04:42.98+00:00
YoursDBA Cloud 0 Reputation points
commented 2026-01-12T09:42:17.31+00:00
Manoj Kumar Boyini 11,600 Reputation points Microsoft External Staff Moderator
1 answer

SQL Server Stuck in Disabled state

Our Azure subscription was deactivated on 10/23. We reactivated it on 12/5 but our database hrt-db-mysql-01 is still in a disabled state as of 12/9, with no option to start it. There are no avenues for support via phone / email / ticket through the…

SQL Server on Azure Virtual Machines
asked 2025-12-09T17:39:55.5133333+00:00
Kevin Sutor 0 Reputation points
commented 2025-12-26T19:43:54.1966667+00:00
Pilladi Padma Sai Manisha 6,580 Reputation points Microsoft External Staff Moderator
2 answers

How to enable SQL best practices assessments for SQL VMs via Powershell (not CLI)

I am using Powershell and the Update-AzSqlVM cmdlet to enable the features included with the SQL Server IaaS extension. I have been able to successfully Configure Storage via -SqlManagementType 'Full' parameter, but having trouble with the Enable SQL…

SQL Server on Azure Virtual Machines
asked 2025-10-21T18:27:00.6333333+00:00
Paul Sebestyen 0 Reputation points
edited a comment 2025-11-20T20:51:24.1533333+00:00
Anonymous
2 answers

Free SQL Server

What is free location for using. When i am trying to create server name then no free location available so.

SQL Server on Azure Virtual Machines
asked 2025-11-06T16:16:47.2233333+00:00
ARS ETW 0 Reputation points
answered 2025-11-10T16:02:46.2033333+00:00
Mahesh Kurva 10,520 Reputation points Microsoft External Staff Moderator
2 answers

Data was not updating rows that contained existing primary key

Problem:  Data was not updating rows that contained existing primary key. Solution:  Go through and run where row exists update if not insert. Conflict: This increases row count which thus increases total files: 100+ added to each month. Possible…

SQL Server on Azure Virtual Machines
asked 2025-11-05T15:51:29.65+00:00
SPorter 0 Reputation points
answered 2025-11-05T17:38:49.12+00:00
Anonymous
1 answer

Azure 'East US 2' - No windows 2012 marketplace images

Azure 'East US 2' has no windows 2012 marketplace images. Could you please clarify why Windows Server 2012 images are unavailable in the East US 2 Azure region? The Central US still has these images, but East US 2 does not. Is this expected…

SQL Server on Azure Virtual Machines
asked 2025-10-31T06:06:56.96+00:00
ZTS 60 Reputation points
answered 2025-11-04T12:00:49.9233333+00:00
Himanshu Shekhar 5,140 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Exporting Azure SQL database to BACPAC fails when Storage Account is restricted to "Selected networks"

Hi, I’m trying to export an Azure SQL database to a BACPAC file using both the Azure Portal and the az sql db export command. The target Storage Account has the following configuration: Storage Account → Networking → Public network access: Enable from…

SQL Server on Azure Virtual Machines
asked 2025-10-28T11:59:18.03+00:00
Ivan Panshin 20 Reputation points
accepted 2025-11-03T12:22:40.3933333+00:00
Ivan Panshin 20 Reputation points
1 answer

Extending Disk Space

I need to increase the storage space on my Azure SQL Server VM. I currently have a data array with 4 drives-each of which were 8GB. I modified each of them to be 10TB in total but after rebooting the server, it now shows my original F: which the same…

SQL Server on Azure Virtual Machines
asked 2025-10-29T01:17:17.1033333+00:00
Lee Thornton 0 Reputation points
answered 2025-10-30T05:13:15.45+00:00
Himanshu Shekhar 5,140 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Changing backup policy for Azure SQL databases in Azure recovery service valut

How to change backup policy for Azure SQL Database backup configured in RSV. I know one way but with that, policy has been changed on each database level.. Is there any way we can change for all the databases at one go.

SQL Server on Azure Virtual Machines
Azure Backup
Azure Backup

An Azure backup service that provides built-in management at scale.

1,736 questions
asked 2022-05-26T07:37:48.41+00:00
Chetan Jain 71 Reputation points
edited a comment 2025-10-28T14:00:18.37+00:00
Antonio V 0 Reputation points
2 answers One of the answers was accepted by the question author.

Preventing Database Deletion in SSMS

prevent accidental database deletions within SQL Server Management Studio (SSMS). Currently, I am exploring options to enforce this restriction effectively implemented a DDL trigger Is the above DDL trigger approach appropriate for preventing…

SQL Server on Azure Virtual Machines
Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

4,715 questions
SQL Server | Other
asked 2024-06-28T13:20:16.26+00:00
Niket Kumar Singh 840 Reputation points
answered 2025-10-24T13:17:36.25+00:00
Ramana Kopparapu 306 Reputation points
1 answer

Where can I read the transcript for the Azure SQL

I would like to read instead of listening all the time

SQL Server on Azure Virtual Machines
asked 2025-10-14T15:55:26.2966667+00:00
renee fontan 0 Reputation points
commented 2025-10-21T03:59:05.0533333+00:00
Pratyush Vashistha 5,135 Reputation points Microsoft External Staff Moderator