Hello Andrea Giordano
Welcome to Microsoft Q&A,
The error message (Code: CannotMoveResource, Target: Microsoft.Network/publicIPAddresses) it indicates that the move operation failed because the Public IP resource cannot be moved in its current state.
Please follow these steps and let us know if you encounter any errors.
- Detach the Public IP from the VM
- Go to Virtual Machines → Select your VM → Networking → Network Interface → IP Configurations.
- Select the Public IP and click Dissociate, then save.
- Validate the Move
- Navigate to Resource Group → Move → Move to another subscription.
- Select the target subscription and resource group name.
- Click Validate.
- Perform the Move
- Once validation passes, click OK to move the resource group.
- Recreate and Associate a New Public IP.
- After the move completes, create a new Public IP in the destination subscription.
- Associate it with your VM’s network interface under IP configurations.
- After performing all the actions you can retry moving the resources to different subscriptions
- Select if you're moving the resources to a new resource group or subscription.
- The source resource group sets automatically. Specify the destination resource group. If you're moving to a new subscription, specify this option. Select Next.
- The portal validates that the resources can be moved. Wait for validation to complete.
- The Azure portal notifies you when the move completes.
Also can you please help us with these answers
- Could you confirm whether any other resources in the resource group are experiencing issues?
- Have you reviewed any dependencies or configurations that could be impacting the public IP's migration?
- Are there particular resources you want to prioritize for moving?
Reference links
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/remove-public-ip-address-vm.
Kindly let us know if the above helps or you need further assistance on this issue.
Thanks,
Manish Deshpande.