Skip to content

Commit a0bfa8f

Browse files
authored
Merge pull request #124798 from zhenyxie/patch-2
Update resources-self-help-sql-on-demand.md
2 parents 4b928d6 + 3332d15 commit a0bfa8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/synapse-analytics/sql/resources-self-help-sql-on-demand.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,10 @@ Connect-AzAccount -ServicePrincipal -Credential $cred -Tenant $tenantId
11091109
11101110
New-AzSynapseRoleAssignment -WorkspaceName "<workspaceName>" -RoleDefinitionName "Synapse Administrator" -ObjectId "<app_id_to_add_as_admin>" [-Debug]
11111111
```
1112+
> [!NOTE]
1113+
> In this case, the synapse data studio UI will not display the role assignment added by the above method, so it is recommended to add the role assignment to both object ID and application ID at the same time so that it can be displayed on the UI as well.
1114+
>
1115+
> New-AzSynapseRoleAssignment -WorkspaceName "<workspaceName>" -RoleDefinitionName "Synapse Administrator" -ObjectId "<object_id_to_add_as_admin>" [-Debug]
11121116
11131117
**Validation**
11141118

0 commit comments

Comments
 (0)