Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
When calling the REST API to get list of gateway data source users, the datasourceAccessRight always shows as "Read" ... even when user has Owner or User with resharing permissions on the data source.
Is there any way to query for these data source security roles?
sample API call:
Another year gone by... still no way to check on the roles assigned to a data source using API that I can see.
(User, User with Resharing, and Owner). 😞
Hi. That's ok. If you keep reading the doc until you get here:
You will see that "Reader" is actually the highest permission. You can read or you cannot. Then there is a third permission for embedding but reader means owner/admin in here.
I hope that helps,
Happy to help!
Thanks for replying!
But there are more fine-grained options now for Gateway data sources.
Users can be granted one of the following 3 roles in the UI: User, User with Resharing, and Owner.
There does not appear to be a way to get this info from the API...because no matter what role a user is assigned, it shows them with a datasourceAccessRight = Reader.
I am really hoping to find a way to get a list of Owners specifically!
It seems like the API has not kept up with the UI.
Almost a year later... and still seeing the same results.
There does not appear to be a way to get at the permissions users have been assigned in the UI.
Please someone show me that I am wrong! 🤞
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 8 |