Azure File Share

Handian Sudianto 2,121 Reputation points
2022-11-15T05:28:28.25+00:00

Hi..

When we create an azure file share we got URL like this https://xxxxx.file.core.windows.net/xxxxx
I just want to know how azure can prevent duplicate URL name across azure users? If the key only base xxxxx i think there will be an duplicate entry.

260269-image.png

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
890 questions
0 comments No comments
{count} votes

Accepted answer
  1. sreejukg 10,461 Reputation points
    2022-11-15T05:43:18.837+00:00

    The URI for the file share is as follows.

    https://<<youraccount>>.file.core.windows.net/<<Yoursharename>>

    e.g., https://mystorageaccount.file.core.windows.net/myshare

    The URI for the resource is unique. Your storage account name is unique globally, and every share name is unique within a given storage account.

    Refer: https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata

    Hope this helps

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Handian Sudianto 2,121 Reputation points
    2022-11-15T05:55:30.773+00:00

    Hi @sreejukg

    So let say my storage account name is 'mystorage1' so this mean all azure users in the world can't create with 'mystorage1'?


  2. Sumarigo-MSFT 35,036 Reputation points Microsoft Employee
    2022-11-15T06:38:05.347+00:00

    @Handian Sudianto Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Azure Storage account name is unique, Once the Storage account name is created, you cannot recreate the same storage account name until its been deleted.

    Storage account names must be between 3 and 24 characters in length and may contain numbers and lowercase letters only.
    Your storage account name must be unique within Azure. No two storage accounts can have the same name.

    Storage account endpoints

    A storage account provides a unique namespace in Azure for your data. Every object that you store in Azure Storage has a URL address that includes your unique account name. The combination of the account name and the service endpoint forms the endpoints for your storage account.

    There are two types of service endpoints available for a storage account:

      • Standard endpoints (recommended). You can create up to 250 storage accounts per region with standard endpoints in a given subscription.
    • Azure DNS zone endpoints (preview). You can create up to 5000 storage accounts per region with Azure DNS zone endpoints in a given subscription.
    • Within a single subscription, you can create accounts with either standard or Azure DNS Zone endpoints, for a maximum of 5250 accounts per subscription.

    260337-image.png

    When your account is created with standard endpoints, you can easily construct the URL for an object in Azure Storage by appending the object's location in the storage account to the endpoint. For example, the URL for a blob will be similar to: https://mystorageaccount.file.core.windows.net/fileshare/

    If you have any additional questions or need further clarification, please let me know.


    Please do not forget to 260385-accept-answer.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  3. Handian Sudianto 2,121 Reputation points
    2022-11-15T06:43:55.897+00:00

    Hi @Sumarigo-MSFT

    Noted with many thanks.

    0 comments No comments