Cannot see any roles to assign

Daniel Wu 0 Reputation points

I am trying to assign a job role "Cognitive Services OpenAI User" to a service. However, I only see a blank list. I can also assign an owner role, which is too general. I have owner access to the subscription and service. What could went wrong? Please help, I am out of ideas. Screenshot 2023-10-20 at 8.47.21 AM

Screenshot 2023-10-20 at 8.45.35 AM

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
685 questions
Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 34,626 Reputation points Microsoft Employee

    Hi @Daniel Wu ,

    I understand that you are trying to add the Cognitive Services OpenAI User role but are not able to see the role in the "Job function roles" list.

    I can't tell from your screenshot where you are trying to add this, but it doesn't look like you are adding this in Azure AI service itself. You need to add the role directly from Azure OpenAI > Your OpenAI Resource > Access Control (IAM) > Add role assignment > Role > Members

    User's image

    You can also assign the role via Azure CLI as described here:

    If you are still unable to view the roles through those views, it's possible that there could be some restrictions on your subscription

    Let me know if this helps and if you still face the issue.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar information. Otherwise let me know if you have further questions.