Hi @Usman Ghani
To delete data that you uploaded using Azure Storage Explorer with a SAS key, you need to ensure that the SAS token you used has the appropriate permissions. The error message "Failed to start delete Insufficient credentials" suggests that the SAS token does not include delete permissions.
When creating a SAS token, you must specify the permissions, including the ability to delete blobs. If your current SAS token does not have the delete permission, you will need to generate a new SAS token with the correct permissions. If you are unable to delete the data using Azure Storage Explorer, you can try deleting the data directly from the Azure portal. This method might provide more control and visibility over the deletion process.
To create a new SAS token with delete permissions, follow these steps:
- Open the file or container in Azure Storage Explorer.
- Select "Get Shared Access Signature..."
- In the Shared Access Signature window, ensure that you check the box for "Delete" under the permissions section.
- Set the start and expiry date and time as needed.
- Click "Create" and copy the new SAS token.
Once you have the new SAS token with the delete permission, you should be able to delete the data without encountering the insufficient credentials error.
If your storage account has network restrictions, ensure your IP is allowed in
Azure Portal → Networking → Firewall and Virtual Networks.
Create SAS tokens with Azure Storage Explorer
https://github.com/microsoft/AzureStorageExplorer/issues/3808
Hope the above answer helps! Please let us know do you have any further queries.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.