Open jakeatmsft opened 1 year ago
I get an error on the new Grant endpoint permission to workspace
:
ERROR: (AuthorizationFailed) The client '98900f8d-2b01-4ff0-b565-9ed3950xxxxx' with object id '98900f8d-2b01-4ff0-b565-9ed3950xxxxx' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/***/resourceGroups/***/providers/Microsoft.MachineLearningServices/workspaces/***/providers/Microsoft.Authorization/roleAssignments/e636c2a6-40b1-40d9-805b-b1ef945xxxxx' or the scope is invalid. If access was recently granted, please refresh your credentials.
Am I missing something?
Alright so I did end up getting it working in the end. I found the service principal's name by using the ID in the error az ad sp show --id <ID>
and then giving it User Access Administrator
permissions so that it was able to write roles
Updated Deploy Action to fix #7 .