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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
pkn7
Frequent Visitor

Credential issue with ADLS gen2 where power bi and storage account not in same tenant

Hi Team,

Power bi report with ADLS gen2 datasource is able to retrive data locally from desktop without any issues. But once its published to service, we are getting credential invalid error. How to configure the credentials from different tenant than power bi .Any help is much appreciated.

 

Thanks,

Priyanga

9 REPLIES 9
Anonymous
Not applicable

Thank you for caring about this case @Anonymous , and allow me to provide another insight:

Hi, @pkn7 

You're using the ADLS Gen 2 connector in Power BI Desktop, and you'll need to set up a dataflow for your report in Power BI Service, and continue to use this linker in this dataflow:

vjianpengmsft_0-1719974179518.png

For detailed tutorials, you can refer to the official documentation below:

Azure Data Lake Storage Gen2 - Power Query | Microsoft Learn

vjianpengmsft_1-1719974217960.png


In addition, there is a method of connection. One way to do this is for you, your tenant, and your workspace settings:

vjianpengmsft_2-1719974251787.png

vjianpengmsft_3-1719974258659.png

For a more detailed tutorial, you can refer to the official documentation below:

Configuring dataflow storage to use Azure Data Lake Gen 2 - Power BI | Microsoft Learn

vjianpengmsft_4-1719974294853.png

Before attempting to connect, you need to fully understand the limitations described in these two documents and set them according to your actual situation.

 

 

Best Regards

Jianpeng Li

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

 

Hi @Anonymous ,

In the second solution, Connect to an Azure Data Lake Gen 2 at a workspace level, looks like it will work only when Power BI and ADLS are in the same tenant. In our case both Power BI and ADLS are in different tenants.

 

WRT first solution, Connect to Azure Data Lake Storage Gen2 from Power Query Online, we already have developed the report from desktop application(its a huge report). Do i need to create the report again in power bi service? Also Will this approach work if Power BI and ADLS in different tenant?

 

Thanks,

Priyanga

Anonymous
Not applicable

Hi, @pkn7 

You don't need to redesign your report. You only need to add one cloud connection and select Gen2, as shown in the following figure:

vjianpengmsft_1-1719990615559.png

vjianpengmsft_2-1719990636445.png

 

 

vjianpengmsft_0-1719990474102.png

 

Best Regards

Jianpeng Li

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

 

 

Hi @Anonymous ,

I tried as you have suggested above. But I am getting the below error.

Unable to update connection credentials. Your credentials may be invalid. You may not have permission on the data source or the data source may have additional security enabled such as a firewall.

 

Thanks,

Priyanga

Anonymous
Not applicable

Hi, @pkn7 

As super user said, have you tried using a gateway to connect to your ADLS gen2?
Whether the credentials you used to create the gateway connection are the same as the credentials you used in the desktop, including the authorization verification method.

vjianpengmsft_2-1720156386615.png

vjianpengmsft_1-1720156350792.png

 

 

Best Regards

Jianpeng Li

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

 

 

 

Hi @Anonymous ,

Thanks for you your time for the detailed explanation. I will go through the links and get back if have any queries

 

Thanks,

Priyanga

Anonymous
Not applicable

You might have to use a Data Gateway to store the credentials for connecting in the service.

Hi @Anonymous ,

To use Gateway to connect ADLS, do you mean to setup a data gateway in the same way we will setup for on-prem data sources and configure the gateway in the dataset?

 

Thanks,

Priyanga

Anonymous
Not applicable

yes

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors