Skip to content

Support for Platform Release Channel in Azure App Service. (az webapp update --platform-release-channel)#32811

Open
surenderssm wants to merge 4 commits intoAzure:devfrom
surenderssm:app-service-platform-release-channel
Open

Support for Platform Release Channel in Azure App Service. (az webapp update --platform-release-channel)#32811
surenderssm wants to merge 4 commits intoAzure:devfrom
surenderssm:app-service-platform-release-channel

Conversation

@surenderssm
Copy link
Member

Add support for setting the platform release channel (Standard, Latest, Extended) on web apps via az webapp update.

  • Uses additional_properties pattern since the property is not yet in the SDK model.

Related command
az webapp update

Description
Add --platform-release-channel parameter to az webapp update to allow users to set the platform release channel for their web app. Allowed values are Standard, Latest, and Extended (case-insensitive, normalized to title case before sending to the API).
Testing Guide
Set platform release channel to Extended
az webapp update -g MyResourceGroup -n MyAppName --platform-release-channel Extended
Set platform release channel to Standard (case-insensitive input)
az webapp update -g MyResourceGroup -n MyAppName --platform-release-channel standard
Works with slots
az webapp update -g MyResourceGroup -n MyAppName --slot staging --platform-release-channel Latest

Test Evidence

Before

az webapp update -g hello-sumali -n test-prc-v2 --platform-release-channel Extended

image

After (from az cli from the feature branch)

Steps:

  • cd Q:\GitHub\azure-cli
  • .\.venv\Scripts\Activate.ps1
    
  • Invalid release channel
image
  • az webapp update -g hello-sumali -n test-prc-v2 --platform-release-channel Extended
image image
  • az webapp update -g hello-sumali -n test-prc-v2 --platform-release-channel latest
image
  • az webapp update -g hello-sumali -n test-prc-v2 --platform-release-channel Standard
image

This checklist is used to make sure that common guidelines for a pull request are followed.

Add support for setting the platform release channel (Standard, Latest,
Extended) on web apps via az webapp update. Uses additional_properties
pattern since the property is not yet in the SDK model.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 18, 2026 13:25
@azure-client-tools-bot-prd
Copy link

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link

Hi @surenderssm,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 18, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for setting the platform release channel on Azure App Service web apps through the az webapp update command. The platform release channel determines which version of the App Service platform the web app runs on, with options for Standard, Latest, or Extended support channels.

Changes:

  • Added --platform-release-channel parameter to az webapp update command with enum validation for Standard/Latest/Extended values
  • Implemented the feature using the additional_properties pattern since the property is not yet in the SDK model
  • Added comprehensive unit tests covering all three channel values, case-insensitive input, and null handling
  • Updated help documentation with usage examples

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/azure-cli/azure/cli/command_modules/appservice/_params.py Defines PLATFORM_RELEASE_CHANNEL_TYPES enum and adds platform_release_channel parameter to webapp update command context
src/azure-cli/azure/cli/command_modules/appservice/custom.py Implements platform_release_channel handling in update_webapp function using additional_properties pattern
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands_thru_mock.py Adds comprehensive unit tests for the new parameter covering all enum values, case normalization, and null handling
src/azure-cli/azure/cli/command_modules/appservice/_help.py Adds example showing how to use the new platform-release-channel parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
if prewarmed_instance_count is not None:
instance.site_config.pre_warmed_instance_count = prewarmed_instance_count

if platform_release_channel is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a isLinux validation too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in other comment, this is for both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot Web Apps az webapp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Comments