Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HamidBee
Power Participant
Power Participant

'Access to the resource is forbidden' when connecting to Azure Data

I am trying to connect to a data lake storage gen 2 account. 

 

1. Firstly I selected Azure Data Lake Storage Gen2

 

HamidBee_0-1661955393634.png

 

2. I then entered the URL for the storage account.

 

HamidBee_1-1661955474663.png

HamidBee_2-1661955689348.png

 

3. Strangely, when I click on 'Binary' I get the following error:

 

HamidBee_3-1661955742371.png

 

'Access to the resource is forbidden'

 

4. So I tried selcecting the CDM view

 

HamidBee_4-1661955811453.png

 

but I get the same error:

 

HamidBee_5-1661955863087.png

 

I read online that I need to set permissions in the container/storage account to 'storage blob data reader'. I tried this and I also tried storage blob data contributer but it still did not work.

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @HamidBee ,

 

Please go to File->Options and Settings->Data Source Settings, find the existing Azure data lake data source, clear the permissions and re-connect to the data source, then check if you get any errors.

This is the related document, you can view this content:
Solved: Getting forbidden error while Connecting to ADLS G... - Microsoft Power BI Community

How to fix the "Access to the resource is forbidden" error? - Power BI Connector for Jira - Alpha Se...

Azure DevOps: "Access to this resource is forbidde... - Microsoft Power BI Community

Fixe – Error – Access to the resource is forbidden while trying to connect to Azure Data Lake Storag...

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
HamidBee
Power Participant
Power Participant

Thanks this solved the problem. I went into 'Data source settings -> Edit Permissions -> Edit -> Account key. I then entered the account key for the Data Lake and clicked save. It's possible that I either entered the wrong account key when initially creating the data source or I did not enter the Account key at all. 

Anonymous
Not applicable

Hi  @HamidBee ,

 

Please go to File->Options and Settings->Data Source Settings, find the existing Azure data lake data source, clear the permissions and re-connect to the data source, then check if you get any errors.

This is the related document, you can view this content:
Solved: Getting forbidden error while Connecting to ADLS G... - Microsoft Power BI Community

How to fix the "Access to the resource is forbidden" error? - Power BI Connector for Jira - Alpha Se...

Azure DevOps: "Access to this resource is forbidde... - Microsoft Power BI Community

Fixe – Error – Access to the resource is forbidden while trying to connect to Azure Data Lake Storag...

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.