433 questions with SQL Server on Azure Virtual Machines tags

Sort by: Updated
1 answer

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
commented 2025-11-11T06:31:42.2+00:00
VRISHABHANATH PATIL 1,475 Reputation points Microsoft External Staff Moderator
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 9,885 Reputation points Microsoft External Staff Moderator
1 answer

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
commented 2025-11-05T03:20:05.7333333+00:00
VRISHABHANATH PATIL 1,475 Reputation points Microsoft External Staff Moderator
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 1,350 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 1,350 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,608 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
3 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,712 questions
SQL Server | Other
asked 2024-06-28T13:20:16.26+00:00
Niket Kumar Singh 835 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 4,650 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Health Probe Failing After Azure Load Balancer SKU Upgrade – One SQL Server Unhealthy

We have an Azure setup with a SQL pool containing two SQL servers (SQLServer-0 and SQLServer-1) behind a Load Balancer. The Load Balancer is configured with a custom TCP health probe on port 59999. Everything was working as expected prior to upgrading…

SQL Server on Azure Virtual Machines
asked 2025-10-03T12:10:31.6133333+00:00
GOPINATH M 60 Reputation points
commented 2025-10-17T10:17:50.39+00:00
Pratyush Vashistha 4,650 Reputation points Microsoft External Staff Moderator
1 answer

How can I increase the size of the data disk on a Windows Server VM running SQL Server?

Hi, I have a Windows Server VM on Azure that is running SQL Server. Its size is Standard E4bds v5 and it was created from the sql2022-ws2022 source image offer. It has a single P30 Premium SSD LRS data disk of swize 1024GiB. I want to increase the size…

SQL Server on Azure Virtual Machines
asked 2025-10-10T02:08:16.9533333+00:00
Daniel-08125 0 Reputation points
commented 2025-10-16T23:19:37.7066667+00:00
TP 144.3K Reputation points Volunteer Moderator
1 answer

SQL virtual machine version upgrade

We are currently using SQL virtual machine 2016 version standard edition the end of support is going to reach at July14, 2026. So, we are plaining to upgrade the SQL virtual machine to 2022 version. our Virtual machine size is Standard E8-4ads v5. We…

SQL Server on Azure Virtual Machines
asked 2025-10-15T10:11:48.43+00:00
Dhanushkumar J 0 Reputation points
answered 2025-10-16T09:03:56.88+00:00
Kalyani Kondavaradala 3,540 Reputation points Microsoft External Staff Moderator
2 answers

VM Started Automatically to Create/Update/Delete Virtual Machine Extension by SQLVMResourceProviderAuth

I noticed that 3 of my VMs were automatically started by a system process and left running. It seems to be related to creating or updating and then deleting virtual machine extensions by the SQLVMResourceProviderAuth entity. Events (both on the same…

SQL Server on Azure Virtual Machines
asked 2025-10-03T14:45:50.17+00:00
tonypinter 0 Reputation points
commented 2025-10-06T08:00:20.6366667+00:00
Abhisek Mishra 940 Reputation points Microsoft External Staff Moderator
1 answer

How to remove SQL Server 2017 after in-place upgrade to 2022 on Azure SQL VM?

Hi community members, I’ve completed an in-place upgrade of SQL Server from 2017 to 2022 on an Azure SQL VM using this Microsoft guide: Change SQL Server version on Azure VM. The upgrade went fine, and the VM is re-registered with the SQL IaaS Agent…

SQL Server on Azure Virtual Machines
asked 2025-09-17T18:58:10.8633333+00:00
Nikunj Patel 20 Reputation points
edited a comment 2025-09-22T07:10:42.17+00:00
Abhisek Mishra 940 Reputation points Microsoft External Staff Moderator
2 answers

Recovery Pending mode.

Hello, Last night we increased the CPU and RAM size of our production Windows machine running on Azure to optimize performance and manage credits more efficiently. However, after the resize operation, our SQL Server databases have gone into Recovery…

SQL Server on Azure Virtual Machines
asked 2025-09-12T03:49:56.52+00:00
Nasuh Akın 0 Reputation points
commented 2025-09-17T02:10:42.8+00:00
Pratyush Vashistha 4,650 Reputation points Microsoft External Staff Moderator
1 answer

With SQL Server 2019, how do you configure PMEM on an Azure VM?

As a DBA relatively new to the Azure VM environment, do you have the ability to configure SQL Server 2019 as described in https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-persistent-memory?view=sql-server-ver17. I have…

SQL Server on Azure Virtual Machines
asked 2025-08-29T18:55:50.8333333+00:00
Hulings, David 5 Reputation points
commented 2025-09-08T15:48:10.8666667+00:00
VRISHABHANATH PATIL 1,475 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Memory issue on Azure SQL Server VM

Hi Team, Need your help to troubleshoot. high memory issue on one of the SQL Server on Azure Virtual Machine. No other application installed on this VM. its dedicated to SQL only. Here is the existing setting at SQL : Total Memory in VM server: 64…

SQL Server on Azure Virtual Machines
asked 2025-08-19T23:56:49.74+00:00
Vijay Kumar 2,061 Reputation points
accepted 2025-08-26T17:49:37.0533333+00:00
Vijay Kumar 2,061 Reputation points
1 answer

How do I deploy an Azure SQL VM?

I am trying to start up a Windows 2022 VM with Developer's Edition SQL 2022. It's a menu option, so it seems this should be pretty straightforward. It fails with MSSQL Service failing to start -- every time. I am largely taking defaults -- main…

SQL Server on Azure Virtual Machines
asked 2025-08-19T11:19:28.9333333+00:00
Steven K. Mariner 0 Reputation points
commented 2025-08-21T05:51:08.1666667+00:00
Saraswathi Devadula 13,330 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Network security group to allow inbound 1433 connections not working as expected in SQL Virtual Machine

Hi all, I'm using the following to deploy a SQL Server virtual machine. This machine allows mixed type authentication and allows external connections. imageReference { publisher: 'microsoftsqlserver' offer: 'sql2022-ws2022' sku:…

SQL Server on Azure Virtual Machines
asked 2025-08-09T00:39:39.2966667+00:00
Cameron Collver 20 Reputation points
accepted 2025-08-11T16:08:35.81+00:00
Cameron Collver 20 Reputation points
2 answers

Data disk space is low

Action is needed immediately to prevent data/application issues. Our SQL data drive is getting full; we have increased the VM to resize the disk but still the vm shows the same size. And the SQL is almost full.

SQL Server on Azure Virtual Machines
asked 2025-07-30T01:10:39.7033333+00:00
Deena Sridharan 0 Reputation points
commented 2025-07-31T03:09:03.2633333+00:00
TP 144.3K Reputation points Volunteer Moderator