Forum Discussion
Get report.createdDateTime and report.modifiedDateTime from Power BI REST API
We would like to get report.createdDateTime and report.modifiedDateTime from Power BI REST API: GET https://api.powerbi.com/v1.0/myorg/reports
We are getting response, like:
{ "value": [ { "datasetId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "id": "5b218778-e7a5-4d73-8187-f10824047715", "name": "SalesMarketing", "webUrl": "https://app.powerbi.com//reports/5b218778-e7a5-4d73-8187-f10824047715", "embedUrl": "https://app.powerbi.com/reportEmbed?reportId=5b218778-e7a5-4d73-8187-f10824047715" } ] }
REST API documentation (https://docs.microsoft.com/en-us/rest/api/power-bi/reports/get-reports) describes createdDateTime and modifiedDateTime fields for report, but API doesn't provide this values.
Are there any options to get this fields from REST API?
2 Replies
- DevopsPlsFrequent Visitor
Possible in the admin API- 'admin/reports' rather than '/reports'.
There seems to be a bug at the moment where creation date isn't returned for all reports, but should work for most cases.