Search code examples
azureazure-resource-managerazure-bicepazure-deploymentazure-subscription

Azure deployment error "Subscription is not registered with NRP"


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.


Solution

  • The Microsoft.Network resource provider is not registered for the related subscription.
    You can check the documentation to enable it:

    Register resource provider