Share via

Need verification if I can disable access keys for my Azure Language service

Aranca, Farimah 0 Reputation points
2026-03-09T06:28:15.6733333+00:00

I have an Azure Language service which is used for Custom Question and Answering and recently I received information that for AI Search resource connected to Language service as part of Custom Question Answering, I must use key based authentication and can't switch to only RBAC authentication since CQA doesn't support RBAC authentication with AI Search at the moment. I just want to clarify if this is the case for the Language service as well ~ If it doesn't support RBAC authentication for CQA.

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.


3 answers

Sort by: Most helpful
  1. Manas Mohanty 16,030 Reputation points Microsoft External Staff Moderator
    2026-03-17T09:10:32.65+00:00

    Hi Aranca, Farimah,

    I agree to above pointers from my colleague and community.

    Only RBAC is not enough. We need to use API key-based authentication for AI search as part of pre-requisites.

    User's image

    Additional RBAC roles

    But we also need the person establishing the account and project assigned as the Azure AI Account Owner role at the subscription level.

    Alternatively, having either the Contributor or Cognitive Services Contributor role at the subscription scope also meets this requirement. For more information, see Role based access control (RBAC).

    Reference used - https://dori-uw-1.kuma-moon.com/en-us/azure/ai-services/language-service/question-answering/how-to/configure-azure-resources

    Please take a minute to accept this answer if you got the needed clarity.

    Thank you


  2. Rahul Jagdish Kamble 0 Reputation points
    2026-03-09T09:48:35.3733333+00:00

    Hi Aranca, Farimah,

    No - the Azure Language Service** does NOT require API keys to remain enabled for Custom Question Answering (CQA).** Only the Azure AI Search resource must keep key‑based authentication enabled at this time. The Language Service does support RBAC and does not have a CQA‑specific requirement forcing you to keep its access keys enabled.

    0 comments No comments

  3. Karnam Venkata Rajeswari 1,310 Reputation points Microsoft External Staff Moderator
    2026-03-09T09:26:28.74+00:00

    Hello  Aranca, Farimah,

    Welcome to Microsoft Q&A .Thank you for reaching out.

    We understand the concern around authentication when using Custom Question Answering (CQA) withAzure Language Service and Azure AI Search.

    1.      Azure AI Language Service (Custom Question Answering)

    Azure AI Language supports both API key authentication and Microsoft Entra ID (Azure RBAC).

    ·       When using Custom Question Answering:

    ·       The Language service can be accessed using RBAC (Microsoft Entra ID).

    ·       There is no requirement for the Language resource access keys to remain enabled when RBAC authentication is used.

    ·       In other words, the Language service itself does not have a CQA-specific limitation that requires API keys to stay enabled.

     

    2.      Azure AI Search (when used with CQA)

    In general , Azure AI Search supports RBAC . However, when it is integrated with custom question answering, the behavior is different.

    In the CQA architecture:

    ·       The service provisions and manages an Azure AI Search index that stores the knowledge base content.

    ·       The backend service relies on the Search Admin Key to manage and query this index.

    Because of this dependency:

    ·       API key authentication must remain enabled on the Azure AI Search resource when it is used by Custom Question Answering.

    ·       RBAC-only (keyless) authentication is currently not supported for Azure AI Search in the CQA integration scenario.

    ·       As a result, Azure AI Search access keys cannot be fully disabled if the Search resource is being used by CQA.

    So , to conclude,

    ·       Azure AI Language: RBAC-only authentication can be used for Custom Question Answering.

    ·       Azure AI Search: API key authentication must remain enabled when the Search resource is connected to CQA.

     

    Please refer the following

    Enable role-based access control - Azure AI Search | Microsoft Learn

    Connect using Azure roles - Azure AI Search | Microsoft Learn

    Configure the custom question answering service for fine-tune models - Foundry Tools | Microsoft Learn

     

    Thank you

     

    0 comments No comments

Your answer

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