8,760 questions with Azure Virtual Machines tags

Sort by: Updated
3 answers

How to reattach an OS Disk after detaching from a VM?

I wanted to detach an OS Disk from an existing VM and the only way I found that this can be done is by deleting the VM but keeping the OS Disk. See picture below. Which is fine by me but when creating a new VM how do I attach this disk to the new VM?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T08:22:22.09+00:00
Jugert Mucoimaj 0 Reputation points
commented 2025-05-08T09:07:57.22+00:00
Durga Reshma Malthi 30 Reputation points Microsoft External Staff
0 answers

Startup credits draining for deleted E16 v3/E16s v3 VM – two weeks and counting

Hi everyone, Hoping the community can shed some light on this. Timeline: Two weeks ago I de-allocated and deleted an E16 v3/E16s v3 virtual machine. Current state: There are zero VMs of that series left—no orphaned disks or IPs either. Problem: My…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-05T12:41:06.08+00:00
Luis Pacheco 0 Reputation points
commented 2025-05-08T09:06:10.9433333+00:00
Durga Reshma Malthi 30 Reputation points Microsoft External Staff
0 answers

Unable to attach an unassigned disk to new VM

Existing disk that is not associated with any VM is not showing up on my new VM to be able to attach to it. How do I do that via the portal?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-06T23:22:36.5433333+00:00
Smit Shah 0 Reputation points
edited a comment 2025-05-08T07:11:05.92+00:00
Akshay kumar Mandha 3,000 Reputation points Microsoft External Staff
0 answers

Restoring Access After Removing Account from IAM

An account was mistakenly removed from Access control (IAM), resulting in the server being unreachable. What steps can be taken to restore access to the server?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-05T14:20:30.7233333+00:00
Gerdmate Team 0 Reputation points
edited a comment 2025-05-08T05:22:28.2366667+00:00
Vamsi Ram Annepu 640 Reputation points Microsoft External Staff
1 answer

[Azure] Installing windows feature on Windows Server 2025 takes longer time

Hello, I am trying to install Windows features on a Azure VM with a Windows 2025 Datacenter Azure marketplace image. The install of the feature takes longer time than compare to the previous Windows 2022 Datacenter Azure marketplace image (Please note…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-04-28T23:11:13.4733333+00:00
Rushikesh Gaidhani 161 Reputation points
commented 2025-05-08T04:56:12.85+00:00
Bheemani Anji Babu 160 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Why cant I delete a Linux VM, showing error code: undefined?

I am trying to delete two VMs. One windows, one Linux. They have both been stopped but give the above error. I have the correct permisions I have tried several time restarted browser etc. Trying to delete fromt the Azure Web UI.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-08T02:03:26.3233333+00:00
Nathan Reinbott 0 Reputation points
commented 2025-05-08T03:29:33.4666667+00:00
Nathan Reinbott 0 Reputation points
1 answer

How to configure email from Linux server to O365 with Non-Profit sponsorship

So, I'm helping out a non-profit that has both Office 365 and Azure via a sponsorship. They run a WordPress server in Azure and want to be able to receive email from that server to some accounts in their O365 service. I'm going through the various…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T15:44:18.2+00:00
Eduard Martinescu 0 Reputation points
edited a comment 2025-05-08T01:19:36.61+00:00
Mounika Reddy Anumandla 4,465 Reputation points Microsoft External Staff
2 answers

Need Query or Other option to see how many VM's does not have AzureMonitorWindowsAgent extension installed ?

I Need help to get list of VM which does not have AzureMonitorWindowsAgent extension installed ? Is there any Kusto or resource graph query or any other way we can confirm ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-05T16:55:38.4966667+00:00
Shailesh Chauhan 0 Reputation points
edited a comment 2025-05-08T00:51:39.2733333+00:00
Pramidha Yathipathi 600 Reputation points Microsoft External Staff
0 answers

Cant boot VM after enabling Bitlocker.

I enabled Bitlocker, it was configured to allow for bitlocker password to boot but not required, i cant remote into my VM now, it boots and then shuts down. I assume its doing this because its not getting the bitlocker password but i cannot use bastian…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T19:52:34.2+00:00
Dalton Murray 0 Reputation points
commented 2025-05-07T22:02:47.5533333+00:00
Pramidha Yathipathi 600 Reputation points Microsoft External Staff
0 answers

ENCERROU O PERIODO DE TESTE DA VM, COMO ACESSAR OS ARQUIVOS? NÃO VOU CONTIAR COM A ASSINATURA.

OLÁ CRIEI UMA VM E ONTEM MEU PERIODO DE TESTE ENCERROU, COMO FAÇO PARA ACESSAR OS ARQUIVOS QUE SUBI NA VM?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T16:51:48.05+00:00
VERONICA CRISTINA DA SILVA 0 Reputation points
commented 2025-05-07T18:24:07.4466667+00:00
Pramidha Yathipathi 600 Reputation points Microsoft External Staff
0 answers

Linux VM Nginx Issue

Team, When I am trying to Issue Azure CLI commands for Installing Nginx server, I am facing issue. Please see below and help me. # Update apt cache. sudo apt-get update #We need to add repo before installing nginx-core. Otherwise we get an error sudo…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T14:34:35.6866667+00:00
Nandha Kumar 0 Reputation points
edited a comment 2025-05-07T17:57:27.8933333+00:00
Nikhil Duserla 6,960 Reputation points Microsoft External Staff
1 answer

Encryption At Host on Domain Controller VMs

I would like to enable Encryption At Host on all Azure Virtual Machines. For our Domain Controller VMs, I need to confirm the best practice for shutting them down and deallocating them. From what I understand, Domain Controllers should be shut down from…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-05T15:28:47.23+00:00
Richard Long 341 Reputation points
commented 2025-05-07T17:02:33.0166667+00:00
Pramidha Yathipathi 600 Reputation points Microsoft External Staff
1 answer

How to enable vtpm for a confidential VM using the cli

I am trying to create an Azure Confidential VM using the cli. I already created a Public IP address Network security group Network Interface Disk Network security group and I would like to create the VM. I ran az vm create \ --name azure-temp \ …

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-04-21T04:28:32.1666667+00:00
cloud D 40 Reputation points
commented 2025-05-07T16:58:16.5733333+00:00
Pramidha Yathipathi 600 Reputation points Microsoft External Staff
2 answers

Create or Update Virtual Machine Extension Failed

Can you please help on this issue "Create or Update Virtual Machine Extension"? …

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-04-23T08:04:45.91+00:00
Pranab Nath 0 Reputation points
answered 2025-05-07T15:57:40.11+00:00
Pranab Nath 0 Reputation points
1 answer One of the answers was accepted by the question author.

RHEL 9.2 VM in Azure - dnf update is failing

Red Hat Enterprise Linux 9 for x86_64 - AppStream - Extended Update Support from RHUI (RPMs) 0.0 B/s | 0 B 02:00 Errors during…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-04-03T13:11:42.6266667+00:00
Willie Castillo 20 Reputation points
accepted 2025-05-07T14:19:10.53+00:00
Willie Castillo 20 Reputation points
1 answer

How can I open port 25 to allow sending email from Azure VM

Hello, Is it possible to open port 25, to enable an application running on an Azure VM to send email using the domain's MX record address as the SMTP server? I've had this setup running successfully on-premises, and have since moved the server into…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-04-09T03:30:20.7733333+00:00
MFP Admin 0 Reputation points
edited a comment 2025-05-07T13:47:44.5433333+00:00
Mounika Reddy Anumandla 4,465 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Convert Azure Spot VM to Regular Standard VM

I'm want the Azure Spot VM into a regular standard VM? If so, what are the steps involved in this process? I would appreciate any suggestions.!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T02:43:17.3766667+00:00
Sathwik 0 Reputation points
accepted 2025-05-07T13:24:26.0533333+00:00
Sathwik 0 Reputation points
1 answer One of the answers was accepted by the question author.

New AMD GPU VM NVads V710 v5 series is not showing up, can't even request quota

These VMs are now GA https://techcommunity.microsoft.com/blog/azurehighperformancecomputingblog/introducing-nvads-v710-v5-series-vms/4406761 But I can't request quota, see screenshots. I tried to open a support ticket and it forced me to post here.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-07T08:18:42.0166667+00:00
rcadmin 0 Reputation points
accepted 2025-05-07T11:52:38.0866667+00:00
rcadmin 0 Reputation points
1 answer

VM default shell sh vs. bash in Ubuntu 22.04 and 24.04 VMs

Does anyone know if and why the default shell changed from bash to sh between the Ubuntu 22.04 and 24.04 VM images? And what the right way is to configure it to be bash for new human users, including those created by AadSshLoginForLinux? In our older…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-05-01T00:02:09.5+00:00
Andrew Janke 65 Reputation points
commented 2025-05-07T09:48:33.0033333+00:00
Akshay kumar Mandha 3,000 Reputation points Microsoft External Staff
1 answer

SSH connection to VM timeouts repeatedly after 1-3 hours

Hi, I am running a Virtual Machine with Ubuntu as OS. and it has ssh connection open at port 22. now this connection keeps getting timed out every few hours and when I restart the VM it works fine. VM metrics do not show anything out of ordinary. How…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,760 questions
asked 2025-04-29T07:54:33.24+00:00
Varun Yadav 20 Reputation points
commented 2025-05-07T09:10:37.9666667+00:00
Arko 2,205 Reputation points Microsoft External Staff