Hello lakshmi,
Thank you for posting your query here!
I understand that you are facing a connection issue between Azure OpenAI and Azure Blob Storage despite correct network and role configurations.
Storage accounts in virtual networks, firewalls, and private endpoints are supported by Azure OpenAI on your data.
1.Ensure you have the system assigned managed identity principal enabled for your Azure OpenAI and Azure AI Search resources.
- Using the Azure portal, navigate to your resource, and select Identity from the navigation menu on the left side of the screen.
- Set Status to On.
- Perform these steps for both of your Azure OpenAI and Azure AI Search resources.
2.Navigate back to your storage account. Select Access Control (IAM) for your resource. Select Add, then Add role assignment. In the window that appears, add the Storage Data Contributor role to the storage resource for your Azure OpenAI and search resource's managed identity.
- Assign access to Managed Identity.
If you have multiple search resources, Perform this step for each search resource.
3.As you mentioned, your storage account is not network restricted, go to networking tab and select Enabled from selected virtual networks and IP addresses.
Also, for production don't forget:
Note: It might take some time (not more than 30 min) for the changes to reflect.
Also, please verify that the data source definition is correct and complete. Make sure that the container name and the folder path match the ones in the azure portal.
Further details: https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search#storage-accounts
If the issue persists, please let me know and we might need a deeper investigation to check on the issue further. Do let us know if you have any further queries. I’m happy to assist you further.
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.