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
troyhimes
Resolver I
Resolver I

Another Sharepoint Folder Issue- Schedule Refresh **NO/ Desktop Refresh ***YES

A dataset that includes connections to SQL server, site network, & online Sharepoint folder has successfully been refreshing via Power BI service using a Personal Gateway and scheduled refresh.  Today automatic refresh failed due to 'invalid credentials' for the Sharepoint folder data source.

 

It refreshes successfully using Desktop and permissions are set as below and I am logged into my Microsoft account. 

2022-04-13_8-20-14.jpg

Published to Power BI service and either manual refresh or scheduled refresh fails due to 'invalid credentials' for the Sharepoint data source.  Dialogue box pops up on 'Edit Credentials' as indicated below.

troyhimes_1-1649860556389.png

 

 

I attempt to change 'Authentication method' to OAuth2 but 'Sign in' produces no action regardless of what Privacy level is chosen.  The 'Configure' dialogue box remains completely functional but nothing happens when 'Sign in' is clicked. 

 

As mentioned above, this is a new issue that occurred with no change to the original pbix file.

 

What am I missing?!!

troyhimes_2-1649860573383.png

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
collinq
Super User
Super User

HI @troyhimes ,

 

As you may know, the sign on type for both the file and the gateway need to be the same (in this case, Organizational and OAuth2).  If those are the same, then I am wondering if the SharePoint permissions (not necessarily your pbix file or your document/list in SharePoint) but the permissions for SharePoint in general and/or how SharePoint is reached have changed.  It also could be a firewall/network modification between you and the data source.  Can you confirm that this is not the case?

 




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

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

3 REPLIES 3
troyhimes
Resolver I
Resolver I

@collinq ....maybe this was your point, but still...Odd behavior resulting from differing privacy levels on the data sources.

 

Excel datasource was incorrect which didn't result in that connection failing on refresh, but rather prevented me from changing the privacy levels of the Sharepoint connection.

 

3 datasources:

1. on premises SQL db

2. on premises Excel sheets

3. Sharepoint folder

 

pbix file had correct privacy level settings (Organizational) for SQL and Sharepoint but the Excel sheets were set to private.  Everything, as expected, refreshed fine on the desktop.

 

Scheduled refresh had correct setting for SQL but the Excel sheets were set to Organizational.  Both SQL and Excel connections refreshed without issue but the Sharepoint connection failed and I was unable to Sign In when editing the Connection details for Sharepoint.

 

Once I set (corrected) the Excel privacy level settings in the pbix file to Organizational and published, it allowed me to edit the connection details of the Sharepoint connection and we all lived happily ever after.

collinq
Super User
Super User

HI @troyhimes ,

 

As you may know, the sign on type for both the file and the gateway need to be the same (in this case, Organizational and OAuth2).  If those are the same, then I am wondering if the SharePoint permissions (not necessarily your pbix file or your document/list in SharePoint) but the permissions for SharePoint in general and/or how SharePoint is reached have changed.  It also could be a firewall/network modification between you and the data source.  Can you confirm that this is not the case?

 




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

Proud to be a Datanaut!
Private message me for consulting or training needs.




Hi @collinq , checked with IS, nothing has changed in regards to firewall or network.  As far as permissions, everything is working as expected in the desktop version.

 

 

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.