Azure (Resource Manager deployments)

Azure MissingSubscriptionRegistration: register the resource provider

Azure MissingSubscriptionRegistration means the subscription is not registered for a resource provider. Register it with Azure CLI, PowerShell or the portal.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

Every Azure resource type belongs to a resource provider, such as Microsoft.Compute, Microsoft.Web or Microsoft.Cdn, and a subscription has to be registered with a provider before it can create that provider's resources. MissingSubscriptionRegistration is the Azure Resource Manager error you get when it is not. The message reads "The subscription is not registered to use namespace" followed by the provider namespace, and Microsoft's common errors table gives the mitigation in one line: register your subscription with the resource provider.

Microsoft's registration article says most providers are registered automatically by the Microsoft Azure portal or the command-line interface, but not all. If you haven't used a particular resource provider in the subscription before, you might need to register it yourself. That is why the error often shows up the first time a team deploys a new kind of service, or when a template is moved to a fresh subscription.

The error can also name a provider you never put in your ARM template or Bicep file. Microsoft explains that a resource you deploy may create supporting resources, for example monitoring or security resources, and the namespace in the message is then the provider of that supporting resource. Microsoft documents a related case for virtual machine auto-shutdown, where the Microsoft.DevTestLab provider is involved.

Common causes

  • The required resource provider has not been registered for the subscription.
  • The subscription is new, or the provider has never been used in it.
  • A resource in the template creates supporting resources from another provider that is not registered.
  • With the related NoRegisteredProviderFound code, the API version or location is not supported for the resource type.

How to fix it

1. Read the namespace from the error

Note the provider namespace at the end of the message, such as Microsoft.Cdn. That is the provider to register, even if it is not the one you expected.

2. Check the registration status with Azure CLI

List all providers and their state, or check one provider:

az provider list --output table
az provider list --query "[?namespace=='Microsoft.Compute']" --output table

A provider shows as Registered or NotRegistered.

3. Register the provider

Register the namespace from the error message with Azure CLI:

az provider register --namespace Microsoft.Cdn

Or with Azure PowerShell:

Register-AzResourceProvider -ProviderNamespace "Microsoft.Cdn"

Registration needs permission at subscription level. If you lack it, ask a subscription owner or administrator to register the provider. This permission note is a general step, not part of Microsoft's article.

4. Or register it in the portal

Sign in to the Azure portal, search for Subscriptions and select the subscription. Under Settings, select Resource providers, select the provider, and then select Register.

5. Check supported locations and API versions

If the related NoRegisteredProviderFound message appears, check that the resource type supports your location and API version:

az provider show --namespace Microsoft.Web --query "resourceTypes[?resourceType=='sites'].locations"
az provider show --namespace Microsoft.Web --query "resourceTypes[?resourceType=='sites'].apiVersions"

Microsoft says the error message should suggest supported locations and API versions, and you can change your template to use a suggested value. Then deploy again.

If nothing works

As a general step, wait a few minutes after registering and confirm the state has changed to Registered before deploying again, because registration is not always instant. If the deployment still fails with a different code, look that code up; for example, AuthorizationFailed points to a missing role rather than a missing registration.

What we checked

Two Microsoft Learn pages were read. "Resolve errors for resource provider registration" shows the MissingSubscriptionRegistration and NoRegisteredProviderFound messages, the causes (provider not registered, API version or location not supported, supporting resources from another provider) and the Azure CLI, PowerShell and portal steps to check and register providers. "Troubleshoot common Azure deployment errors" lists MissingSubscriptionRegistration with the registration mitigation. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

What does MissingSubscriptionRegistration mean?

The subscription has not been registered with the resource provider for the resource you are deploying, for example Microsoft.Cdn. Microsoft says most providers are registered automatically by the portal or command line, but not all.

Why does it name a provider that is not in my template?

Microsoft explains that a deployed resource can create other supporting resources, such as monitoring or security resources. The namespace in the message is then the one for the supporting resource, and that is the one to register.

Is MissingSubscriptionRegistration the same as NoRegisteredProviderFound?

They are documented together. NoRegisteredProviderFound says no registered provider was found for a location and API version, and can also mean the API version or location is not supported for the resource type.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.