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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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 [email protected] instead of MyAD/Username?

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

Daryl-Lynch-Bzy
Community Champion
Community Champion

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors