cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NoviceBloke12
Frequent Visitor

Can't schedule a refresh for PBI online report where the data source is a SharePoint file

Hello everybody,

I have a PBI report for which the data source is a SharePoint excel file.

I have administrator rights of the SharePoint group and I am the admin of the workspace where I publish my report. When I try to refresh the report I get authentication errors as per the attached screenshots.

When I use the same credentials on PBI desktop the refresh is working.

 Can someone please help.

 

Thanks in advance.

 

 

NoviceBloke12_0-1638503393948.pngNoviceBloke12_1-1638503471812.png

NoviceBloke12_2-1638503673244.png

 

5 REPLIES 5
v-kalyj-msft
Community Support
Community Support

Hi @NoviceBloke12 ,

Did my solution solve your problem? If yes, please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Community Support Team _ kalyj

v-kalyj-msft
Community Support
Community Support

Hi @NoviceBloke12 ,

According to your screenshot, I wonder whether you get data from SharePoint folder in Power BI Desktop, as it only support enter the root URL like this.

vkalyjmsft_0-1638958107398.png

 

vkalyjmsft_1-1638958107403.png

 

As file on SharePoint don’t need a gateway for a dataset, and under the Data source credentials, it directly shows SharePoint, when select the Edit credentials, there are only Anonymous and OAuth2 authentication method.

vkalyjmsft_2-1638958107404.png

 

vkalyjmsft_4-1638958273942.png

 

In this way, it will work fine, please let me know if there're other problems. 

Best Regards,
Community Support Team _ kalyj

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

 

nitishsh91
Resolver II
Resolver II

You will have to select authentication mode as OAuth2 and Oragnizational level privacy level and try then it should work.

Also double check the url format of sharepoint, at times I have seen it causing issues while configuring on gateway 

Chemiefrik
Frequent Visitor

Try with different URL excluding "/x/r"

Sometimes this can cause errors.

 

arvindsingh802
Super User
Super User

Please select Authentication Method as Oauth2
Privacy Level = Organizational

Then Click on sign in, use same credentials you use in SharePoint.


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors