DataSourceError from PowerBI when trying to access Synapse Serverless View on ADLS2

Hobday, Colin 45 Reputation points
2024-07-31T07:58:19.4166667+00:00
We have an issue with a particular user connecting to our Serverless SQL pool via PowerBI.

I created an Azure Synapse workspace, which contains the built in serverless SQL pool which has some Views set up to pull data from some Delta tables.  As the creator of the DB I can connect to the serverless pool without issue and can model the data from the views in powerBI. However when my colleague attempts to do the same, she can see the names of the views/tables but gets the following error:

DataSource.Error: Microsoft SQL: Content of directory on path '
https://-------.dfs.core.windows.net/engineering/-----/gold/g_estimate_details/_delta_log/*.*'
cannot be listed.
Could not use view or function 'gold.g_estimate_details_el' because of binding errors.
Details:
    DataSourceKind=SQL
    DataSourcePath=----------synapse-ondemand.sql.azuresynapse.net;aegaeon
    Message=Content of directory on path '
https://---------.dfs.core.windows.net/engineering/--------/gold/g_estimate_details/_delta_log/*.*'
cannot be listed.
Could not use view or function 'gold.g_estimate_details_el' because of binding errors.
    ErrorCode=-2146232060
    Number=13807
    Class=16

I have granted references on a database scoped credential to this user.  The credential is a shared access signature with read permission on the ADLS2 container.  

I have also tried to use Storage Explorer to grant and propogate ACLs to the subfolders, but it doesn't work.
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.
1,559 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2024-08-03T04:19:08.65+00:00

    @Hobday, Colin - Thanks for the question and using MS Q&A paltform.
    It seems like your colleague is facing an issue while accessing the Serverless SQL pool via PowerBI. The error message suggests that the content of the directory on the path cannot be listed. This could be due to a binding error.

    To resolve this issue, you can try the following steps:

    1. Check if the user has the necessary permissions to access the ADLS2 container. You mentioned that you have granted references on a database scoped credential to this user. Please ensure that the credential has the necessary permissions to access the ADLS2 container.
    2. Check if the user has the necessary permissions to list the contents of the directory on the path. You can try granting the user the necessary permissions to list the contents of the directory on the path.
    3. Check if the user has the necessary permissions to use the view or function 'gold.g_estimate_details_el'. You can try granting the user the necessary permissions to use the view or function.
    4. Check if the user has the necessary permissions to propagate ACLs to the subfolders. You can try granting the user the necessary permissions to propagate ACLs to the subfolders.

    If the issue persists, please provide more information about the environment and the steps you have taken so far to troubleshoot the issue.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


1 additional answer

Sort by: Most helpful
  1. Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
    2024-07-31T08:35:45.86+00:00

Your answer

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