Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am seeing Sharepoint list in gen 2 dataflows is taking 20+ mins to refresh the data. I am using Oauth connection, 2.0 connector and default fields from list. If i use REST API, I was not able to see the Oauth authentication. Also, i am using gateway connection to sharepoint list so not sure if that is reason for long time to refresh.
Solved! Go to Solution.
Hi,@KD123 .I am glad to help you.
According to your description, when you refresh the report whose data source is Sharepoint list, the refresh is very slow, it took 20 minutes to refresh four rows of data, which is quite strange, please check whether the data of your data source can be optimized or not, and if possible, optimize the data source.
At the same time, you proposed to try to use Rest API to realize the data source refresh operation, I think it is a better solution.
If you want to connect from Power BI to the REST API using OAuth2 authentication, you need to create custom
connectors.
You can find documentation on how to implement an OAuth2 flow in a custom connector here.
URL:
Develop a connector using the Power Query SDK - Power Query | Microsoft Learn
https://blog.crossjoin.co.uk/2021/08/29/connecting-to-rest-apis-with-oauth2-authentication-in-power-...
Luckily I found similar threads that had the same problem as you and have solved it, so I hope that helps!
URL:Solved: Power BI : Sharepoint List Slow Refresh - Microsoft Fabric Community
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @KD123 ,
please keep in my that Sharepoint is not the fastest data source.
Nevertheless, I'm wondering if it's Sharepoint online though. I'm not an expert in regards to Sharepont sources, but the Sharepoint online url will look like this:
mycompany.sharepoint.com/...
In case we are talking about Sharepoint online, an on-premises data gateway is not required.
Hopefully, this helps to tackle your challenge.
Regards,
Tom
Hi,@KD123 .I am glad to help you.
According to your description, when you refresh the report whose data source is Sharepoint list, the refresh is very slow, it took 20 minutes to refresh four rows of data, which is quite strange, please check whether the data of your data source can be optimized or not, and if possible, optimize the data source.
At the same time, you proposed to try to use Rest API to realize the data source refresh operation, I think it is a better solution.
If you want to connect from Power BI to the REST API using OAuth2 authentication, you need to create custom
connectors.
You can find documentation on how to implement an OAuth2 flow in a custom connector here.
URL:
Develop a connector using the Power Query SDK - Power Query | Microsoft Learn
https://blog.crossjoin.co.uk/2021/08/29/connecting-to-rest-apis-with-oauth2-authentication-in-power-...
Luckily I found similar threads that had the same problem as you and have solved it, so I hope that helps!
URL:Solved: Power BI : Sharepoint List Slow Refresh - Microsoft Fabric Community
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
44 | |
40 |