Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi everyone,
I’m trying to better understand the current access control model for SQL endpoints in Microsoft Fabric. Based on my experience, it seems that:
This effectively means that if I want to limit access to a specific dataset or SQL endpoint to only a subset of users, I would need to create a dedicated workspace for that resource, even if it means duplicating workspaces for similar datasets.
I’m finding it challenging to manage access without segmenting resources into separate workspaces, which feels cumbersome and counterintuitive.
Looking forward to hearing your thoughts and insights!
Best regards,
Jens
Solved! Go to Solution.
Hi @SwedishJAS you don't have to add any permissions at the workspace level if you need granular permissions for a SQL Endpoint. To run through a scenario, if I had a user "User One" and I just wanted them to have read access on all tables in a particular SQL Endpoint I would
I could just leave this setting and click OK, then User One has access to the SQL Endoint I have granted. I don't need to add User One at the workspace level.
If I want even more granular control I can:
Hope this helps
Can you point me towards documentation/videos that state that users need to be added to Workspaces? I have confirmed that adding users to a workspace is not required, I have tested this myself with both SSMS and browsing the OneLake catalog.
What version of SSMS are you using?
Hi @SwedishJAS ,
I tried to reproduce your exact scenario and tried around various combinations of workspace roles and permissions to check how to connect to SQL endpoint without granting access to Workspace.
When i gave the user Read and ReadAll permission without giving any workspace role was able to connect to SSMS without any issue, faces the same issue as you while connecting with only Read permission.
Hope this helps you
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to give "Kudos"
Thanks and Regards
Hi AndyDDC,
Thank you for your detailed explanation and walkthrough! Your solution was actually my first approach since it really makes sense that users can be added to the SQL Endpoint without being part of the workspace permissions.
However, I ran into the following issue when attempting to connect to the SQL Endpoint using SQL Server Management Studio (SSMS):
Error message:
After investigating further, I found that the only way to resolve this issue was to add the user to the workspace. To double-check, I reviewed the documentation, YouTube videos, and discussions, and these sources confirmed that adding the user to the workspace is required.
My question to you is: Have you verified that it actually works for you in practice to add users to the SQL Endpoint without including them in the workspace? Or did you, like me, make the assumption that it should work based on the design?
Thanks again for sharing your solution! It would be very interesting to hear if you've successfully managed to get this working without workspace permissions.
Hi @SwedishJAS ,
I tried to reproduce your exact scenario and tried around various combinations of workspace roles and permissions to check how to connect to SQL endpoint without granting access to Workspace.
When i gave the user Read and ReadAll permission without giving any workspace role was able to connect to SSMS without any issue, faces the same issue as you while connecting with only Read permission.
Hope this helps you
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to give "Kudos"
Thanks and Regards
Can you point me towards documentation/videos that state that users need to be added to Workspaces? I have confirmed that adding users to a workspace is not required, I have tested this myself with both SSMS and browsing the OneLake catalog.
What version of SSMS are you using?
I trust your explanations, and that does seem like the most reasonable scenario. I couldn’t find the description I initially interpreted as confirming the worse situation—it might have been incorrect or outdated.
Thanks again for your quick and detailed responses!
/Jens
Hi @SwedishJAS you don't have to add any permissions at the workspace level if you need granular permissions for a SQL Endpoint. To run through a scenario, if I had a user "User One" and I just wanted them to have read access on all tables in a particular SQL Endpoint I would
I could just leave this setting and click OK, then User One has access to the SQL Endoint I have granted. I don't need to add User One at the workspace level.
If I want even more granular control I can:
Hope this helps
User | Count |
---|---|
33 | |
14 | |
6 | |
3 | |
2 |
User | Count |
---|---|
39 | |
22 | |
11 | |
7 | |
6 |