Change App Service Plan for App Service via AZ CLI commands

Lawrence Smith 21 Reputation points
2023-08-16T20:44:09.5166667+00:00

Back in 2018 it was asked if there was an AZ CLI command equivalent to the portal function "Change App Service Plan". The answer then was "no".

Has that answer changed in 5 years time?

Thanks

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,971 questions
0 comments No comments
{count} votes

Accepted answer
  1. AirGordon 7,150 Reputation points
    2023-08-16T22:00:59.29+00:00

    Unfortunately it's not a valid option in az webapp update.

    You can use IaC (Bicep/ARM) to do this though, which would typically be my preference.

    https://learn.microsoft.com/en-us/azure/app-service/provision-resource-bicep


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.