I get this error message when trying to create an agent in . How to resolve this? - Message: Identity(object id: c9e91242-b841-4102-891e-e423a03ea18a) does not have permissions for Microsoft.MachineLearningServices/workspaces/agents/action actions.

Srinivasan, Vignesh 0 Reputation points
2025-02-28T08:20:49.73+00:00

Hey i am trying to create an agent using project_client.agents.create_agent function but I get the following error message . How do i resolve this?

**
Creating agent...**

ERROR:main:An error occurred initializing the agent: (UserError) Identity(object id: c9e91242-b841-4102-891e-e423a03ea18a) does not have permissions for Microsoft.MachineLearningServices/workspaces/agents/action actions. Please refer to https://aka.ms/azureml-auth-troubleshooting to fix the permissions issue.

Code: UserError

Message: Identity(object id: c9e91242-b841-4102-891e-e423a03ea18a) does not have permissions for Microsoft.MachineLearningServices/workspaces/agents/action actions. Please refer to https://aka.ms/azureml-auth-troubleshooting to fix the permissions issue.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,150 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.