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
haiyangl104
Frequent Visitor

The credentials provided for AzureDataLakeStorage source are invalid

Hi,

 

I'm trying to refresh my Power BI dataset that comes from ADLS Gen 2 Storage. Refresh works fine on Power BI Desktop, but on the Web App I receive the following error:

 

haiyangl104_1-1623185982357.png

 

I've mirorred exactly the same settings I used on Power BI Desktop here, but still receive the following error:

haiyangl104_0-1623185933298.png

Here's the Power Query used:

 

let
Source = Csv.Document(AzureStorage.DataLake("https://xxxxxxxxxxxxxxxxxxxx.dfs.core.windows.net"){[#"Folder Path"="https://xxxxxxxxxxxxxxxxxxxxxx.dfs.core.windows.net/xxxxxxx/xxxxxxxx/xxxxxxxxx/csv_files/",Name="xxxxxxxxxxxx.csv"]}[Content],[Delimiter=",", Columns=22, Encoding=1252, QuoteStyle=QuoteStyle.None]),
#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true])
in
#"Promoted Headers"

 

 

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Please whitelist the Azure IP's for your region in the ADLS.

https://www.microsoft.com/en-us/download/details.aspx?id=41653&751be11f-ede8-5a0c-058c-2ee190a24fa6=... 

You could refer to this blog:

https://medium.com/microsoftazure/how-to-refresh-a-firewall-enabled-azure-data-lake-storage-gen2-dat... 

 

Another situation is that Since the Azure and O365 are in two different Tenants your getting the error "Failed to update data source credentials: The given data source kind is not supported"

You could refer to this blog:

https://www.purplefrogsystems.com/paul/2017/06/connecting-power-bi-to-azure-data-lake-store-across-t... 

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Please whitelist the Azure IP's for your region in the ADLS.

https://www.microsoft.com/en-us/download/details.aspx?id=41653&751be11f-ede8-5a0c-058c-2ee190a24fa6=... 

You could refer to this blog:

https://medium.com/microsoftazure/how-to-refresh-a-firewall-enabled-azure-data-lake-storage-gen2-dat... 

 

Another situation is that Since the Azure and O365 are in two different Tenants your getting the error "Failed to update data source credentials: The given data source kind is not supported"

You could refer to this blog:

https://www.purplefrogsystems.com/paul/2017/06/connecting-power-bi-to-azure-data-lake-store-across-t... 

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.