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
B_Raines
Regular Visitor

Access OneDrive Refresh Location via API

There was recently the addition of the source location for OneDrive refresh on a semantic model. This is a game changer when supporting a large number of report builders in a large organisation. 
Is there, or will there be, the ability to access this information via either the Power BI or Fabric REST APIs?

1 ACCEPTED SOLUTION
V-yubandi-msft
Community Support
Community Support

Hi @B_Raines ,

Thank you for reaching out to the Microsoft Fabric Community.

With the recent inclusion of the source location for OneDrive refresh on a semantic model, managing and supporting numerous report builders has become significantly easier. However, I would like to confirm if this information is currently accessible via the Power BI REST API or Fabric REST API.

 

1. At present, there is no specific API that directly provides the OneDrive source location for a semantic model refresh. This limitation has been highlighted in the community, and many users would find such an API feature beneficial.

Nevertheless, there are existing API endpoints that offer partial information.

 

GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/datasources

This API retrieves data source details for a specified dataset. It provides connection information but does not clearly indicate if the dataset is refreshed from OneDrive.

Microsoft Docs: Get Datasources

2️. Get Refresh History API - This API enables tracking the refresh history of a dataset, offering insights into previous refresh operations. However, it does not indicate whether the refresh was performed via OneDrive.

 

FYI:

 

Vyubandimsft_0-1742448075412.png

 

Microsoft Docs: Get Refresh History

 

Helpful Reference: Solved: Rest API OneDrive Refresh History - Microsoft Fabric Community

 

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

 

 

 

View solution in original post

4 REPLIES 4
V-yubandi-msft
Community Support
Community Support

Hi @B_Raines .,

We noticed we haven't received a response from you yet, so we wanted to follow up and ensure the solution we provided addressed your issue. If you require any further assistance or have additional questions, please let us know.

Your feedback is valuable to us, and we look forward to hearing from you soon.

 

Thanks...

V-yubandi-msft
Community Support
Community Support

Hi @B_Raines ,

Has your issue been resolved, or do you require any further information? Your feedback is valuable to us. If the solution was effective, please mark it as 'Accepted Solution' to assist other community members experiencing the same issue.

V-yubandi-msft
Community Support
Community Support

Hi @B_Raines ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

Thank You.

V-yubandi-msft
Community Support
Community Support

Hi @B_Raines ,

Thank you for reaching out to the Microsoft Fabric Community.

With the recent inclusion of the source location for OneDrive refresh on a semantic model, managing and supporting numerous report builders has become significantly easier. However, I would like to confirm if this information is currently accessible via the Power BI REST API or Fabric REST API.

 

1. At present, there is no specific API that directly provides the OneDrive source location for a semantic model refresh. This limitation has been highlighted in the community, and many users would find such an API feature beneficial.

Nevertheless, there are existing API endpoints that offer partial information.

 

GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/datasources

This API retrieves data source details for a specified dataset. It provides connection information but does not clearly indicate if the dataset is refreshed from OneDrive.

Microsoft Docs: Get Datasources

2️. Get Refresh History API - This API enables tracking the refresh history of a dataset, offering insights into previous refresh operations. However, it does not indicate whether the refresh was performed via OneDrive.

 

FYI:

 

Vyubandimsft_0-1742448075412.png

 

Microsoft Docs: Get Refresh History

 

Helpful Reference: Solved: Rest API OneDrive Refresh History - Microsoft Fabric Community

 

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

 

 

 

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.