Share via

"SubscriptionNotRegisteredForFeature" Error trying to create Virtual Network Tap using Azure SDK

Yannick Bastiaensen 21 Reputation points
2021-12-22T15:32:56.823+00:00

While creating a Virtual Machine works, when I start trying to create a Virtual Network Tap I get returned with the following error:

"error": {
"code": "SubscriptionNotRegisteredForFeature",
"message": "Subscription xxxxxxxx is not registered for feature Microsoft.Network/AllowVirtualNetworkTap required to carry out the requested operation.",
"details": []
}

However my subscription has "Microsoft.Network" registered as a resource provider so this error doesn't make much sense to me. I've tried searching online but it seems the people who encountered the same issue never found a solution. I also tried unregistering and re-registering to maybe make it trigger a change, but with no luck.

I have also turned on Microsoft.NetworkFunction just in case, although I believe this doesn't really relate.

Does anyone have an idea how to solve this? I've been stuck on this for days now

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.

0 comments No comments

Answer accepted by question author

Alan Kinane 17,361 Reputation points MVP Volunteer Moderator
2021-12-22T16:35:55.64+00:00

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Yannick Bastiaensen 21 Reputation points
    2021-12-23T01:44:30.347+00:00

    Thanks for your reply! At least I can stop searching now, they should really change those error messages..

    Was this answer helpful?

    0 comments No comments

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.