Forum Discussion
ajaynathreddy
1 year agoNew Member
I’m trying to programmatically retrieve Power BI report subscription details using the Admin API end
I’m trying to programmatically retrieve Power BI report subscription details using the Admin API endpoint: GET https://api.powerbi.com/v1.0/myorg/admin/reports/{reportId}/subscriptions?$expand=users...
- 1 year ago
Thanks for information, The Admin API worked when we "Enable service principal to access powerbi API" and Application permission in Azure portal for PowerBI service should not have Application based permission. Worked for me after I revoked admin consent for below permission.
--->Tenant.Read.All(Should not be Application type and Revoke admin consent)
Anonymous
1 year agoNot applicable
Hi ajaynathreddy
Akash_Varuna pankajnamekar25 Thanks for your inputs.
Suggestions from them is very usefull, please ask for the Power BI Service Admin role & Retry the API call it may work for 401 error. please let us know once your try all above points.
Thanks.