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
cwilsonLUR
Frequent Visitor

oauth2 option not appearing for SharePoint list data

Hi everyone, 

 

I have been trying to scheduele a refresh for my power BI report, the data used is from a SharePoint List so is on the cloud and there is no credentials for the dataset. I am getting an error message that i need to edit the credentials to allow the schedule refresh and have noticed that people within this community and online do this by selecting the "oauth2 option" under the "Authentication Method" but i do not have an option to select ths. A bit confused if their is something i need to correct or maybe an issue with adminastrator?? Please see screenshot below, any help would be much appreciated. 

 

Thanks.

cwilsonLUR_0-1677682135021.png

 

1 ACCEPTED SOLUTION

Have you corrected the URL in your Power Query code and re-published?

 

View solution in original post

4 REPLIES 4
cwilsonLUR
Frequent Visitor

Legend, thank you

lbendlin
Super User
Super User

 

 

the data used is from a SharePoint List so is on the cloud

 

 

Not necessarily.  Sharepoint can also be on-premise in which case you need Windows Auth, not OATH2.

 

Your sharepoint site url is missing the "https://". You have specified "http://".

Hi @lbendlin, thanks for the reply 

 

So if i click on Gateway connection it says "you don't need a gateway for this dataset, because all of its data sources are in the cloud" so i believe my sharepoint list is? Would you know if i need to go into my data source permissions and edit them? I've tried doing this and sign into my microsoft account and nothing seems to work. Do you know of any reasons why i wouldn't be able to scheduele a refresh or the steps i need to do to make sure I have set up everything correctly?

 

Thanks 

Have you corrected the URL in your Power Query code and re-published?

 

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