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 August 31st. Request your voucher.

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
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.