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

Answer accepted by question author
  1. Nandan Hegde 36,716 Reputation points MVP Volunteer Moderator
    2022-09-22T14:12:51.867+00:00

    243952-image.png


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.