Explanation: To ensure that AS1 includes VM1, you will need to run the following four PowerShell cmdlets in sequence: Set-AzVMOSDisk -VMName VM1 -AvailabilitySetName AS1 Remove-AzVM -VMName VM1 New-AzVMConfig -VMName VM1 -AvailabilitySetName AS1 Update-AzAvailabilitySet -Name AS1