Authorization - Azure Open AI chat bot: Can we restrict access to specific users in our organization via Azure AD?

azureuser01 16 Reputation points
2023-09-05T16:09:01.3666667+00:00

I am interested in restricting access to the Azure Open AI chat bot to specific users in our organization. Can this be done using Azure Active Directory (Azure AD)? If so, how would I go about doing this?

I would like to restrict access to the chat bot to only those users who have a legitimate need to use it.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,356 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,106 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,642 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2023-09-05T19:22:57.96+00:00

    @azureuser01 If you are trying to control access to the Azure OpenAI Service resource itself, you could leverage the built-in roles for Azure RBAC to control access.

    But if your users are expected to use the REST API with their own credentials instead, then you could follow the same steps required for managed identity, except that you would assign the role to a user or security group instead.

    1 person found this answer helpful.

  2. azureuser01 16 Reputation points
    2023-09-07T18:44:48.1433333+00:00

    @Pramod Valavala With the help of my team, we found the KB article that allowed us to successfully assign access control for the Azure OpenAI Web App chat bot.

    https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-restrict-your-app-to-a-set-of-users

    1 person found this answer helpful.
    0 comments No comments

  3. azureuser01 16 Reputation points
    2023-09-07T18:46:34.48+00:00

    @Pramod Valavala With the help of my team we were able to find the KB article to successfully provide access Control for our Azure OpenAI chat bot

    https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-restrict-your-app-to-a-set-of-users

    1 person found this answer helpful.
    0 comments No comments

  4. Sasan Pasha 11 Reputation points
    2023-12-19T23:02:06.16+00:00

    my question is around the same topic - however, I want to know if we can somehow generate responses based on each defined user role. for example in the context of property management, if a property manager asks a question about the budget, the model answers, but if a resident asks the question, the model answers " you don't have permission."

    0 comments No comments

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.