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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jason_Greer
Regular Visitor

On Prem Gateway Invalid Credentials Excel File on Server

I am designing a new Dashboard with an Excel file on a server.  I have installed On-Prem Gateway onto the server and Power BI Pro Shows it as "Online: You are good to go".  Through the scheduling tab it shows that the Excel file is configured correctly.  Then I add a new datasource I receive an error of "Invalid Connection Credentials" when I use "File" and full server name\file name for the file.  I have tried the server credentials, my Power BI credentials and gateway credentials, but the file itself doesn't have credentials associated with it.  

 

I am not sure the next step to resolve this issue and I am new to using gateways.

 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Ok so the next step is you need to make sure you have the correct gateway configuration.  Check your project file and see what the list of data sources is.  Its called "Data Source Settings" and can be found under the "Edit Queries".  You need to make sure that each data source has an entry in your gateway.  With the exception of cloud sources, every source has to be included for the data gateway to be valid.

View solution in original post

Anonymous
Not applicable

@Jason_Greer,


Please make sure that you enter correct user name when adding Excel data source within gateway. The credential is same as that you use to sign in the computer. You can review the detailed steps in the following similar thread.

https://community.powerbi.com/t5/Integrations-with-Files-and/Scheduled-refresh-for-excel-file-with-o...

Regards,
Lydia

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Jason_Greer,


Please make sure that you enter correct user name when adding Excel data source within gateway. The credential is same as that you use to sign in the computer. You can review the detailed steps in the following similar thread.

https://community.powerbi.com/t5/Integrations-with-Files-and/Scheduled-refresh-for-excel-file-with-o...

Regards,
Lydia

Anonymous
Not applicable

Everything uses credentials.  Whenever a file is stored anywhere, it has permissions associated with it.  When you set up the schedule, above it is an "Edit Credentials" section.

 

If your gateway is handling the credentials, you should see this:

Capture.PNG

 

If not, you might see "Edit Credentials" where you will need to log in with a user that has security access to that file/folder in the filepath.

Thanks for the response.  I do see a "Data Source Credentials" link but it is grayed out.  When I click on "Gateway Connections it says it is not Not Configured Correctly.  I click on Actions and it shows my filename and "Add to Gateway".  I tried to add the file to the gateway, but none of the credentials that I have work.  Thanks for the help!

Anonymous
Not applicable

Ok so the next step is you need to make sure you have the correct gateway configuration.  Check your project file and see what the list of data sources is.  Its called "Data Source Settings" and can be found under the "Edit Queries".  You need to make sure that each data source has an entry in your gateway.  With the exception of cloud sources, every source has to be included for the data gateway to be valid.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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