Azure / mlops-v2

Azure MLOps (v2) solution accelerators. Enterprise ready templates to deploy your machine learning models on the Azure Platform.
https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-management-and-deployment
MIT License
503 stars 248 forks source link

"DeployTrainingPipeline" throws error at the "Connect to AML Workspace" step #71

Closed smortezah closed 1 year ago

smortezah commented 1 year ago

To make the infrastructure, I ran an Azure Pipeline using infrastructure/pipelines/tf-ado-deploy-infra.yml, and it worked. Then, used mlops/devops-pipelines/deploy-model-training-pipeline.yml to run the (training) Pipeline on the sample data provided, but it stops at the "Connect to AML Workspace" step with the following error:

Screenshot 2022-11-30 at 14 37 54

Then, checked the workspace that's created automatically by the Pipeline and noticed that I don't have access to the Jobs, while receiving a weird notification:

Screenshot 2022-11-30 at 14 27 01

Screenshot 2022-11-30 at 14 31 42

That is while I have a "Contributor" access to the subscription and also, all those secrets and App registrations, etc are made/done without any problem, based on the QuickStart tutorial.

cindyweng commented 1 year ago

This shouldn't happen... Double check your service principal? Else, could it be that your IT team is restricting/modifying access somehow?

setuc commented 1 year ago

@smortezah I am assuming this issue has been resolved for you.