I wanted to use the same ‘web app’ and ‘Azure Function’ names that I had used in my old Azure account. The old account is now expired, and I am migrating my projects to a new Azure account.

Sushant Ashok Bagul 0 Reputation points
2024-08-13T04:55:50.7433333+00:00

I wanted to use the same ‘web app’ and ‘Azure Function’ names that I had used in my old Azure account. The old account is now expired, and I am migrating my projects to a new Azure account. However, even after deleting my resources, I am still unable to use the same names in my new account during resource creation. I have seen similar Q&A (https://video2.skills-academy.com/en-us/answers/questions/1118276/web-app-name-reuse-on-another-account-after-deleti) but no solution I found there.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,073 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
957 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 27,826 Reputation points
    2024-08-13T14:51:39.62+00:00

    @Sushant Ashok Bagul Thanks for reaching out. If you are unable to use the same names for your web app and Azure Function in your new Azure account, even after deleting the resources from your old account, it is possible that the names are still reserved in the Azure global namespace. As mentioned here https://video2.skills-academy.com/en-us/troubleshoot/azure/app-service/create-delete-resources-faq#is-there-a-way-to-list-the-deleted-web-apps-for-my-subscription- Deleted apps are purged from the system 30 days after the initial deletion. so only after 30 days you will be able to use the same name. If you need to purge immediately you would need to raise the support ticket so that it can be hard deleted from the back end.

    you can use the below rest api call to check the availability of names https://video2.skills-academy.com/en-us/rest/api/appservice/check-name-availability/check-name-availability?view=rest-appservice-2023-12-01&tryIt=true&source=docs#checknameresourcetypes if not available then you need to use different name

    please do let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.