Are both the subscriptions in same tenant/ directory? If both the subscriptions are not in the same tenant/ directory, then move of App Gateway is not supported and you need to manually delete/ recreate the resource.
Moving Application Gateway to another subscription
What is the best way to move an application gateway to another subscription?
I'm trying to move all resources on a resources group to another group under a different subscription but am getting these errors:
{"code":"ResourceMoveValidationFailed","message":"The resource batch move request has '2' validation errors. Diagnostic information: timestamp '20210607T021650Z', tracking Id 'e3565d3e-27e9-4d41-ba70-ebd10dc92ed7', request correlation Id '2b17ff7f-7137-458f-b71b-95d7096767fe'.","details":[{"code":"ResourceMoveNotSupported","target":"/subscriptions/c80f3f55-88c8-4c72-bf6d-867ded87ebd0/resourceGroups/bp-prod-rg-001/providers/Microsoft.Network/applicationGateways/bp-prod-agw-001","message":"Resource move is not supported for resource types 'Microsoft.Network/applicationGateways, Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies'."},{"code":"ResourceMoveNotSupported","target":"/subscriptions/c80f3f55-88c8-4c72-bf6d-867ded87ebd0/resourceGroups/bp-prod-rg-001/providers/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/bp-prod-waf-001","message":"Resource move is not supported for resource types 'Microsoft.Network/applicationGateways, Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies'."}]}
Clearly it says that it is moving is not supported so how do you do it, especially with a production system?
2 answers
Sort by: Most helpful
-
-
SvenGlöckner 441 Reputation points
2023-07-14T10:05:30.95+00:00 I'm getting the same error even when trying to move to another resource group.
It seems clear that moving is impossible for Application Gateway. So we'll have to recreate it.
Resource move is not supported for resource types 'Microsoft.Network/applicationGateways'