Share via

what could be the resource id for a storage account + container + sub-folders

Mahesh Bramandlapally 146 Reputation points
2026-01-08T06:23:36.69+00:00

Hi Team,

Could you please guide me with the Resource id of a storage account along with storage container/BLOB and subfolders inside it.

I could get the storage account resource id by going to SA Overview and Json format.

Ex: /subscriptions/<subscription id>/resourceGroups/<rg name>/providers/Microsoft.Storage/storageAccounts/<SA Name>

How we can get the path by appending the container name and folders/subfolders inside it

Please advise.

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.

0 comments No comments

Answer accepted by question author

  1. Ravi Varma Mudduluru 11,075 Reputation points Microsoft External Staff Moderator
    2026-01-08T07:43:09.4766667+00:00

    Hello @ Mahesh Bramandlapally,

    Thank you for reaching out to Microsoft Q&A.

    I understand that you're trying to figure out how to construct the full resource ID for a storage account, container, and its subfolders in Azure.

    Navigate to storage account --> expand settings --> open endpoint and there you will see the all the resource IDs as shown in the screenshot.

    User's image

    For example, Blob service Resource ID

    /subscriptions/<subscription-id>/resourceGroups/<resource-group name>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>/blobServices/default/containers/<container-name>

    To list subfolders:

    /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>/blobServices/default/containers/<container-name>/blobs/<subfolder-path>

    Kindly let us know if the above helps or you need further assistance on this issue.

    Please "Accept the Answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-01-08T06:23:46.67+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To construct the resource ID for a storage account along with a storage container and subfolders, you can follow this format:

    1. Start with the base resource ID for the storage account: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>
    2. Append the container name and the path to the subfolders. The complete format would look like this: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>/blobServices/default/containers/<container-name>/blobs/<subfolder1>/<subfolder2>/...

    Here, <subfolder1>, <subfolder2>, etc. represent the names of the subfolders within the container. Note that the path should reflect the hierarchy of the blobs (files) within the container.

    This structure allows you to uniquely identify a blob within a specific container in your Azure Storage account.


    References:

Your answer

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