Error message: Identity(object id: 35826ebb-89ac-429d-8fb3-6fef75437808) does not have permissions for Microsoft.MachineLearningServices/workspaces/agents/action actions.
I am receiving this message when I try to creat an agent. I have set uswest region, gpt-4 model and using foundry to create an agent. I am the owner, administrator and have added a Azure Project Manager and Global role.
Thank you.
Identity(object id: 35826ebb-89ac-429d-8fb3-6fef75437808) does not have permissions for Microsoft.MachineLearningServices/workspaces/agents/action actions.
2 answers
-
Boniface Michael @ RMCS 5 Reputation points
Greatly appreciate reply.
Agent creation was successful but for unknown reasons.
I made following changes: US East 2, GPT 4.o, pay as you go and owner roles at subscription, project and agent levels.
Hope this is useful for anyone else receiving the same error.
-
AI answer
The error message you are encountering indicates that the identity you are using does not have the necessary permissions to perform the action related to creating an agent in Azure Machine Learning Services. Even if you are set as an owner and administrator, there may be specific role-based access control (RBAC) permissions that are required for the action you are trying to execute.
To resolve this issue, you should verify the following:
- Ensure that your identity has the necessary permissions for the action
Microsoft.MachineLearningServices/workspaces/agents/action. This can typically be done by checking your role assignments in the Azure portal. - If you are using a managed identity, make sure that it has been granted the required roles that include permissions for agent actions.
- You may need to add specific roles such as
Machine Learning Contributoror other relevant roles that provide the necessary access to create agents. - If the permissions seem correct, consider reaching out to your Azure subscription administrator to confirm that there are no additional restrictions in place.
By ensuring that your identity has the appropriate permissions, you should be able to create the agent successfully.
AI-generated content may be incorrect. Read our transparency notes for more information. - Ensure that your identity has the necessary permissions for the action
