Cannot create Azure OpenAI instance - "The subdomain name {name} is not available, already used by resource."

Aljaž Potočnik 0 Reputation points
2023-04-11T12:59:49.9033333+00:00

Hello, I am having trouble creating Azure OpenAI. Below is the error message in the last step of creation process (Review & submit).

{
  "code": "InvalidTemplateDeployment",
  "details": [
    {
      "code": "CustomDomainInUse",
      "message": "Please pick a different name. The subdomain name 'azure-openai-test-001' is not available as it's already used by a resource. If the resource using the name was deleted in the last 48 hours, you may need to purge the deleted resource. Learn more at \"https://go.microsoft.com/fwlink/?linkid=2215493\""
    }
  ],
  "message": "The template deployment 'Microsoft.CognitiveServicesOpenAI-20230411144146' is not valid according to the validation procedure. The tracking id is 'afd95274-b03d-4440-9775-8e2f9ffaf4d5'. See inner errors for details."
}

Is this maybe already known issue, even though I didn't find this exact problem in any thread. The name should be available, as this resource name does not exist yet. Best, AP

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,942 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 17,026 Reputation points
    2023-04-11T18:55:23.2166667+00:00

    Hi @Aljaž Potočnik ,Thanks for using Microsoft Q&A Platform.

    The subdomain names are globally unique.

    So, the subdomain name 'azure-openai-test-001' is already in use by any another customer resource. The error message suggests that you pick a different name for your custom domain. Please try to add different name and it would help.

    Generally, if the resource using the name was deleted in the last 48 hours, you may need to purge the deleted resource. You can learn more about this and how to resolve it by visiting the following link: https://go.microsoft.com/fwlink/?linkid=2215493.

    I hope this helps.

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks.

    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.