Hi Jayam,
If you encounter an error message stating that the public IP address is currently in use by another resource while updating a Cloud Service with the same static IP address, there are a few steps you can take to resolve this issue:
- Verify Resource Usage: Confirm that the static IP address you are attempting to assign is not already in use by another resource. Check all your resource groups and verify if any resources are already associated with the IP address. This can include virtual machines, load balancers, or other services that might be using the IP.
- Assign IP to a Different Resource Group: If the IP address is being used by a resource in the same resource group, you can try assigning the IP address to a different resource group. Create a new resource group or select an existing one that does not have any resources associated with the IP address. During the update process, specify the new resource group for the IP address.
- Deallocate and Reallocate the IP: If the IP address is being used by a different resource altogether, you can deallocate it from that resource and then reallocate it to the Cloud Service you are updating. Here are the general steps to perform this operation: a. Find the resource using the IP address and determine if it can be deallocated. For example, if it's associated with a virtual machine, you can stop or deallocate the virtual machine temporarily. b. Once deallocated, release the IP address from that resource. c. Proceed with the update process for your Cloud Service and assign the IP address to it.
Just make sure you have the necessary permissions and access rights to make changes to your Azure resources and IP addresses. I hope this helps with you query?