Datasource connection error in open AI

Vidash Kumar 20 Reputation points
2025-02-09T12:09:32.6833333+00:00

Hi Team,

Could you resolve my below error when connecting data source with open AI. I tried to resolve from 2 days

Error -The Azure OpenAI Service resource has disabled system assigned managed identity.

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,185 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vikram Singh 1,730 Reputation points Microsoft Employee
    2025-02-10T06:50:36.5233333+00:00

    Hi Vidash Kumar,

    Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.

    The error message "The Azure OpenAI Service resource has disabled system assigned managed identity" indicates that your Azure OpenAI resource does not have a system-assigned managed identity enabled, which is required to access certain Azure services like Azure Storage, Cognitive Search, or other data sources. Here are some steps to help resolve this issue:

    1. Enable System Assigned Managed Identity:
      1. Navigate to the Azure portal and select your Azure OpenAI Service resource.
      2. Go to the "Identity" section and enable the system assigned managed identity. This will allow the service to authenticate and access other Azure resources securely.
    2. Assign Necessary Roles:
      1. Ensure that the system assigned managed identity has the required roles assigned. For example, you may need to assign the "Cognitive Services OpenAI User" or "Cognitive Services OpenAI Contributor" role to the managed identity.
      2. To do this, go to the "Access control (IAM)" section of your Azure OpenAI Service resource, select "Add role assignment," and choose the appropriate role. Then, select the managed identity as the member.
    3. Check Network and Access Configuration:
      1. Verify that the network and access configuration for your Azure OpenAI Service is correctly set up. Ensure that the service can communicate with other Azure resources, such as Azure AI Search and Storage Account, using the managed identity.
      2. If you have disabled public network access, make sure to create private endpoint connections that connect to your Azure OpenAI resource.

    Refer to the Azure documentation:

    Do let me know if you are still the facing the issue.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.