DeleteFiles
Delete files from Azure Data Lake.
Task version: 1.2.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.AzureDataLake/tree/main/Frends.AzureDataLake.DeleteFiles
Task Parameters
ConnectionMethod : ConnectionMethod
Which connection method should be used for connecting to Azure Data Lake.
Possible values:
ConnectionString: Which connection method should be used for connecting to Azure Data Lake.OAuth2: Which connection method should be used for connecting to Azure Data Lake.
Default: 1
Example: ConnectionMethod.ConnectionString
🗝ConnectionString : String
Connection string to Azure Data Lake.
Default: -
Example: DefaultEndpointsProtocol=https;AccountName=accountname;AccountKey=Pdlrxyz==;EndpointSuffix=core.windows.net
StorageAccountName : String
Name of the Azure Data Lake account.
Default: -
Example: storager
ApplicationID : String
Application (Client) ID of Azure AD Application.
Default: -
Example: Y6b1hf2a-80e2-xyz2-qwer3h-3a7c3a8as4b7f
TenantID : String
Tenant ID of Azure Tenant.
Default: -
Example: Y6b1hf2a-80e2-xyz2-qwer3h-3a7c3a8as4b7f
🗝ClientSecret : String
Client Secret of Azure AD Application.
Default: -
Example: Password!
ContainerName : String
Name of the Azure Data Lake container where the data will be uploaded.
Naming: lowercase
Valid chars: alphanumeric and dash, but cannot start or end with dash.
Default: test-container
Example: test-container
DeleteFilePattern : String
Path of file(s) you want to delete from DataLake
This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
Default: -
Example: file?.txt
ThrowErrorOnFailure : Boolean
True: Throw an exception.
False: Return Result with IsSucces=false and ErrorMessage with description of exception.
Default: True
Example: true
Task Result
IsSuccess : Boolean
Operation complete. Operation is seens as completed if all desired files were deleted.
Example: true
DeletedFiles : List<String>
This object contains list of deleted filesą
Example: { https://storage.blob.core.windows.net/container/examplefile.txt, https://storage.blob.core.windows.net/container/examplefile2.txt, }
ErrorMessage : String
This object contains the error message if task fails.
Example: Container ex does not exist
Task Changelog
Changelog for Task Frends.AzureDataLake.DeleteFiles.
[1.2.0] - 2026-01-15
Changed
Updated Azure packages to latest versions:
Azure.Storage.Files.DataLake 12.25.0
Azure.Identity 1.17.1
[1.1.0] - 2024-08-23
Changed
Updated the Azure.Identity package to version 1.12.0.
[1.0.0] - 2024-05-21
Added
Initial implementation of Frends.AzureDataLake.DeleteFiles.
Last updated
Was this helpful?

