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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Janey
Frequent Visitor

Gateway Issue - Credentials Applied to Folder are invalid

Hello, we have a Power BI report which is linked to Excel files in a folder. In Power BI desktop we are able to resave the Excel files and refresh and republish. However we have not been able to set up a Gateway to have this automatically refresh every day. We are getting the error message below on the Gateway connection that the credentials 

Janey_0-1643365171202.png
6 REPLIES 6
Janey
Frequent Visitor

Hi the error message is from the Excel folder not from sharepoint. We still have not solved the issue

Anonymous
Not applicable

Hi @Janey 

Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regard

Community Support Team _ Ailsa Tao

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

Anonymous
Not applicable

Hi @Janey 

Through the error message you provided , it seems to be a credentials issue . Can you make sure that your credentials in the data source gateway configuration are the same as those on the desktop ? Can you provide your configuration information on Manage gateways (remove sensitive information) and the corresponding dataset configuration information in dataset settings?

Ailsamsft_0-1643856068005.pngAilsamsft_1-1643856068007.png

Best Regard

Community Support Team _ Ailsa Tao

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

edhans
Super User
Super User

Is the gateway set up correctly so the connection shows as valid, not in error?

 

I'm not a huge fan of using a Gateway for folder access. It is much easier to move the files to a SharePoint file library, so if that is an option, it will save a lot of configuration and grief.

If not, images of your gateway config would help, but keep in mind this is a public forum, and you have some corporate specific info in that screenshot.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Janey
Frequent Visitor

Thank you for the reply. I am investigating if we can use sharepoint. Here is the error message which I am getting:

 

Janey_0-1643720711490.png

 

Looks like a permission issue. You will likely need to work with your SharePoint admin to look at the permissions. Power Query needs permissions to the SP site, not just the folder you want. It has to start at the top and navigate to the folder. In the web browser, you can be denied access to the entire site, but still access a folder. PQ doesn't allow that.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors