Forum Discussion

fingers3775's avatar
fingers3775
Copper Contributor
Jan 09, 2025

Principle Does not have Access to API/Operation

Hi all,

 

I am trying to connect Azure OpenAI service to Azure AI Search service to Azure Gen 2 Data lake. In the Azure AI Foundry studio Chat Playground, I am able to add my data source, which is a .csv file in the data lake that has been indexed successfully.

I use "System Assigned Managed Identity". 

The following RBAC has been applied:

  • AI Search service has Cognitive Services OpenAI Contributor in Azure Open AI service
  • Azure OpenAI service has Search Index Data Reader in AI Search Service
  • Azure OpenAI service has Search Service Contributor in AI Search Service
  • AI Search Service has Storage Blob Data Reader in Storage account (Data Lake)

As mentioned when adding the data source it passes validation but when I try to ask a question, I get the error

"We couldn't connect your data
Principal does not have access to API/Operation"

 

Resources