Hello @Miko ,
Welcome to the Microsoft Q&A platform.
Unfortunately, you cannot use BlobContainerClient Class with Azure Data Lake Gen2.
Reason: The BlobContainerClient allows you to manipulate Azure Storage containers and their blobs.
For Azure Data Lake Gen2 accounts: You can use the Azure identity client library for Java to authenticate your application with Azure AD.
For more details, refer to Connect by using Azure Active Directory (Azure AD).
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators