Hi Maciej Kurzeja,
As you confirmed, everything is working fine for you, so for future reference you can follow the below steps if required.
- Check for Existing Reservations: Ensure that the DNS name
myvmname.northcentralus.cloudapp.azure.comis not already in use by another resource in your Azure subscription. If it is, you might need to choose a different DNS name for your current VM. - Verify VM State: Make sure the VM is in a stable state and not undergoing any other operations that might interfere with the upgrade process.
- Run the
-WhatIfParameter: Before proceeding with the actual upgrade command, run:
This will help you understand what changes would occur without making any actual modifications.Start-VMPublicIPUpgrade -VMName 'MyVMName' -ResourceGroupName 'MyRGName' -WhatIf - Use Recovery Option: You mentioned that you're trying the recovery command, but ensure the recovery file path is correct and that it has not been altered from the original state.
- Try Manual Clean-Up: If issues persist, consider de-associating the Public IP from the VM entirely and then re-associating it later after the upgrade.
Thanks