Share via

DataLakeServiceClient.DeleteFileSystem() method on non-ADLSv2 upgraded storage accounts

Anonymous
2024-10-08T00:52:39.42+00:00

The .NET codebase I work on interacts with some storage accounts that are upgraded to ADLSv2 and some that are not. I noticed that the DataLakeServiceClient.DeleteFileSystem() method works in both cases. Can I get a confirmation that the method's behavior is the same, regardless of whether or not the storage account has been upgraded to ADLSv2?

Azure Data Lake Storage
Azure Data Lake Storage

An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.


Answer accepted by question author

Keshavulu Dasari 4,925 Reputation points Microsoft External Staff Moderator
2024-10-09T22:51:29.7+00:00

 Hi Max Morrison,
The note you found refers to the general support of the client library for hierarchical namespace (HNS) disabled storage accounts.
The specific method DataLakeServiceClient.DeleteFileSystem() is designed to work with both HNS-enabled and HNS-disabled accounts.

The method marks the specified file system for deletion, and this operation is supported regardless of the HNS status of the storage account. The key point is that while some advanced features of the Data Lake service require HNS to be enabled, basic operations like deleting a file system are supported in both configurations.

Please let us know if you have any further queries. I’m happy to assist you further.


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.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.