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

后端 未结 9 2052
旧时难觅i
旧时难觅i 2021-01-03 22:31

Going through this tutorial \"Create a pipeline with Copy Activity using Visual Studio\" and recieving this error when i hit publish.

相关标签:
9条回答
  • 2021-01-03 23:12

    My objective:

    I wanted to create an auto shutdown schedule for my virtual machine in my 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 is the error message saying?

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

    How do I register that namespace?

    1. Click on the "Subscription" tab on Azure portal
    2. Select "Resource providers"
    3. Type the namespace you want to register in the search box
    4. click on the Register button
    5. It will take about 5 minutes to finish the registration and all set to go.

    0 讨论(0)
  • 2021-01-03 23:14

    You can refer below link how to register providers in Azure step by step

    https://www.dotnetpiper.com/2020/05/resource-provider-registration-using.html

    0 讨论(0)
  • 2021-01-03 23:16

    I had the same problem with exception:

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

    I think this is a little bug in the way how Data Factory Provider is registered for subscription.

    I fixed that by creating first Data Factory manually and then I was able to create next one automatically using:

    DataFactoryManagementClient
    

    Hopefully, it will be helpful for others working with Azure Data Factories.

    0 讨论(0)
提交回复
热议问题