0

Is there a way to create a VM Scaleset in an existing Azure Resource Group? Currently the portal does not show that as an option, is it possible through powershell?

Jason Ye
  • 13,710
  • 2
  • 16
  • 25
Dhruv Joshi
  • 123
  • 1
  • 6

1 Answers1

0

Yes, when we create VMSS via Azure poratl, we can't choose an existing Azure resource group, you can use PowerShell to create a VMSS in an existing Azure group, more information about how to use PowerShell to create VMSS, refer to the link.
In the example, we can use $rgname = "myresourcegroupname", about New-AzureRmResourceGroup -Name $rgname -Location $loc is optional.

Community
  • 1
  • 1
Jason Ye
  • 13,710
  • 2
  • 16
  • 25