You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performing post-deployment configuration...
Granting [email protected] admin permissions...
Assign-SynapseRole : Cannot bind argument to parameter 'PrincipalId' because it is an empty string.
At C:\dp-203\data-engineering-ilt-deployment\Allfiles\00\artifacts\environment-setup\automation\dp-20
3-setup-Part01.ps1:198 char:110
... d "6e4bf58a-b8e1-4cc3-bbf9-d73143322b78" -PrincipalId $userId # Work ...
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Assign-SynapseRo
le
Assign-SynapseRole : Cannot bind argument to parameter 'PrincipalId' because it is an empty string.
At C:\dp-203\data-engineering-ilt-deployment\Allfiles\00\artifacts\environment-setup\automation\dp-20
3-setup-Part01.ps1:199 char:110
... d "7af0c69a-a548-47d6-aea3-d00e69bd83aa" -PrincipalId $userId # SQL ...
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Assign-SynapseRo
le
Assign-SynapseRole : Cannot bind argument to parameter 'PrincipalId' because it is an empty string.
At C:\dp-203\data-engineering-ilt-deployment\Allfiles\00\artifacts\environment-setup\automation\dp-20
3-setup-Part01.ps1:200 char:110
... d "c3a6d2f1-a26f-4810-9b0f-591308d5cbf1" -PrincipalId $userId # Apac ...
dp-203-setup-Part01.ps1 throws the error below:
Performing post-deployment configuration...
Granting [email protected] admin permissions...
Assign-SynapseRole : Cannot bind argument to parameter 'PrincipalId' because it is an empty string.
At C:\dp-203\data-engineering-ilt-deployment\Allfiles\00\artifacts\environment-setup\automation\dp-20
3-setup-Part01.ps1:198 char:110
tion
le
Assign-SynapseRole : Cannot bind argument to parameter 'PrincipalId' because it is an empty string.
At C:\dp-203\data-engineering-ilt-deployment\Allfiles\00\artifacts\environment-setup\automation\dp-20
3-setup-Part01.ps1:199 char:110
tion
le
Assign-SynapseRole : Cannot bind argument to parameter 'PrincipalId' because it is an empty string.
At C:\dp-203\data-engineering-ilt-deployment\Allfiles\00\artifacts\environment-setup\automation\dp-20
3-setup-Part01.ps1:200 char:110
tion
Le
The scripts is looking for #UserId, but does n to seem to capture it anywhere.
Add the current userto Admin roles
Write-Host "Granting $userName admin permissions..."
Assign-SynapseRole -WorkspaceName $workspaceName -RoleId "6e4bf58a-b8e1-4cc3-bbf9-d73143322b78" -PrincipalId $userId # Workspace Admin
Assign-SynapseRole -WorkspaceName $workspaceName -RoleId "7af0c69a-a548-47d6-aea3-d00e69bd83aa" -PrincipalId $userId # SQL Admin
Assign-SynapseRole -WorkspaceName $workspaceName -RoleId "c3a6d2f1-a26f-4810-9b0f-591308d5cbf1" -PrincipalId $userId # Apache Spark Admin
What am I missing?
Thanks,
Michael
The text was updated successfully, but these errors were encountered: