Skip to content

[App Service] az webapp up: Add parameter --domain-name-scope to support specifying the scope of uniqueness for the default hostname during resource creation#32930

Open
pranav-04 wants to merge 2 commits intoAzure:devfrom
pranav-04:webapp-up-domain-name-scope
Open

Conversation

@pranav-04
Copy link

Related command
az webapp up

Description
The change adds the support for --domain-name-scope parameter. The parameter helps customers to specify the domain name scope for the web app. For example, when creating the web app with --domain-name-scope SubscriptionReuse, it will create webapp with the domain of the format of [appname]-[unique-string].[region].azurewebsites.net instead of the default domain of [appnames].azurewebsites.net.

Testing Guide
az webapp up -g [resrouce-group] --subscription [azure-subscription] -p [appservice-plan] -n [webapp-name] --domain-name-scope TenantReuse

Detailed instructions on how to run az webapp up can be found here

History Notes


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

@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

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 6, 2026

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

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

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>

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Mar 6, 2026
@microsoft-github-policy-service
Copy link
Contributor

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

Copy link

@pvbchak pvbchak left a comment

Choose a reason for hiding this comment

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

LGTM

@yonzhan yonzhan assigned yanzhudd and unassigned zhoxing-ms Mar 7, 2026
@pranav-04
Copy link
Author

@microsoft-github-policy-service agree company="Microsoft"

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 customer-reported Issues that are reported by GitHub users external to the Azure organization. Web Apps az webapp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants