March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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! 🤞
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
32 | |
24 | |
12 | |
11 | |
9 |
User | Count |
---|---|
47 | |
46 | |
23 | |
12 | |
9 |