Forum Discussion
List all RLS roles I have
- 1 year ago
Hi. I don't think there is a UI way of doing it. In this case you could using the Power Bi Rest API. You must have fabric admin permission to the user or the tenant setting for giving admin api to a Service Principal.
You can get all this with the Scanner API. However it can be tricky. I would try SimplePBI. It's a python library that makes it easy and it has a request for getting all the roles in a dataset or get all the roles in all datasets in a list of workspaces.
If this is your first time you can read something like: https://blog.ladataweb.com.ar/post/740398550344728576/seteo-powerbi-rest-api-por-primera-vez
That should give you a get started. Here the library: https://pypi.org/project/SimplePBI/
I hope that helps,
Hi. I don't think there is a UI way of doing it. In this case you could using the Power Bi Rest API. You must have fabric admin permission to the user or the tenant setting for giving admin api to a Service Principal.
You can get all this with the Scanner API. However it can be tricky. I would try SimplePBI. It's a python library that makes it easy and it has a request for getting all the roles in a dataset or get all the roles in all datasets in a list of workspaces.
If this is your first time you can read something like: https://blog.ladataweb.com.ar/post/740398550344728576/seteo-powerbi-rest-api-por-primera-vez
That should give you a get started. Here the library: https://pypi.org/project/SimplePBI/
I hope that helps,