Connect serverless SQL pool and Power BI using a data base user

Lukas 151 Reputation points
2022-09-22T13:22:45.283+00:00

Hello Microsoft Q&A,

I have the following problem:

I want to use Power BI to get some insights about my data in my Azure Data Lake Gen2. I have created a serverless sql pool and in that pool I created a bunch of external tables. I was able to query these tables via Power BI and my Microsoft Account:

243911-image.png

But I want to use a data base user:

243912-image.png

I'am able to see the tables in Power BI but get the error DataSource.Error: Microsoft SQL: Content of directory on path 'https://data_____________.dfs.core.windows.net/default/staging/uir/____________/backend_Case/_delta_log/.' cannot be listed.
, when I try to import the data:

243951-image.png

Is it possible to create an data base user, so that I'm able to import the data to Power BI using this user. I used the following script, to create the user:

CREATE LOGIN UIR_PowerBIReports WITH PASSWORD = '*';
CREATE USER UIR_PowerBIReports FROM LOGIN UIR_PowerBIReports;
GRANT CONNECT TO UIR_PowerBIReports;
ALTER ROLE db_owner ADD MEMBER UIR_PowerBIReports;

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.
4,402 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nandan Hegde 29,896 Reputation points MVP
    2022-09-22T14:12:51.867+00:00

    243952-image.png


0 additional answers

Sort by: Most helpful