# DeleteDirectory

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.DeleteDirectory>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ConnectionMethod : `ConnectionMethod` | <p>Which connection method should be used for connecting to Azure Data Lake.</p><p>Possible values:</p><ul><li><code>ConnectionString</code>:</li></ul><p>Which connection method should be used for connecting to Azure Data Lake.</p><ul><li><code>OAuth2</code>:</li></ul><p>Which connection method should be used for connecting to Azure Data Lake.</p><p><br>Default: <code>0</code><br>Example: <code>ConnectionMethod.ConnectionString</code></p> |
| 🗝ConnectionString : `String`         | <p>Connection string to Azure Data Lake.</p><p><br>Default: <code>-</code><br>Example: <code>DefaultEndpointsProtocol=https;AccountName=accountname;AccountKey=Pdlrxyz==;EndpointSuffix=core.windows.net</code></p>                                                                                                                                                                                                                                        |
| StorageAccountName : `String`         | <p>Name of the Azure Data Lake account.</p><p><br>Default: <code>-</code><br>Example: <code>storager</code></p>                                                                                                                                                                                                                                                                                                                                            |
| ApplicationID : `String`              | <p>Application (Client) ID of Azure AD Application.</p><p><br>Default: <code>-</code><br>Example: <code>Y6b1hf2a-80e2-xyz2-qwer3h-3a7c3a8as4b7f</code></p>                                                                                                                                                                                                                                                                                                 |
| TenantID : `String`                   | <p>Tenant ID of Azure Tenant.</p><p><br>Default: <code>-</code><br>Example: <code>Y6b1hf2a-80e2-xyz2-qwer3h-3a7c3a8as4b7f</code></p>                                                                                                                                                                                                                                                                                                                       |
| 🗝ClientSecret : `String`             | <p>Client Secret of Azure AD Application.</p><p><br>Default: <code>-</code><br>Example: <code>Password!</code></p>                                                                                                                                                                                                                                                                                                                                         |
| ContainerName : `String`              | <p>Name of the Azure Data Lake container.</p><p>Naming: lowercase</p><p>Valid chars: alphanumeric and dash, but cannot start or end with dash.</p><p><br>Default: <code>test-container</code><br>Example: <code>test-container</code></p>                                                                                                                                                                                                                  |
| DirectoryName : `String`              | <p>Name of the Azure Data Lake directory.</p><p>Valid chars: alphanumeric.</p><p><br>Default: <code>directory\_name</code><br>Example: <code>directory\_name</code></p>                                                                                                                                                                                                                                                                                    |
| {% endtab %}                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

{% tab title="Result: Result" %}

| Name                            | Description                                                                                        |
| ------------------------------- | -------------------------------------------------------------------------------------------------- |
| DirectoryWasDeleted : `Boolean` | <p>Returns true if directory has been deleted.<br>Example: <code>true</code></p>                   |
| Message : `String`              | <p>Description about action's result.<br>Example: <code>Directory deleted successfully.</code></p> |
| {% endtab %}                    |                                                                                                    |

{% tab title="Changelog" %}

## Changelog

### \[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] - 2025-12-12

#### Changed

* Update description of the task.

### \[1.1.0] - 2024-08-23

#### Changed

* Updated the Azure.Identity package to version 1.12.0.

### \[1.0.0] - 2024-05-14

#### Added

* Initial implementation of Frends.AzureDataLake.DeleteDirectory.
  {% endtab %}
  {% endtabs %}
