VS2013 and Azure - deployment template validation failed, although I did not edit the template or project properties

I am trying to deploy my site to an azure visual studio. This is a pretty standard website, nothing complicated about it, and I use the one-click deployment method (HA!) From Express Studio 2013 Express. However, I am not even getting to creating a web application. The "Create a microsoft azure web application" dialog box fails when I click the "Create" button after naming the application, creating a resource group and selecting dbserver and a service plan with the following message:

Request https://management.azure.com/subscriptions/8ffb8793-a03d-45d4-88b5-647f5baf0fa0/resourcegroups/raocresourcegroup/deployments/website_deployment?api-version=2014-04-01 PUT failed BadRequest 400 (unsuccessful request)

Deployment pattern validation error: 'The provided value for the "sku" template parameter in row "16" and column "17" is not valid. '.

My main problem is that I have no idea what the visual studio is talking about. I was looking for "deployment pattern validation" and I could not find much error information. I googled a “deployment pattern” to see what it really is and came up with almost nothing. I have no idea what the "sku" parameter might be for. Of course, I did not edit anything. I have never even changed the project properties for this thing.

If someone can point me in the right direction so that at least I have an idea where to start and what to look for, I would really appreciate it.

+7
visual-studio templates azure
source share
3 answers

Since no one answered and google did not come up with additional information, I still don’t know which deployment templates are exactly or what the "sku" parameter does.

Now I know that the problem can be circumvented by creating an empty application web profile through the azure portal, and then expanding it into this profile, skipping the part of creating the profile in visual studio.

+7
source share

The same thing happened to me. What I've done:

  • Right-click the project and choose Publish.
  • On the Profile tab, select Microsoft Azure Web Apps from the published targets.
  • I tried to create it more with the same data as before, but it didn’t work anymore - this time with a pop-up warning that the inputs should be lowercase and only numbers
  • For the first snapshot, my database server name has changed as

... and then it was created successfully. It seems that where you typed should be some kind of input check.

+1
source share

I had the same problem. It turned out that since I used VS 2013, I had to upgrade Web Deploy 3.5 to Web Deploy 3.6 in the control panel / programs. After that, he did an excellent job.

Remember to download the publication of the profile and import the profile when publishing. Hope this helps!

+1
source share

All Articles