1
votes

I created a new ASP.NET MVC Web Application in Visual Studio 2015 Update 3. During the creation, I checked the box that I want to host my application on Azure as a Web App. When configuring the Azure Web App Settings, I created a new Resource Group, a new App Service plan, and a new Resource Group.

When it tried to create the project and deploy it, I got the following error:

{
  "error": {
    "code": "MissingRegistrationForLocation",
    "message": "The subscription is not registered for the resource type 'components' in the location 'Central US'. Please re-register for this provider in order to have access to this location."
  }
}

The Resource Group and web app were successfully created in my Azure portal.

When I right-click my project in VS and select Publish, then select the Azure Web Apps target, a window comes up showing my Microsoft account and showing my Azure subscription but it doesn't show any existing web apps.

What do I need to do? I've been searching for a couple of hours now and I cannot figure it out.

1
Do you have any updates about this thread?Tom Sun - MSFT
I updated all the tools within Visual Studio and the deployment worked without a hitchmichaelkoss

1 Answers

1
votes

It seems a known issue, more info please refer to MSDN thread. Please have a try to update to the latest version of the Azure SDK to fix that. The following is the snipped of the thread.

This is a known issue for some older versions of the Azure App Service tooling

We can get the Azure SDK easily with Microsoft Web Platform Installer tool.

enter image description here