I've been reading the following article that describes how to change the web hosting plan for your site.
That seems to work fine but if I use the same command to change the web hosting mode (using property: "sku": "Free"
to "sku": "Standard"
) it doesn't give any error feedback and just returns with the unchanged (previous) stored configuration.
Command executed:
$standardServer=@{"sku" = "Standard"; }
Set-AzureResource -Name 'tmtest2' -ResourceGroupName 'Default-Web-JapanWest' -ResourceType Microsoft.Web/sites -ApiVersion 2014-04-01 -PropertyObject $standardServer
Anyone had any luck changing the web hosting mode using Powershell?
Edit: I also tried this link that exactly describes what I'm trying to achieve. However it did not work.