Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Issue in "Connect/create Machine Learning Workspace step" #17

Open
RajdeepBiswas opened this issue Nov 6, 2021 · 1 comment
Open

Issue in "Connect/create Machine Learning Workspace step" #17

RajdeepBiswas opened this issue Nov 6, 2021 · 1 comment

Comments

@RajdeepBiswas
Copy link

####Error Details:

get_workspace error using subscription_id=xxx, resource_group_name=mlops-ga-rg , workspace_name=mlops-ga-ws
Message: ***
"error_details": ***
"error": ***
"code": "AuthorizationFailed",
"message": "The client 'xxx' with object id 'xxx' does not have authorization to perform action 'Microsoft.MachineLearningServices/workspaces/read' over scope '/subscriptions/***/resourceGroups/mlops-ga-rg /providers/Microsoft.MachineLearningServices/workspaces/mlops-ga-ws' or the scope is invalid. If access was recently granted, please refresh your credentials."
***
***,
"status_code": 403,
"url": "https://management.azure.com/subscriptions/***/resourceGroups/mlops-ga-rg%20/providers/Microsoft.MachineLearningServices/workspaces/mlops-ga-ws?api-version=2020-01-01"


InnerException None
ErrorResponse 

####The object id that is getting shown here does not match the sp I created
####Double checked the permission of the sp and the value of the secret in github repo

Any ideas?

@marvinbuss
Copy link
Collaborator

Hi @RajdeepBiswas,
Can you please check whether your Service Principle was configure as described here: https://github.com/machine-learning-apps/ml-template-azure#3-setting-up-the-required-secrets

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants