Network Manager IPAM - "failed to fetch usage data" error and cannot remove

Jon Pratt 5 Reputation points
2025-03-11T14:56:32.7833333+00:00

I have a Network Manager in my subscription, that is showing a 'failed to fetch usage data' error in the Azure portal. Have had this error before on support case 2502060xxxxxxx and it was fixed at the backend after a time.

What happens is, get this error in the portal

and this error via the API

What I deployed was

Network Manager

Top Level IPAM pool

2 sub pools - One of which had a vnet deployed into it

1 vnet with a IPAM allocation to the pool called 'internal platform'

And the problem I think is related to the fact that

These resources are deployed using the Terraform AZAPI provider, which can often have problem with related resources timing or race condition issues.

When I destroyed the resources with Terraform - as there is no explict dependancies between the azapi resoruces, things have been deleted out of order, incorrectly.

I now have a vnet I cant delete as it thinks its is linked to the IPAM pool that is having a issue

and I can't delete the IPAM pool as it thinks there is associated resources (the vnet I guess) but does not show as you can see here User's image

but when I try to delete in the portal - complains about associated resources

How can I get help from the MS team to fix this problem?

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.
2,720 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. ChaitanyaNaykodi-MSFT 27,376 Reputation points Microsoft Employee
    2025-03-25T19:10:35.4833333+00:00

    @Jon Pratt

    Just closing the loop on the Q&A question here. Based on the support ticket you created I see it has been resolved now.


    Issue description:

    You experienced issues with the Network Manager and a linked VNET after attempting to delete them using Terraform. This resulted in the VNET and an IPAM pool being left in a failed state. When you tried to view the IPAM pool, you received a "failed to fetch usage data" message. Additionally, when you attempted to delete the VNET, you got a "can't delete as ipAllocation exists" error. Attempts to remove the IP allocation via AZ CLI also failed.

    Solution:

    This error was due to a known issue currently affecting IPAM in Azure Virtual Network Manager which is currently in preview. The backend team was able to remove the IPAM pool reference from your VNET following which you were able to delete the VNET.

    A work around was also suggested by the product group that if anyone facing a similar issue can wait for 30 minutes after deleting the IPAM pool and then recreate the pool then disassociate their virtual network and static CIDR from the pool before attempting deletion again it should resolve their issue.


    Please let me know if you have any questions. Thank you!

    Please click "Accept" the answer as original posters help the community find answers faster by identifying the correct answer.

    0 comments No comments

Your answer

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