Hello, I hope you are doing well,
Globally unique namespace The DNS name yourapp.azurewebsites.net must be globally unique across all Azure tenants, not just within your subscription.
Soft deletion doesn’t release the name immediately When you delete an App Service, Azure doesn’t free the hostname right away. It can be held for a retention period (to support recovery) or if it’s associated with other resources like slots, Traffic Manager, Front Door, or App Service Domains.
Hidden references Sometimes the app name is “stuck” because:
It still exists in the App Service recycle bin (soft-deleted state).
The name is reserved in App Service Certificates or App Service Domains.
Azure hasn’t garbage-collected the DNS mapping yet.
- Check soft-deleted resources
- Run:
or check in the portal → App Services → Deleted Apps.az webapp deleted list --resource-group <rg-name>
- If you see the app, you can either restore it or permanently purge it. it.
- Run:
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!