I have an app service called TestApp that resides in Central US in a ResourceGroup called TestGroup.
I want to create an app service with the same name in a different resourcegroup and region .
How can i do this ?
These are the steps i took.
- Created a new resourcegroup (TestGroup2)
- Tried to create the app in the RG TestGroup2 with a different region of North Central US .
The issue is , it still says that "the app name cannot be used" .
How can i create an app with the same name as another in Azure ?
2
Answers
You can’t – app service names are globally unique and they form part of the app’s default domain.
Moreover, normally, you want TestApp in different regions to be the same app usually for reasons of high availability or being close to the end user.
If you don’t, you need to differentiate them by giving them different names.
See very similar Does Azure Function App require a globally unique name?
No, web site(app service) name must be unique globally.
For details, docs