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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
e_kalonji
Frequent Visitor

Gateway Connection on Power BI Service.

e_kalonji_0-1729922515343.png

Hi Guys,
Althought I have successfully created a gateway and provided the file's path in order to load the data into the dataflow of power bi service, am getting this error message. My login details are correctly entered, would you assist me in this regard?

Kindly

1 ACCEPTED SOLUTION

Thanks for the replies from SaiTejaTalasila and rajendraongole1.

 

 Hi @e_kalonji ,

 

Based on the error message you provided, I observed that the path you are using seems to be a folder, can you copy the complete file name of the csv or text file and try again. Please right click on the file and copy as path.

vlinhuizhmsft_0-1730271940166.png

This is my test result:

vlinhuizhmsft_1-1730271952302.png

 

Best Regards,

Zhu

 

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

View solution in original post

8 REPLIES 8
e_kalonji
Frequent Visitor

Thank you @v-linhuizh-msft, worked like a charm!

rajendraongole1
Super User
Super User

Hi @e_kalonji - can you double check the path format:

e.g., \\ServerName\SharedFolder\FileName.xlsx), as Power BI may not recognize mapped drives (like Z:\FileName.xlsx).

 

Hope  you checked the user account configured for the gateway has read access to the file location.In the Connection Credentials section, check that the correct authentication method is selected. For example, use Windows Authentication if the file is in a secured network location that requires domain credentials.

 

if above details looks ok, cross check and re-registering the gateway in the Power BI Service. Sometimes re-adding the data source can resolve connectivity issues.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi @rajendraongole1!

Thank you for you prompt reply. I have indeed double-checked the file's path as you have suggested, as a matter of fact, I did it before and after you had suggested.

e_kalonji_0-1729927550614.png

 

I even ran the "whoami" command in the command shell to try using my local pc rather than my email, and when I did that, the error message changed as per above photo.

It was mentionned in the tutorial am busy with that this stage is a bit tricky, I saw however the lecturer connecting using his email address in the authentication section. Though I faithfully followed the steps and even explored ather options, I still cannot connect.

Hi @e_kalonji ,

 

You can try this in your folder names, file names replace spaces with _ and see whether the same issue occurs or not.

 

I hope it will be helpful.

 

Thanks,

Sai Teja 

Thank you @SaiTejaTalasila for your your help. Indeed I replace the name of the file with a underscore (_) as you suggested, still did not work.

 

Kindly

Hi @e_kalonji -When configuring the data source in the On-premises Data Gateway (in Power BI Service), ensure the Data Source Credentials match the account with file access. Often, it's helpful to use a domain\username format if the account is on a domain.
If your email isn’t working, try logging in with domain credentials directly in the gateway configuration (e.g., DOMAIN\username) instead of the email format.

If you’re still unable to connect, a good approach would be to test with a simple data source, like a local Excel file, to isolate whether the issue is specific to the network drive configuration.

ref link:

Troubleshoot gateways - Power BI | Microsoft Learn

View and manage on-premises data gateways - Power Platform | Microsoft Learn

 

Hope this helps. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Screenshot 2024-10-27 015051.png

Hi @rajendraongole1, there is no way to set a gateway using the local computer's login details since the system requires an email address.

I read all the resources you recommended, double checked that my login details corresponded, but am still getting this two error messages:

1. This one when am using my email address.

Screenshot 2024-10-27 020153.png

2. This one when I attempt to connect using my local machine login details.

Screenshot 2024-10-27 020637.png

Thanks for the replies from SaiTejaTalasila and rajendraongole1.

 

 Hi @e_kalonji ,

 

Based on the error message you provided, I observed that the path you are using seems to be a folder, can you copy the complete file name of the csv or text file and try again. Please right click on the file and copy as path.

vlinhuizhmsft_0-1730271940166.png

This is my test result:

vlinhuizhmsft_1-1730271952302.png

 

Best Regards,

Zhu

 

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.