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
DebbieE
Community Champion
Community Champion

Using Data Factory V2 as a data source for a file Errors (Failed to get contents)

I have put a file in Data Lake Gen 2 Storage and I have tried to connect but Im getting the following error

Ive got the correct URL. I know the file exists, Im logging in OK. Can anyone give me any advice on this one?

Im on Version: 2.75.5649.861 64-bit (November 2019)

 

UnableToconnect.JPG

After reading some more documentation I changed the URL to https://demostorageaccount.dfs.core.Windows.net.......

and now I am getting this error

Accesstotheresourceisforbidden.JPG

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hi @DebbieE 

Please refer to these documents and the post, it should give you help:

https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-use-power-bi

https://www.coatesdatastrategies.com/blog/querying-data-in-azure-data-lake-storage-gen-2-from-power-...

https://community.powerbi.com/t5/Desktop/Trouble-connecting-to-Azure-Data-Lake-Gen2-data-in-Power-BI...

 

Regards,

Lin

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

 I used the top documents to set everyting up and I have followed everything correctly.

 

Regarding I added my account to the "Storage Blob Data Reader" role in the Data Lake and now the connector works perfectly! I assume you can do this with user groups, too. from the 3rd doc

 

I have just gone into Azure and Added Storage Blob Data Reader to my account and it works perfectly. The next step is to try it in a Data flow in Service.

 

Attemped the same thing in a data flow (Which is how I want to connect) and I have added the URL, Connected to my Organisational account. I keep hitting next and nothing is happening.

 

Im not getting any errors. It just keeps going back to the same log in screen. I wonder if I need to do anything else to get this working?

hi @DebbieE 

You may take a look at this document:

https://docs.microsoft.com/en-us/power-bi/service-dataflows-connect-azure-data-lake-storage-gen2

 

Regards,

Lin

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

thats not what I want to do. 

 

Apparently there is just no connector for Data lake Gen 2 to use as a data source within Dataflows and seeminly no plans to build one so I have voted it up in ideas. 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.