title: Set Azure Reserved IP on cloud service via powershell
body: <p>as said in the title, I can't assign an IP to my cloud service.</p>
  
  <p>I've followed a lot of forums and StackOverflow articles/posts but I've still the issue.</p>
  
  <p>When I try to run </p>
  
  <pre><code>Set-AzureReservedIPAssociation -ReservedIPName primosguardo365reservedip -ServiceName primosguardo365
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>Set-AzureReservedIPAssociation : ResourceNotFound: No deployments were found.
  At line:1 char:1
  + Set-AzureReservedIPAssociation -ReservedIPName primosguardo365reserve ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : CloseError: (:) [Set-AzureReservedIPAssociation], CloudException
      + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.SetAzureReservedIPAssociationCmdlet
  </code></pre>
  
  <p>but if I try to get the resources using the same name</p>
  
  <pre><code>λ  Get-AzureReservedIP
  
  ReservedIPName       : Group Primosguardo365 primosguardo365reservedip
  Address              : **.**.**.**
  Id                   : ******************
  Label                :
  Location             : West Europe
  State                : Created
  InUse                : False
  ServiceName          :
  DeploymentName       :
  VirtualIPName        :
  OperationDescription : Get-AzureReservedIP
  OperationId          : ************************
  OperationStatus      : Succeeded
  
  
  λ  Get-AzureService "primosguardo365"
  
  ServiceName             : primosguardo365
  Url                     : https://management.core.windows.net.................
  Label                   : primosguardo365
  Description             : primosguardo365
  Location                : West Europe
  AffinityGroup           :
  Status                  : Created
  ExtendedProperties      : {[ResourceGroup, Primosguardo365], [ResourceLocation, westeurope], [ProvisioningSource,
                            AzureResourceManager]}
  DateModified            : 28/03/2017 12:13:20
  DateCreated             : 28/03/2017 11:26:03
  ReverseDnsFqdn          :
  WebWorkerRoleSizes      : {}
  VirtualMachineRoleSizes : {}
  OperationDescription    : Get-AzureService
  OperationId             : ****************************
  OperationStatus         : Succeeded
  </code></pre>
  
  <p>Does anyone have any suggestion?</p>
  
  <p>Thanks in advance!</p>
  
  <p><strong><em>EDIT:</em></strong></p>
  
  <p>VIP can only be assigned to a deployed <strong>PRODUCTION</strong> instance.</p>
  
  <p>But that's useless, cause CloudServices already have static IP.</p>
  
  <p>Thanks to all!</p>