Subscription Not Registered to Use Microsoft.DataFactory Namespace Error

Go through this tutorial "Create a pipeline using a copy operation using Visual Studio" and get this error when I hit the publication.

Creating datafactory-Name:VSTutorialFactory,Tags:,Subscription:Pay-As-You-Go,ResourceGroup:MyAppGroup,Location:North Europe, 24/03/2016 11:30:34- Error creating data factory: Microsoft.WindowsAzure.CloudException: MissingSubscriptionRegistration: The subscription is not registered to use namespace 'Microsoft.DataFactory'. 

The error is not mentioned anywhere on the network and there is very little help / knowledge on azure, usually on the Internet.

+11
source share
6 answers

Azure has a resource provider for each function (for example, Microsoft.DataFactory).

By default, your Azure Subscription is not registered with all resource providers, and because your subscription is not registered with the Microsoft.DataFactory resource provider, you get this error.

What you need to do is manually register your subscription with the resource provider. If you use Azure PowerShell, you can use Register-AzureRmResourceProvider Cmdlet to achieve the same. You will need to use the syntax as shown below:

 Register-AzureRmResourceProvider -ProviderNamespace Microsoft.DataFactory 

As soon as your subscription is registered with this resource provider, this error will disappear.

+20
source

To achieve the same goal with azure cli you just need to install

 azure provider register Microsoft.DataFactory 

In order for this to work, you need to execute in command line mode

 azure config mode arm 

and you need to make sure that you have chosen the appropriate account / subscription for this, which will be done against

 azure account list azure account set <SubscriptionNameOrId> 
+7
source

You can also register resource providers under your subscription on the portal.

enter image description here

+5
source

I had the same problem with an exception:

 Hyak.Common.CloudExceptionMissingSubscriptionRegistration: The subscription is not registered to use namespace 'Microsoft.DataFactory'. 

I think this is a small mistake in the way of registering Factory Provider data for subscription.

I installed this by first creating a Data Factory manually , and then I was able to create the following automatically using:

 DataFactoryManagementClient 

We hope that it will be useful for others working with Azure Data Factory.

0
source

My goal:

I wanted to create an automatic shutdown schedule for my virtual machine in the Azure portal. Then I received the following error message: Schedule failed to update {"error":{"code":"MissingSubscriptionRegistration","message":"The subscription is not registered to use namespace 'Microsoft.DevTestLab'. See https://aka.ms/rps-not-found for how to register subscriptions.","details":[{"code":"MissingSubscriptionRegistration","target":"Microsoft.DevTestLab","message":"The subscription is not registered to use namespace 'Microsoft.DevTestLab'. See https://aka.ms/rps-not-found for how to register subscriptions."}]}}

What does the error message say?

The subscription is not registered to use namespace '**Microsoft.DevTestLab**

How do I register this namespace?

  1. Click the "Subscription" tab in the Azure portal.
  2. Select Resource Providers
  3. Enter the namespace you want to register in the search field
  4. click on the Register button
  5. Registration will take about 5 minutes and everything is ready to work.

enter image description here

0
source

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

On the portal, select All services.

enter image description here

Select Subscriptions.

enter image description here

From the list of subscriptions, select the subscription that you want to use to register the resource provider.

enter image description here For your subscription, select Resource Providers.

enter image description here

Browse the list of resource providers and, if necessary, select the Register link to register the resource provider of the type you are trying to deploy.

enter image description here

enter image description here

0
source

Source: https://habr.com/ru/post/1245698/


All Articles