Going through this tutorial \"Create a pipeline with Copy Activity using Visual Studio\" and recieving this error when i hit publish.
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?
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
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.