Forum Discussion
User account access to the dashboard via API
- 1 year ago
Yay, it worked. Used just the API I mentioned above (PUT request) and python script. Thanks for the help!
Hi ReyCarter_777,
I'm not seeing anything in the API to grant a role to a report. Maybe the Update Catalog Item endpoint will do it?
https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/Reports/SetReportPolicies
Is this not suitable?
- tayloramy1 year ago
Super User
This looks like it will replace all users, not just add a user. but give it a go and see what happens.
- ReyCarter_7771 year ago
Helper I
It seems like this would also be suitable if I could completely replace the accesses. I made a PUT request in python, but for some reason I'm getting a 500 error. There are no messages in the logs, and I'm not sure what's wrong.
- tayloramy1 year ago
Super User
Hi ReyCarter_777,
I just tried in my environment, and this API doesn't seem to exist, or it's not enabled by default. I can't access it at all from my report server.