How do I delete a public IP resource whose provisioning status is Failed?

Toshio Yamazaki 70 Reputation points
2023-05-16T08:36:44.43+00:00

Hello,

I have moved some resources from resource group A to resource group B in another subscription. As a result, the public IP resource (01-ip) failed to move. After that, when I try to delete or change the status of the public IP resource that failed to move, I get the following error and cannot delete it.


PS /home/toshio> Remove-AzPublicIpAddress -Name "01-ip" -ResourceGroupName "A" -Force

Remove-AzPublicIpAddress: Resource /subscriptions/*****/providers/Microsoft.Network/publicIPAddresses/01-ip was involved in a move NRP does not allow operations on such resources. Else please contact support to get the resource unblocked.

StatusCode: 400

ReasonPhrase: 400

ErrorCode: MoveOperationInProgressOrFailed

ErrorMessage: Resource /subscriptions/*******/providers/Microsoft.Network/publicIPAddresses/01-ip was involved in a move operation which is NRP does not allow operations on such resources. If a move operation is ongoing, wait for it to complete. Else please contact support to get the resource unblocked.


PS /home/toshio> Get-AzPublicIpAddress -Name "01-ip" -ResourceGroupName "A" | Set-AzpublicIpAddress

Set-AzPublicIpAddress: Resource /subscriptions/********/providers/Microsoft.Network/publicIPAddresses/01-ip was involved in a move NRP does not allow operations on such resources. Else please contact support to get the resource unblocked.

StatusCode: 400

ReasonPhrase: 400

ErrorCode: MoveOperationInProgressOrFailed

ErrorMessage: Resource /subscriptions/******/providers/Microsoft.Network/publicIPAddresses/01-ip was involved in a move operation which is NRP does not allow operations on such resources. If a move operation is ongoing, wait for it to complete. Else please contact support to get the resource unblocked.


I have a static address set up as a public IP address and I am being billed for it.

I tried to create a support request but could not, probably because my contract is Basic.

Any advice would be appreciated.

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.


Answer accepted by question author
GitaraniSharma-MSFT 50,292 Reputation points Microsoft Employee Moderator
2023-06-20T15:26:15.1466667+00:00

Hello @Toshio Yamazaki

I understand that you were unable to delete a Public IP address from your subscription whose provisioning status failed due to a move operation.

I suggested we create a support request and get it deleted from the backend and helped you get a one-time free technical support. You created a support request to get the IP deleted and below is the summary for the resolution:

The support team engaged the backend PG team, and they manually mitigated the move operation, which caused the provisioning status failure of the Public IP and below is the RCA shared for this issue:

Azure often reviews and modifies existing internal systems to refactor legacy code and improve efficiency. A recent change to the code introduced a regression that caused a small subset of Public IP resource moves to fail and result in the Public IP resource being duplicated and existing in both subscriptions.  This bug has now been remediated in the latest version of code and the fix has deployed to all regions.  We sincerely apologize for the inconvenience this caused and continually are working to improve the Azure platform.

And you were able to delete the Public IP after this fix.

Kindly let us know if the above helps or you need further assistance on this issue.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.