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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Stephnane
New Member

When Datasource is a shared file, authentication doesn't work through gateway.

Hello.

 

We try to create a datasource to access to a file on a shared folder of a server but is says that credentials are invalid.

1) the shared folder is on a server from an Active Directory domain named here "MyAD"

2) The On-premise PowerBI Gateway is not in the same AD domain.

3) The Server who host the Gateway is able to access to the share drive with authentication from the standard Windows Explorer  ( user : MyAD\myusername)

4) When we create the datasource with same credentials , we get the error message : 

Stephnane_0-1726731312542.png

Stephnane_1-1726731504934.png

 

 

Configuration :

Stephnane_2-1726731627425.png

 

Do you have any clue to help us ?

 

Thank you.

Best regards.

Stephane

 

 

4 REPLIES 4
Stephnane
New Member

Hello.

As explained, I tried to access to the shared folder with the Windows Explorer from the server who hosts the gateway (so not on the same AD), and it works well with the credentials of the target domain.

Best regards.

Stephane

 

But why does the connection have username@company.com instead of MyAD/Username?

This was our last test, but we also tested MyAD\Username with no success.

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @Stephnane - the comment that your On-Premise Data Gateway is not on the same Domain worries me.  You need to understand that in the Data Connection configuration panel you are entering your Domain Username and Password to access a specifc drive in the domain network.  But you want the On-Premise Data Gateway to have direct or local access to the file.  This would mean that On-premise Data Gateway needs different credentials and  possibly different file path to the original publisher.  This will explain your error message that credential are incorrect.

Many thanks

Daryl

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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