Hello Adeymola,
As part of investigation unfortunately we lack in enquiring few details from your end however based on the error message "Content of directory on path cannot be listed" typically indicates that the user querying Azure Data Lake does not have the necessary permissions to list the files in the specified directory. This can occur for several reasons:
- The Microsoft Entra user does not have permission to list the files in Data Lake Storage.
- The Microsoft Entra ID or SQL user accessing the data does not have the required permissions.
- The user may not have the necessary permissions to read the Delta Lake Storage.
To resolve this issue, you can grant user the Storage Blob Data Contributor and Reader role in the storage account you are trying to query. This role will provide the necessary permissions to list and access the files.
I would also recommend checking Can't read, list, or access files in Azure Data Lake Storage
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.
If you have any other questions or this answer is not helpful, let me know in the "comments" and help me with the questions asked above so that I can proceed with investigating this issue?