356 questions with SQL Server on Azure Virtual Machines tags

Sort by: Updated
2 answers

All physical cores of Host server on premise is licensed with "SQL Server Enterprise"- Can we use SA benefit unlimited virtualization to license VM deployed on licensed Server with "Azure arc enabled SQL server" .

All physical cores of Host on premise server is licensed with "SQL Server Enterprise". Can we use SA benefit "unlimited virtualization" to license VM deployed on licensed Server with "Azure arc enabled SQL server" ? or we…

SQL Server on Azure Virtual Machines
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
324 questions
asked 2023-04-02T20:27:34.6733333+00:00
Ajit 0 Reputation points
edited the question 2023-04-03T14:30:58.72+00:00
AnuragSingh-MSFT 20,016 Reputation points
1 answer One of the answers was accepted by the question author.

GuestConfig agent failed to compute compliance status for Windows Server 2022 in Azure

Hello Team, I'm trying to Compliant the "Windows Web Server ha Secure Communication Protocols" Policy for my azure VM. The Compliance Status shows me Non-Compliant because of GuestConfig agent failed to compute the compliance status. Cannot…

SQL Server on Azure Virtual Machines
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,807 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,152 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,165 questions
asked 2023-03-24T14:38:19.3933333+00:00
Rahul 276 Reputation points
edited a comment 2023-03-28T11:17:56.41+00:00
Rahul 276 Reputation points
2 answers

RTO for cross region restore of sql on VM

Based on this article there is an RPO definition for using cross region restore for a sql database on VM I couldn't find what is the RTO for this type of ability? Is it documented somewhere?

SQL Server on Azure Virtual Machines
Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,132 questions
asked 2023-02-27T13:14:20.6+00:00
Assaf L 261 Reputation points
commented 2023-03-23T12:52:21.26+00:00
Assaf L 261 Reputation points
1 answer

Unclear RPO and RTO for SQL always on availability group

The article about BCDR for SQL Server provides a descriptive information regarding RTO and RPO for using Always On availability group for SQL Server on Azure VM (RTO: The time taken to make the secondary replica as primary, RPO: Because replication to…

SQL Server on Azure Virtual Machines
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
636 questions
asked 2023-02-27T14:51:43.0633333+00:00
Assaf L 261 Reputation points
commented 2023-03-08T16:10:59.9433333+00:00
Assaf L 261 Reputation points
1 answer

A network-related or instance-specific error occurred while establishing a connection to SQL Server.

I am using a macbook m1 pro while i am connecting to azure data base it is showing an error but i have done everything correctly but i dont know what is the problem occured please help me with this

SQL Server on Azure Virtual Machines
Azure SQL Database
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
713 questions
asked 2023-02-04T18:34:19.05+00:00
Ahamed Ajas 0 Reputation points
commented 2023-02-27T20:59:36.7033333+00:00
Oury Ba-MSFT 16,391 Reputation points Microsoft Employee
1 answer

error with msodbc installation on docker

I had a container where I installed msodbc successfully 2023-02-11T19:37:57.4354185Z Step 26/48 : RUN sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17 2023-02-11T19:37:57.4581744Z ---> Running in 4a4103163268 2023-02-11T19:37:58.7290566Z Reading…

SQL Server on Azure Virtual Machines
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
asked 2023-02-14T16:39:23.99+00:00
Huhn, Alexander 95 Reputation points
commented 2023-02-24T18:09:32.9233333+00:00
deherman-MSFT 33,471 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Azure SQL Database and General Azure Questions

Hello everyone, We are experinced in on-premise world, but when it comes to cloud world we are rookie. So, we have some questions to understand Azure Cloud. Like Oracle SQL and ODI in on-premise world, What is the best tool combination in terms of…

SQL Server on Azure Virtual Machines
Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,152 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,589 questions
asked 2023-02-20T08:10:34.9266667+00:00
Kerem Kabil 20 Reputation points
commented 2023-02-22T08:33:43.5366667+00:00
Kerem Kabil 20 Reputation points
3 answers

I installed the sql server in Azure Windows VM(IAAS) service to configure to azure webapp

I installed the SQL server in Azure Windows VM(IAAS) service to configure the azure web app using VNet Integration But it is not connected and also I set up the NSG rules to the VM. Can you plz suggest to me how to integrate IAAS SQL into Azure Web…

SQL Server on Azure Virtual Machines
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,902 questions
asked 2023-01-24T10:11:01.9933333+00:00
Chakali Sekshavali 0 Reputation points
edited the question 2023-02-16T02:40:45.44+00:00
Ryan Hill 25,826 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Need to migrate from SQL 2016 onprem to Azure Synapse or SQL server on VM or MI, which option is best in terms of cost and compatibility. Total database size is around 110GB.

Need to migrate from SQL 2016 onprem to Azure Synapse or SQL server on VM or MI, which option is best in terms of cost and compatibility. Total database size is around 110GB.

SQL Server on Azure Virtual Machines
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,046 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,391 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
495 questions
asked 2023-02-14T05:21:32.9566667+00:00
gupta, Utkarsh 41 Reputation points
edited a comment 2023-02-14T17:51:48.26+00:00
gupta, Utkarsh 41 Reputation points
3 answers One of the answers was accepted by the question author.

Should we use second network card for SQL Server AlwaysOn AG group private network on VMs?

We are using VMs for all SQL Servers. Network cards will be virtual as well. When we build AlwaysOn AG group, should we use two network cards for each nodes? One for private which can use for mirror/replication data, one for listener or public? Or…

SQL Server on Azure Virtual Machines
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,748 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
959 questions
asked 2023-02-09T23:51:30.1633333+00:00
Sky River 66 Reputation points
answered 2023-02-12T02:39:20.0733333+00:00
vipullag-MSFT 24,206 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How to restore azure sql server database from .bak file located in blob storage automatically with sql server agent jobs

Hi! My current setup consists of a blob storage account cointaining .bak backup files, in addition to an SQL server running on an Azure Virtual Machine. I want to automatically restore the database located at the sql server every night (when a new .bak…

SQL Server on Azure Virtual Machines
Azure SQL Database
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,436 questions
asked 2023-01-14T18:46:17.87+00:00
August Asheim Birkeland 20 Reputation points
commented 2023-01-28T11:32:00.1+00:00
August Asheim Birkeland 20 Reputation points
1 answer

How can I get SQL VM retail rates using REST API?

I want to get the platform retail rates of my SQL VMs that I have running, but through code using the REST API but can't find any rates for SQL VMs. I don't want to manually use the Azure Calculator and the rates and rate card attributes of resources are…

SQL Server on Azure Virtual Machines
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,046 questions
asked 2022-12-30T15:35:15.74+00:00
Matthew Blessing 46 Reputation points
edited a comment 2023-01-24T14:04:42.25+00:00
Matthew Blessing 46 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to connect to Azure SQL database from SSMS

Hi, I followed this blog to create SQL Virtual Machine. I am able to connect to the default DB within the VM itself, but Not able to connect through my ocal workstation(Laptop). TITLE: Connect to Server …

SQL Server on Azure Virtual Machines
asked 2021-10-27T11:39:21.447+00:00
Rajesh Swarnkar 851 Reputation points
edited the question 2023-01-18T04:05:04.14+00:00
vipullag-MSFT 24,206 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

KQL to monitor Sql Server Performance for Azure SQLVM

All, I'm looking KQL query to monitor SQL Server performance for Azure SQLVm using Log analytics workspace. Thanks.

SQL Server on Azure Virtual Machines
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,807 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,152 questions
asked 2023-01-06T13:07:58.863+00:00
Rahul 276 Reputation points
commented 2023-01-11T11:02:33.1366667+00:00
Rahul 276 Reputation points
2 answers One of the answers was accepted by the question author.

How to expand sql datadisk

Hello everyone. I have an VM sql server with a DATADISK of 128GB I need to extend the disk and I see this: When I try to add for example 32Gb I obtain an error: So...I need first to modify my Datadisk 128GB to 256gb? (not possible to add only 32…

SQL Server on Azure Virtual Machines
asked 2023-01-10T18:16:22.473+00:00
Oscar Moyano 66 Reputation points
answered 2023-01-10T19:24:50.907+00:00
Oscar Moyano 66 Reputation points
1 answer One of the answers was accepted by the question author.

Does Get-AzSqlDatabase pull info from a SQL instance on a Azure VM ? I get this when i try.

Get-AzSqlDatabase : Can not perform requested operation on nested resource. Parent resource 'SQLInstance' not found. At S:\BackupStatus\All SQLServers.ps1:13 char:9 Get-AzSqlDatabase -ResourceGroupName $server.ResourceGroupNam ... …

SQL Server on Azure Virtual Machines
asked 2023-01-05T16:04:40.077+00:00
Narasimhan, Ranga 26 Reputation points
accepted 2023-01-05T19:31:15.24+00:00
Narasimhan, Ranga 26 Reputation points
5 answers

Azure VM Type

Hi Team, While calculating cost of the Azure VM (through Azure calculator) on which SQL Server Standard 2019 is to be installed, for Type dropdown, what is the difference between OS only and SQL Server? Does this means for calculating cost of an…

SQL Server on Azure Virtual Machines
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,152 questions
asked 2022-12-04T15:28:31.447+00:00
salilsingh-9961 346 Reputation points
answered 2023-01-02T02:04:12.567+00:00
Łukasz Przyjemski 11 Reputation points
1 answer One of the answers was accepted by the question author.

Backup PostgreSQL

Hi All i have Azure Database for PostgreSQL server(Resource Type: Azure Database for PsotgreSQL flexible server). I want to take the backup as application team is performing an upgrade.

SQL Server on Azure Virtual Machines
Azure Database for PostgreSQL
asked 2022-12-28T05:45:08.29+00:00
Glenn Maxwell 10,146 Reputation points
accepted 2022-12-28T11:05:52.737+00:00
Glenn Maxwell 10,146 Reputation points
3 answers One of the answers was accepted by the question author.

Connect SQLCMD in Linux using root user

Hi, how to connect SQLCMD in Linux using root user? We have SA account which got automatically disabled and there is no other login available to enable the SA Account or login to SQL Server SSMS. So, is there any way to login to SQL Server using…

SQL Server on Azure Virtual Machines
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,748 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,554 questions
asked 2022-12-25T11:52:10.307+00:00
Gnana Balaji Kanagaraj 41 Reputation points
answered 2022-12-26T09:26:27.503+00:00
Gnana Balaji Kanagaraj 41 Reputation points
1 answer One of the answers was accepted by the question author.

do we have option to retsore sqldb in azure sql backup to different subscription

Hi Team, Do we have option to restore sql db from one subscription to another one like azure vm backup? From azure portal, we are unable to see the selection if different subscription during the sqldb restore Can you please check and update?…

SQL Server on Azure Virtual Machines
Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,132 questions
Azure SQL Database
asked 2022-11-25T10:59:08.643+00:00
Siva 646 Reputation points
accepted 2022-12-26T03:29:28.193+00:00
Siva 646 Reputation points