Forum Discussion
Anonymous
1 year agoNot applicable
Subscribing Power BI reports through API
Hi All, I am trying to do subscribing reports through REST API. But i am not able to do it through API. I knew we can make through Power Automate and in my case i need to do from API end. Is there...
Expiscornovus
1 year agoMost Valuable Professional
Hi Anonymous,
Have you tried the Admin - Reports GetReportSubscriptionsAsAdmin method instead?
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/reports-get-report-subscriptions-as-admin
https://api.powerbi.com/v1.0/myorg/admin/reports/{reportId}/subscriptions
Btw, are you testing in Postman? If not, that is probably easier to test.
Anonymous
1 year agoNot applicable
The API you meantioned is not for creating subscription for power bi reports. I am not using postman though
- Expiscornovus1 year agoMost Valuable Professional
Hi Anonymous,
My bad, I missed that body payload with the schedule. I thought you were collecting/retrieving subscriptions from the existing report on the Power BI Online service.
The link you were referring to in your opening post was a REST API call from Power BI report server (on-premise). Like felaray already mentioned, that method doesn't exist in the Online APIs.