question

StevenBrown-2978 avatar image
0 Votes"
StevenBrown-2978 asked karishmatiwari-msft edited

Publish to Azure Cloud Services (Extended Support) via VS

I am in the middle of migrating from a Cloud Service Classic resource, I have followed all the online documentation, the publish works fine if I create a cspkg file, upload it via the Azure front end along with the csdef and cscfg files. This works no problem.

I create a new Cloud Service Extended Support project to host the publish profile. This when I get the error, it builds fine, goes through pre-reqs fine, uploads to storage, checks key-vault for mentioned cert, then I get the following.

Code: InvalidTemplate
Message: Deployment template validation failed: 'The template parameters 'publicIPName' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'cloudServiceName, location, deploymentLabel, packageSasUri, configurationSasUri, roles, secrets, wadPublicConfig_testapp.Mvc, wadPrivateConfig_testapp.Mvc, upgradeMode'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.

I've hunted online and I can't find much, does anyone have any ideas or come across a similar problem?

There is an option in the properties of the project "ARM Deployment: True" I was hoping to change to False to test but this is greyed out and I have no way of changing it.

dotnet-csharpazure-cloud-services-extended-support
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have reached out to the experts on this issue. I will share an update as I hear back from them. Thanks for your patience.

0 Votes 0 ·
karishmatiwari-msft avatar image
0 Votes"
karishmatiwari-msft answered

@StevenBrown-2978 Apologies for the delay.

Team confirmed that we had a similar bug (Publish Cloud Service (extended support) with Fixed IP - Visual Studio Feedback) and it was fixed in the latest version (16.11) of VS 2019. Can you please check your VS version? If you are using older version, please try with the latest version and let me know if you are still seeing issues.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MordechaiYaakobi-0140 avatar image
0 Votes"
MordechaiYaakobi-0140 answered karishmatiwari-msft edited

It happens also in my environmet with a little bit different scenario.
There is original azure deployment that was created with original template parameter file.
I needed to change some logic at the template file and hence I needed to add new parameters to the parameters file.
But when I tried to redploy it I encountered the same error.
I follow your siuggestion but with no success.
I need this ASAP.

Can you please assist ?
P.S - this procedure is done via the Azure command line


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.