Hello @Rafi Trad ,
As per the discussion with my internal team, for a user to be able to run the commands to add Synapse RBAC roles using CLI, the user themselves should have a Synapse Administrator role at the Synapse Studio level.
When creating a workspace, the workspace owner automatically gets the Synapse administrator roles in the Synapse Studio.
It seems like you have Synapse administrator roles on another synapse studio, due to this reason you were able to use CLI on that workspace.
Please see the below documents explains the Synapse RBAC assignments in Synapse Studio
https://learn.microsoft.com/en-us/azure/synapse-analytics/security/how-to-review-synapse-rbac-role-assignments
https://learn.microsoft.com/en-us/azure/synapse-analytics/security/synapse-workspace-synapse-rbac#who-can-assign-synapse-rbac-roles
I hope this helps. If you have any questions, please let me know.
------------------------------
- Please don't forget to click on and upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators