For the complete documentation index, see llms.txt. This page is also available as Markdown.

DeleteContainer

Deletes a container from Azure Data Lake.

Task version: 2.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

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: ConnectionString Example: ConnectionMethod.ConnectionString

ContainerName : String

Name of the Azure Data Lake container which will be deleted.

Default: - Example: test-container

🗝ConnectionString : String

Connection string to Azure Data Lake.

Default: - Example: DefaultEndpointsProtocol=https;AccountName=accountname;AccountKey=Pdlrxyz==;EndpointSuffix=core.windows.net

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: YouShallNotPass!

StorageAccountName : String

Name of the storage account.

Default: - Example: Storager

Name
Description

ThrowErrorOnFailure : Boolean

Throw an exception if the task encounters an error.

When false, the task returns a Result with Success = false and Error details instead.

Default: True Example: true

ErrorMessageOnFailure : String

Optional custom error message to use when ThrowErrorOnFailure is true.

Default: - Example: -

Task Result

Name
Description

Success : Boolean

Indicates whether the operation succeeded. Example: true

ContainerWasDeleted : Boolean

Returns true when container has been deleted. Example: true

Message : String

Description about action's result. Example: Container deleted successfully.

Error : Error

Error details when the operation fails and ThrowErrorOnFailure is false.

Error.Message : String

Error message.

Error.AdditionalInfo : Exception

Additional information about the error.

Task Changelog

Changelog for Task Frends.AzureDataLake.DeleteContainer.

[2.0.0] - 2026-08-11

Changed

  • Breaking change: Removed ThrowErrorIfContainerDoesNotExist option. Container-not-found is now treated as a regular failure and handled by ThrowErrorOnFailure (throws an exception by default, or returns a failed Result when set to false).

  • Upgraded target framework from .NET 6 to .NET 8.

  • Added ThrowErrorOnFailure and ErrorMessageOnFailure options: you can now control whether the task throws an exception on failure or returns a result with error details.

  • The task result now includes Success and Error properties to reflect the outcome of the operation more clearly.

[1.3.0] - 2026-01-15

Changed

  • Updated Azure packages to latest versions:

  • Azure.Storage.Files.DataLake 12.25.0

  • Azure.Identity 1.17.1

[1.2.0] - 2024-08-23

Changed

  • Updated the Azure.Identity package to version 1.12.0.

[1.1.0] - 2024-05-20

Added

  • Added FrendsTaskMetadata.json

[1.0.0] - 2024-05-13

Added

  • Initial implementation of Frends.AzureDataLake.DeleteContainer.

Last updated

Was this helpful?