Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing permissions to run pipeline #133

Open
rajesh-chawla opened this issue Nov 24, 2024 · 0 comments
Open

Missing permissions to run pipeline #133

rajesh-chawla opened this issue Nov 24, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working Needs Triage Needs Triage

Comments

@rajesh-chawla
Copy link

Describe the bug or the issue that you are facing

I'm following the deployment guide to use bicep & Azure Devops with the directions at: https://github.com/Azure/mlops-v2/blob/main/documentation/deployguides/deployguide_ado.md. When I try to run the bicep-ado-deploy-infra pipeline in the taxi-fare-regression, I get the AuthorizationFailed error below. I am happy to debug, but don't understand how to convert the object-id to a resource or find the appropriate client from the id so that I can assign the permission.

ERROR: {"code": "AuthorizationFailed", "message": "The client '' with object id '' does not have authorization to perform action 'Microsoft.Resources/deployments/validate/action' over scope '' or the scope is invalid. If access was recently granted, please refresh your credentials."}

Steps/Code to Reproduce

Follow the directions at: https://github.com/Azure/mlops-v2/blob/main/documentation/deployguides/deployguide_ado.md.

Expected Output

I expect the pipeline to run with no errors.

Versions

I am working on the main branch for the repos of:
https://github.com/Azure/mlops-templates
https://github.com/Azure/mlops-project-template
https://github.com/Azure/mlops-v2

Which platform are you using for deploying your infrastrucutre?

Azure DevOps (ADO)

If you mentioned Others, please mention which platformm are you using?

No response

What are you using for deploying your infrastrucutre?

Bicep

Are you using Azure ML CLI v2 or Azure ML Python SDK v2

Azure ML CLI v2

Describe the example that you are trying to run?

I am using the classical ML project type, with bicep and the main branch on all the project repos in Azure DevOps.

@rajesh-chawla rajesh-chawla added Bug Something isn't working Needs Triage Needs Triage labels Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Needs Triage Needs Triage
Projects
None yet
Development

No branches or pull requests

2 participants