Share via

Add a standalone vm on a availability set

Cinthia Rodriguez 130 Reputation points
Jan 14, 2025, 7:50 PM

Hello,

I would like to know if , it is possible to add an existing standalone virtual machine to an availability set, if so how can I added it.Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,288 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 102.1K Reputation points
    Jan 14, 2025, 8:01 PM

    Hi Cinthia,

    No, it is not possible to add an existing VM to an availability set since you can only do that when it is first created. There is a sample script that shows how to delete/recreate a VM to make it part of availability set.

    Change the availability set for a VM by using Azure PowerShell

    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.