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
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.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Deploy Action to fix #7 .