title: Unable to RDP to VM in Azure VM ScaleSet
body: <p>I've been following the Microsoft Quick Start templates to create a VM ScaleSet with Windows VMs, as described here:  <a href="https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-create-and-manage-powershell" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-create-and-manage-powershell</a>.</p>
  
  <p>I'm able to figure out the Public IP of the Scale Set's Load Balancer, as well as the inbound-Ports to use for RDP /3389, and to thus run <code>mstsc /v:a.b.c.d:nnnn</code>.  </p>
  
  <p>I get the <code>Initiating remote connection</code> pop-up.  However, instead of the identity challenge dialog that should follow, I instead get the (normal, but not desired here) error popup <code>Remote Desktop can't connect to the remote computer for one of these reasons:</code>.  That's as if the VM is down, the network is blocking me, or RDP is turned off on the VM.</p>
  
  <p>Can I assume that RDP is turned <em>ON</em> for the VM and that the Azure-side network route (as created in the PS pasted blow) is correct?  Do others face the same difficulty?  If so, how do we RDP into these VMs?</p>
  
  <p>Powershell from sample doc (I use different names but it's the same command otherwise):</p>
  
  <pre><code>$cred=Get-Credential
  New-AzureRmVmss `
    -ResourceGroupName "myResourceGroup3" `
    -Location "EastUS" `
    -VMScaleSetName "myScaleSet3" `
    -VirtualNetworkName "myVnet3" `
    -SubnetName "mySubnet3" `
    -PublicIpAddressName "myPublicIPAddress3" `
    -LoadBalancerName "myLoadBalancer3" `
    -UpgradePolicyMode "Automatic" `
    -VmSize "Standard_F1" `
    -Credential $cred
  </code></pre>
  
  <p>Note that I'm using version <code>6.13.0</code> of the AzureRm cmdlets.</p>