Title: Is it possible to add a Scale Set to existing VNET
Tags: azure;azure-vm-scale-set
Question: I have already created a VNet and subnet. Added other resources for this Vnet. Now I need to add a Scale Set to this subnet. Is this possible?

When I created a VM Scale Set from the Azure Portal, it does not ask for a VNet and it creates it's own VNet/subnet. 



Here is another answer: Assume that you have all the resources need for the scale set configuration, below are the steps to create virtual machine scale set.  

```#IP configuration
$ipName = "IP configuration name"

#create the IP configuration
$ipConfig = New-AzureRmVmssIpConfig -Name $ipName -LoadBalancerBackendAddressPoolsId $null -SubnetId $vnet.Subnets[0].Id

$vmssConfig = "Scale set configuration name"

#create the configuration for the scale set
$vmss = New-AzureRmVmssConfig -Location $locName -SkuCapacity 3 -SkuName "Standard_A0" -UpgradePolicyMode "manual"

#Add the network interface configuration to the scale set configuration
Add-AzureRmVmssNetworkInterfaceConfiguration -VirtualMachineScaleSet $vmss -Name $vmssConfig -Primary $true -IPConfiguration $ipConfig

$vmssName = "scale set name"

#create the scale set 
New-AzureRmVmss -ResourceGroupName $rgName -Name $vmssName -VirtualMachineScaleSet $vmss
```

Refer to https://azure.microsoft.com/en-us/documentation/articles/virtual-machine-scale-sets-windows-create/ for step-by-step guidance. 

Notice that you are using the latest version of Azure Powershell otherwise you will miss some Powershell cmdlets.

Hope this helps.

Comment for this answer: can i add this to traffic manager? so i am thinking of 3 vmss in 3 different subnets and then attach them to my traffic manager for HA?

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:05/22/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<azure><azure-vm-scale-set>', 'Title': 'Is it possible to add a Scale Set to existing VNET', 'ViewCount': 1372, 'id': 37372285, 'user_AboutMe': '', 'user_AccountId': 1632426.0, 'user_DisplayName': 'Dhanuka777', 'user_Reputation': 7983.0, 'user_Views': 794.0, 'user_id': 1506710.0}}