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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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-yanjiang-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-yanjiang-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
Solution Supplier
Solution Supplier

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors