Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi @Shreeraksha G
Azure App Service default names (like A276862484005test.azurewebsites.net) must be globally unique across all tenants and subscriptions, and when an App Service is deleted, Azure does not always release the hostname immediately. Instead, deleted apps can remain in a soft-deleted or reservation state for up to ~30 days to help prevent subdomain takeover. During this retention period the hostname can still show as AlreadyExists, even if the resource was deleted and even if you try in a different tenant. Microsoft’s official documentation confirms that deleted App Services can be restored within a retention window and that the hostname isn’t immediately freed.
You can verify whether the app still exists in a soft-deleted state by checking Azure Portal / App Services / Manage Deleted Apps or by running az webapp deleted list in Azure CLI. If the app appears there, you can restore or permanently delete (purge) it; if it does not appear and the name remains unavailable beyond the retention period
https://learn.microsoft.com/en-us/azure/app-service/app-service-undelete
Let me know if you have any further assistances needed.