Skip to content

[App Service] [Discussion] Automatically set default web app setting after creating a new one #2551

Description

#2072 was resolved by the new az configure -d flag via #2414 (yay!), but I wanted to make sure we captured the discussion to automatically set the default web setting when you create a new one. That way, you can call az appservice web create, and then immediately run commands on it (e.g. browse), without needing to specify the name again or explicitly call az configure -d web=foo manually.

Instead of doing (assuming you have a default group already set):

az appservice web create -n foo
az configure -d web=foo
az appservice web browse

You could do this:

az appservice web create -n foo
az appservice web browse

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions