Forum Discussion
Subscribing Power BI reports through API
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.
- Anonymous1 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.
- felaray1 year agoFrequent Visitor
Expiscornovus This is a read-only API that can retrieve subscription-related information. Unfortunately, it does not support write operations.