Visual Studio Logic App Consumption deployment: The subscription is not registered to use namespace Microsoft.Logic

Last week, I was helping a client start their footprint on Azure by deploying our very first services: an Azure Function and a few Logic Apps Consumption. Because this was the first introduction to Azure to this client, we decided for a start small and get bigger approach. So, they have created a pay-per-use subscription and gave me access to it.

If we didn’t find any issue deploying our Azure Function, the same cannot be said for the Logic Apps. And when we were trying to deploy it from Visual Studio, the same solution that we had deployed without issue in other subscriptions, we were surprised to encounter the following error:

The subscription is not registered to use namespace ‘Microsoft.Logic’. See https://aka.ms./rps-not-found for how to register subscriptions.

Causes

Basically, this error means that the service you are trying to use is not currently registered in your Azure subscription.

You can change this at any point by allowing or prohibiting using specific namespace (services) in our Azure Subscription. Of course, as with everything in Azure, you need permissions on the subscription to execute these actions.

Solutions

The solution to this problem is quite simple to accomplish. You just need to:

  • From the list of subscriptions page, select the subscription you want to use for registering the resource provider.
  • On the Subscription page, from the left menu, select the Resource providers option under the Settings section.
    • On the Resource providers page, on the search type Logic.
  • Click on the Microsft.Logic row, and that will enable the Register button. Click on the Register button.

After you click register, the provider will be registered, and you should be able to use the Logic App Service.

After these steps, we were able to deploy our Logic Apps from Visual Studio.

Hope you find this helpful! So, if you liked the content or found it helpful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego! 

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

turbo360

Back to Top