Anyone faced this error before when running az deployment mg create command to deploy a bicep file with parameters? I thought it was transient, but it happens consistently daily during my deployment testing.
Also raised this question on GitHub.
The Microsoft.Network
resource provider is not registered for the related subscription.
You can check the documentation to enable it: