Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
We have been using the api for admin/activityevents to retrieve data.
Previously, we have been able to retrieve 29 days of data. Recently, since 2025-02-13 or so, we are getting an error
DataSource.Error: Web.Contents failed to get contents from 'https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2025-01-23T00:00:00.000Z'&end...'' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=https://api.powerbi.com/v1.0/myorg/admin/activityevents
Url=https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2025-01-23T00:00:00.000Z'&end...'
If we change the date parameter to 27 days, the api call is successful. Has something changed?
Solved! Go to Solution.
Hi @JLParrish,
Thank you for reaching out to the Microsoft fabric community forum.
It looks like the number of days you can retrieve using the Admin API for activity events has recently changed. Previously, you were able to fetch 29 days of data, but now the API request fails when querying beyond 27 days.
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.
Hi @JLParrish,
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.
Hi @JLParrish,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @JLParrish,
Thank you for reaching out to the Microsoft fabric community forum.
It looks like the number of days you can retrieve using the Admin API for activity events has recently changed. Previously, you were able to fetch 29 days of data, but now the API request fails when querying beyond 27 days.
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.
Hi @JLParrish,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.
You probably got more events now. We have never been able to pull more than one day at a time.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |