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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jkrumb
Regular Visitor

API Powerbi - OneDrive refresh recovery

Hello,

 

I want to retrieve the information about the last OneDrive refresh for each report or semantic model in a workspace. Currently, I am retrieving information for scheduled or manual refreshes.

 

Or alternatively, is it possible to retrieve the date and time of the refresh displayed on the web interface for each workspace?

 

Other question, Are there any other permissions that we can add to the app?

 

jkrumb_0-1726735604217.png

 

Thank you for your feedback.

 

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Thanks for the reply from lbendlin , please allow me to add some relevant information: 
Hi  @jkrumb ,

 

According to the current Power BI rest API API methods provided, the only thing that can be supported at this time is to get the dataset backend of the PBI report to manually refresh or schedule a refresh of the history, you are discussing page refresh of the report on the page, which doesn't look to be supported:

Datasets - Get Refresh History In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

In addition, you mentioned “any other permissions that we can add to the app”, would you mind further disclosing whether the app you are referring to is the azure-registered application or the Power BI workspace app? If it's an azure application, here's the link to the official documentation:

Configure Azure AD Graph permissions for an app registration - Microsoft Graph | Microsoft Learn

 

Best Regards,

Liu Yang

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

Hello Liu Yang,

 

Thank you for your response.

It is indeed an Azure application, and the permissions are properly set for Microsoft Graph. I have submitted an idea request as suggested by lbendlin.

 

Thanks to both of you, and have a great day.

lbendlin
Super User
Super User

Not separately auditable at the moment. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

 

If you want to track the pbix uploads you can use the tenant audit logs instead.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.