What are the restrictions for resources with the same name? AZ-900 Help

Cate Allen 0 Reputation points
2023-10-30T21:06:38.48+00:00

I can't find any documentation on this question so I was hoping someone would be able to help me with this one:

  • Can you have the same name for a resource within the same Region?
  • Can you have the same name for a resource within two different Regions?
  • Can you have the same name for a resource in different subscriptions?

Basically, what are the naming restrictions for resources, in terms at what level do they need to be unique or at all?

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop skilled behavior.
357 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 78,066 Reputation points MVP
    2023-10-30T21:31:15.4+00:00

    Hi @Cate Allen ,

    I would say: It depends on the scope of the Azure resource/object: Naming considerations - Scope

    A list of Azure resources and their scope you can find here: Naming rules and restrictions for Azure resources


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten