Disabled API key authentication for Azure AI Search service

lakshmi 816 Reputation points
2023-11-27T17:04:18.01+00:00

Can we use the same Azure search with role-based keys for language service support and Azure open AI service.

Currently, we are using a custom question-answering service for QnA support and using Azure search with keys of api keys.

Now we are planning to integrate azure open AI service with the bot for private data support and gpt support for fetching answers from internet . But while applying for private netwok for azure search we have seen the below option to disable API keys and instead use Role based access control.

We have tried to access the existing language service after changing the access control to role-based but we are not able to access the QnA pairs in custom question answering projects.

Can we use the same azure search with Role based access control for both open ai and language service.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,082 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
520 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2023-11-27T19:57:47.0133333+00:00

    Hi
    lakshmi

    Azure Search and Azure OpenAI Service use different access control mechanisms and they don't natively support the same role-based access control (RBAC) model. Azure Search typically uses API keys for access control, while Azure OpenAI Service uses Azure AD (Azure Active Directory) for authentication.

    Azure Search typically uses API keys or RBAC for management, while Azure OpenAI Service uses Azure AD for authentication. If you've switched Azure Search to RBAC, ensure correct RBAC roles for management but continue using API keys for data access. Azure OpenAI Service uses Azure AD authentication and API keys.

    If this helps kindly accept the answer thanks much.


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.