How do I delete folders in the Blob container that the SAS url points us too ?

SY_MSO 166 Reputation points
2021-11-23T19:57:38.057+00:00

How do I delete folders in the Blob container that the SAS url points us too ?
151935-image.png

Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
231 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 43,801 Reputation points Microsoft Employee
    2021-11-24T07:21:37.65+00:00

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

    If you have connected the Azure Blob Storage container using below mentioned option(Blob SAS URL) then you will <Storage account>(SAS) . You need to Detach the container. You won't get delete option here, since you have connected the blob container using SAS. If they regenerate the SAS URL you cannot connect/attach back, previous SAS URL/token would be expired.

    152163-32423423.gif

    Additional information: If you create a New folder in Azure Blob Storage account->Container This will create a virtual folder. A virtual folder does not actually exist in Azure until you paste, drag or upload blobs into it. To paste a blob into a virtual folder, copy the blob before creating the folder.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

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

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Hervin De La Cruz Betancourt 1 Reputation point
    2021-11-23T20:46:08.43+00:00

    @SY_MSO
    azure-blob-storage-delete-folder.html

    Azure Blob storage does not have a concept of folders and everything inside the container is considered a blob including the folders.

    0 comments No comments

  2. SY_MSO 166 Reputation points
    2021-12-01T18:00:46.217+00:00

    Hello Sumarigo,

    we where able to detach the blob containers and created a new SAS URL but all the data is still there. We want to delete the data .
    we copied a file structure we do not want and now we cant delete the data to start new .

    154192-microsoftteams-image-1.png