The subscription is not registered to use namespace 'Microsoft.DataFactory error The subscription is not registered to use namespace 'Microsoft.DataFactory error azure azure

The subscription is not registered to use namespace 'Microsoft.DataFactory error


You can also register resource providers under your subscription in the portal

enter image description here


In Azure, for each functionality there's a resource provider (Microsoft.DataFactory for example).

By default, your Azure Subscription is not registered with all resource providers and because your Subscription is not registered with Microsoft.DataFactory resource provider, you're getting this error.

What you have to do is manually register your subscription with a resource provider. If you're using Azure PowerShell, you can use Register-AzureRmResourceProvider Cmdlet to achieve the same. You would need to use syntax like below:

Register-AzureRmResourceProvider -ProviderNamespace Microsoft.DataFactory

Once your Subscription is registered with this resource provider, this error will go away.


The instructions here worked for me: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-register-provider-errors#solution-3---azure-portal

From the portal, select All services.

enter image description here

Select Subscriptions.

enter image description here

From the list of subscriptions, select the subscription you want to use for registering the resource provider.

enter image description hereFor your subscription, select Resource providers.

enter image description here

Look at the list of resource providers, and if necessary, select the Register link to register the resource provider of the type you're trying to deploy.

enter image description here

enter image description here