The message is about the public ip, you need to disassociate it from the resource it is on.
Unable to move resources from one subscription to another
Hello I am unable to move my resources from one subscription to another. I am prompted with the following error attached below.
{"code":"CannotMoveResource","target":"Microsoft.Network/virtualNetworks","message":"Cannot move one or more resources in the request. Please check details for information about each resource.","details":[{"code":"MoveNotSupported","message":"Move for resource type publicIPAddresses is not supported. Move request contains resource /subscriptions/41071091-1f9c-4fb1-84b9-195dfb6a8dcb/resourceGroups/MYLAB/providers/Microsoft.Network/publicIPAddresses/Server01-ip of that type."},{"code":"MoveNotSupported","message":"Move for resource type publicIPAddresses is not supported. Move request contains resource /subscriptions/41071091-1f9c-4fb1-84b9-195dfb6a8dcb/resourceGroups/MYLAB/providers/Microsoft.Network/publicIPAddresses/WINDC1-ip of that type."},{"code":"MoveNotSupported","message":"Move for resource type publicIPAddresses is not supported. Move request contains resource /subscriptions/41071091-1f9c-4fb1-84b9-195dfb6a8dcb/resourceGroups/MYLAB/providers/Microsoft.Network/publicIPAddresses/Workstation1-ip of that type."},{"code":"MoveNotSupported","message":"Move for resource type publicIPAddresses is not supported. Move request contains resource /subscriptions/41071091-1f9c-4fb1-84b9-195dfb6a8dcb/resourceGroups/MYLAB/providers/Microsoft.Network/publicIPAddresses/Workstation1ip978 of that type."}]}
Can you please advise.
Azure Virtual Machines
Azure Resource Mover
2 answers
Sort by: Most helpful
-
Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
2023-02-14T21:15:02.4466667+00:00 -
KarishmaTiwari-MSFT 20,772 Reputation points Microsoft Employee Moderator
2023-02-14T21:27:51.8833333+00:00 Hello Ricardo Hamilton , Thanks for posting your query on Microsoft Q&A.
Are you trying to move to move the IP address to a different region that the existing one?
Moving public IP addresses to a new Subscription is supported. But in case of moving to a new region, you can only move public IP address configuration. Unfortunately, you cannot keep the same IP address as you currently have as it cannot be retained when moved across regions.
This is described in the supported Move operation for resources document here : https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-support-resources#microsoftnetwork
However, you can use Azure Resource Mover to move public IP address configurations.
In case, the move operations you are trying to do are not supported, you can create a new resource in the new subscription by exporting the template of the existing resource in the old subscription by following this document : Use Azure portal to export a template
Additional reading: Move resources to a new resource group or subscription
If this helps, please 'Accept answer' so that it can improve discoverability for others in the community facing the same issue.
If none of the suggestions apply to you or if you have any questions/concerns, please let me know in the "comments" and I can investigate further into it.