Skip to content

Commit 9e9e242

Browse files
authored
Update custom.py
1 parent 05a5d8f commit 9e9e242

File tree

1 file changed

+3
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/appservice

1 file changed

+3
-1
lines changed

src/azure-cli/azure/cli/command_modules/appservice/custom.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ def create_webapp(cmd, resource_group_name, name, plan, runtime=None, startup_fi
172172
app_details = get_app_details(cmd, name)
173173
if app_details is None:
174174
raise ResourceNotFoundError("Unable to retrieve details of the existing app '{}'. Please check that "
175-
"the app is a part of the current subscription".format(name))
175+
"the app is a part of the current subscription. If "
176+
"creating a new app, app names must be globally unique. Please try a more "
177+
"unique name".format(name))
176178
current_rg = app_details.resource_group
177179
if resource_group_name is not None and (resource_group_name.lower() != current_rg.lower()):
178180
raise ValidationError("The webapp '{}' exists in resource group '{}' and does not "

0 commit comments

Comments
 (0)