CmdID / az / az synapse / az synapse role / az synapse role assignment
az synapse role assignment create
Create a role assignment. Azure CLI reference
9 options Its page in the Azure CLI reference
Options
--assignee-object-idUse this parameter instead of '--assignee' to bypass Graph API invocation in case of insufficient privileges.--assignee-principal-type, --assignee-typeuse with --assignee-object-id to avoid errors caused by propagation latency in AAD Graph--assigneeRepresent a user or service principal.--assignment-idCustom role assignment id in guid format, if not specified, assignment id will be randomly generated.--item-typeItem type granted access in the workspace.--itemItem granted access in the workspace.--roleThe role name/id that is assigned to the principal.--scopeA scope defines the resources or artifacts that the access applies to.--workspace-nameThe workspace name.