I am running this command on Azure Power Shell to assign a reserved public IP to an existing virtual machine:
PS C:\> Get-AzureVM -ServiceName sk-cs-name -Name sk-vm-name | Set-AzurePublicIP -PublicIPName sk-public-ip | Update-AzureVM
VERBOSE: 10:56:53 AM - Completed Operation: Get Deployment
VERBOSE: 10:56:57 AM - Completed Operation: Get Deployment
VERBOSE: 10:56:57 AM - Begin Operation: Update-AzureVM
VERBOSE: 10:58:00 AM - Completed Operation: Update-AzureVM
OperationDescription OperationId OperationStatus
-------------------- ----------- ---------------
Update-AzureVM b34a1f44-68be-784f-b528-34f5599106ab Succeeded
The OperationStatus is Succeeded but nothing happens after running this command. The public ip assigned to sk-vm-name does not change and I cannot access to this machine by typing the reserved ip into the browser.
What am I doing wrong?