Delete File from Azure Storage Blob
  • 10 Apr 2023
  • 1 Minute to read
  • Dark
    Light

Delete File from Azure Storage Blob

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationIntegration > Azure Storage

The Delete File from Azure Storage Blob step removes a blob data file that is saved within an Azure Storage container. Deleting a file from Azure Blob Storage will remove the file permanently from the specified container. 

Prerequisites 

This step requires the Azure module to be installed before it will be available in the toolbox. In addition, the step will require the connection string for an Azure Storage account that has access to the container.



Properties

PropertyDescriptionData Type
Blob NameThe name of the file within the storage container.String
Connection StringThe connection string for an Azure Storage account. This can be located by navigating to the Storage Account within the Azure Portal, then selecting Shared access signature to create and display the connection string.
String
Container NameThe name of the container as it appears in Azure.String

Outputs

PropertyDescriptionData Type
Error MessageThe string returned if there are any errors when deleting the Azure Blob.String

Example Inputs and Outputs

Blob NameConnection StringContainer NameOutput
ExampleFile.txtDefaultEndpointsProtocol=https;AccountName=[AccountName];AccountKey=[AccountKey]=;EndpointSuffix=core.windows.net
examplecontainerThe blob file will be removed from the Storage container
ExampleFile
DefaultEndpointsProtocol=https;AccountName=[AccountName];AccountKey=[AccountKey]=;EndpointSuffix=core.windows.net
examplecontainer
Error returned: "The specified blob does not exist"
Null ValueDefaultEndpointsProtocol=https;AccountName=[AccountName];AccountKey=[AccountKey]=;EndpointSuffix=core.windows.net
Null ValueError returned: "The specified container does not exist"


Common Errors

The specified blob does not exist

The following error occurs if the Azure Blob input is missing the file extension as part of the name if the file has an extension. Ensure that the name for the file entered into this field matches a file that appears within the Azure Blob Container.


Related Information

Articles:
Azure Storage Module


Was this article helpful?