Azure Function Namespace stuck

Marco S. Junior 46 Reputation points
2023-06-06T16:19:09.2233333+00:00

Well...I am working in a project to a client. So, I've my DEV environment whose subscription belongs to our company and my Client has his own subscription...

Due name conventions, we should use a very specific name for the Azure Functions Resource. In our subscription, we created, for example: alpha-alpha43783428798429784.azurewebsites.net

Then we deleted alpha-alpha43783428798429784 so we can create with the very same name on the client's subscription since namespaces should be unique, right ?

The problem is...After deleted, When I try to create alpha-alpha43783428798429784.azurewebsites.net on the client's subscription, it says: the app name alpha-alpha43783428798429784 is not available.

It's because in some how, even deleted this name are still attached to our subscrition. If I try to create alpha-alpha43783428798429784 on our tenancy, azure will accept it with no errors.

I really need a way to release this name so I can use it in another subscription. Any ideas ?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,194 questions
0 comments No comments
{count} votes

Accepted answer
  1. MuthuKumaranMurugaachari-MSFT 22,361 Reputation points
    2023-06-06T17:54:17.58+00:00

    Marco S. Junior Thanks for posting your question in Microsoft Q&A. This behavior is likely as per design to prevent subdomain takeovers and refer doc Mitigating subdomain takeovers in Azure App Service & Name Reservation on App Service for Web Apps and App Service Environment (ASE) for more info.

    Upon deletion of App Service/Function app, the corresponding DNS is reserved for a cooldown period (vary based on the subscription; min 30 days) and DNS is forbidden except for subscriptions belonging to the tenant of the subscription owning the DNS. In your case, it appears to be different and hence the error the app name alpha-alpha43783428798429784 is not available. We might need to review the backend logs to confirm if this is the cause.

    If you have a valid business scenario to create the same function app in different tenant (before cooldown period), then you can open a support ticket with our azure support team. They can assist you further with this request. I hope this helps.


    If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.