How do I update existing Azure Vm scale set using Arm templateDifference in Azure Availability Sets and Scale SetsARM Template - AlertRules - UnsupporedMetricARM template MSDeploy errorARM template resource microsoft.web/sites http request must not be emptyAzure ARM Template to Create Linux VM and Add Line to /etc/hostsIncremental Deployment Azure ARM TemplatesARM Template copy reporting Duplicates when there are notApply Azure RBAC to a resource using ARMhow to deploy an azure ARM template without changing existing sku

When is it acceptable to write a bad letter of recommendation?

To what extent is it worthwhile to report check fraud / refund scams?

Does HTTP HSTS protect a domain from a bad-actor publically-trusted-CA issing a illegitimate valid certificate?

A food item only made possible by time-freezing storage?

Should the average user with no special access rights be worried about SMS-based 2FA being theoretically interceptable?

Examples of "unsuccessful" theories with afterlives

How to deal with my team leader who keeps calling me about project updates even though I am on leave for personal reasons?

while loop factorial only works up to 20?

Could Apollo astronauts see city lights from the moon?

Does "as soon as" imply simultaneity?

Extruding snaps back

Is "ln" (natural log) and "log" the same thing if used in this answer?

Safe to use 220V electric clothes dryer when building has been bridged down to 110V?

How do you use the interjection for snorting?

How to say "cheat sheet" in French

Cut a cake into 3 equal portions with only a knife

What is the difference between an astronaut in the ISS and a freediver in perfect neutral buoyancy?

Performance for simple code that converts a RGB tuple to hex string

What is the size of a set of sets of the empty set , , ?

What is the meaning of word 'crack' in chapter 33 of A Game of Thrones?

Two trains move towards each other, a bird moves between them. How many trips can the bird make?

If an object moving in a circle experiences centripetal force, then doesn't it also experience centrifugal force, because of Newton's third law?

Which place in our solar system is the most fit for terraforming?

Subverting the emotional woman and stoic man trope



How do I update existing Azure Vm scale set using Arm template


Difference in Azure Availability Sets and Scale SetsARM Template - AlertRules - UnsupporedMetricARM template MSDeploy errorARM template resource microsoft.web/sites http request must not be emptyAzure ARM Template to Create Linux VM and Add Line to /etc/hostsIncremental Deployment Azure ARM TemplatesARM Template copy reporting Duplicates when there are notApply Azure RBAC to a resource using ARMhow to deploy an azure ARM template without changing existing sku






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I need to add a new extension to existing VM scale set via ARM template.



The existing VM scale set is created using ARM template.



So I am planning to add the new extension in the template and run the template using New-AzureRmResourceGroupDeployment powershell function



But the update is failing with error



 '{
"error":
"code": "PropertyChangeNotAllowed",
"message": "Changing property 'adminPassword' is not allowed.",
"target": "adminPassword"



Does the arm template provides a way to update existing VM scale set ?
Can I conditional avoid "osProfile" update which defines admin password?
I don't want to change the "osProfile" while updating the VM scale set










share|improve this question
























  • i think you can just amend it from the template, I mean osProfile

    – 4c74356b41
    Mar 28 at 19:02












  • Could you elaborate ?

    – shine17
    Mar 28 at 19:14











  • just remove it from the template and it should work

    – 4c74356b41
    Mar 28 at 19:40











  • Can you post both the original template and the new one?

    – rdas
    Mar 31 at 7:46

















0















I need to add a new extension to existing VM scale set via ARM template.



The existing VM scale set is created using ARM template.



So I am planning to add the new extension in the template and run the template using New-AzureRmResourceGroupDeployment powershell function



But the update is failing with error



 '{
"error":
"code": "PropertyChangeNotAllowed",
"message": "Changing property 'adminPassword' is not allowed.",
"target": "adminPassword"



Does the arm template provides a way to update existing VM scale set ?
Can I conditional avoid "osProfile" update which defines admin password?
I don't want to change the "osProfile" while updating the VM scale set










share|improve this question
























  • i think you can just amend it from the template, I mean osProfile

    – 4c74356b41
    Mar 28 at 19:02












  • Could you elaborate ?

    – shine17
    Mar 28 at 19:14











  • just remove it from the template and it should work

    – 4c74356b41
    Mar 28 at 19:40











  • Can you post both the original template and the new one?

    – rdas
    Mar 31 at 7:46













0












0








0








I need to add a new extension to existing VM scale set via ARM template.



The existing VM scale set is created using ARM template.



So I am planning to add the new extension in the template and run the template using New-AzureRmResourceGroupDeployment powershell function



But the update is failing with error



 '{
"error":
"code": "PropertyChangeNotAllowed",
"message": "Changing property 'adminPassword' is not allowed.",
"target": "adminPassword"



Does the arm template provides a way to update existing VM scale set ?
Can I conditional avoid "osProfile" update which defines admin password?
I don't want to change the "osProfile" while updating the VM scale set










share|improve this question














I need to add a new extension to existing VM scale set via ARM template.



The existing VM scale set is created using ARM template.



So I am planning to add the new extension in the template and run the template using New-AzureRmResourceGroupDeployment powershell function



But the update is failing with error



 '{
"error":
"code": "PropertyChangeNotAllowed",
"message": "Changing property 'adminPassword' is not allowed.",
"target": "adminPassword"



Does the arm template provides a way to update existing VM scale set ?
Can I conditional avoid "osProfile" update which defines admin password?
I don't want to change the "osProfile" while updating the VM scale set







azure arm-template






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 16:52









shine17shine17

1




1















  • i think you can just amend it from the template, I mean osProfile

    – 4c74356b41
    Mar 28 at 19:02












  • Could you elaborate ?

    – shine17
    Mar 28 at 19:14











  • just remove it from the template and it should work

    – 4c74356b41
    Mar 28 at 19:40











  • Can you post both the original template and the new one?

    – rdas
    Mar 31 at 7:46

















  • i think you can just amend it from the template, I mean osProfile

    – 4c74356b41
    Mar 28 at 19:02












  • Could you elaborate ?

    – shine17
    Mar 28 at 19:14











  • just remove it from the template and it should work

    – 4c74356b41
    Mar 28 at 19:40











  • Can you post both the original template and the new one?

    – rdas
    Mar 31 at 7:46
















i think you can just amend it from the template, I mean osProfile

– 4c74356b41
Mar 28 at 19:02






i think you can just amend it from the template, I mean osProfile

– 4c74356b41
Mar 28 at 19:02














Could you elaborate ?

– shine17
Mar 28 at 19:14





Could you elaborate ?

– shine17
Mar 28 at 19:14













just remove it from the template and it should work

– 4c74356b41
Mar 28 at 19:40





just remove it from the template and it should work

– 4c74356b41
Mar 28 at 19:40













Can you post both the original template and the new one?

– rdas
Mar 31 at 7:46





Can you post both the original template and the new one?

– rdas
Mar 31 at 7:46












0






active

oldest

votes














Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403015%2fhow-do-i-update-existing-azure-vm-scale-set-using-arm-template%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403015%2fhow-do-i-update-existing-azure-vm-scale-set-using-arm-template%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript