How to Upload file in root level of azure storage account.

Barik, Monalisa 126 Reputation points
2022-09-15T15:21:20.057+00:00

We are using Azure storage explorer and Azure portal to upload files in Azure blob container in storage account.

Our requirement is to upload files at root level of storage account. We have storage account testlab and the URL is https://testlab.blob.core.windows.net .

We want to upload file under root level so the url should be like https://testlab.blob.core.windows.net/myfilename.txt

But we have only option to upload files inside blob container .

example: https://testlab.blob.core.windows.net/image/testlabimage.png

Please let us know how we can upload files in root level in Azure storage .

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,224 questions
0 comments No comments
{count} vote

Accepted answer
  1. Riaan-VS 376 Reputation points
    2022-09-15T16:09:47.547+00:00

    Hello Barik,

    As far as i know this is not possible.
    You always have to create container to save/archive your files.

    This is a diagram from the official Microsoft page about how a storageaccount / blob works:
    https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction

    241519-image.png

    If my answer helped you in anyway please accept it as an answer.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Luiz 5 Reputation points
    2023-03-23T00:05:29.3933333+00:00

    Create a container with name "$root" and all the files inside will be at the root level

    1 person found this answer helpful.

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.