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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.