Hello Fiyarlin Sharone J
Ensure that Managed Identity is enabled and it has the appropriate role assignments. You can verify this in the Azure portal under the Identity settings.
For pipeline and query execution, this tutorial uses Microsoft Entra ID for authentication and roles for authorization.
Both you and the search service need permissions on Azure OpenAI.
Sign in to the Azure portal and find your search service.
Configure Azure AI Search to use a system-managed identity.
Find your Azure OpenAI resource.
Select Access control (IAM) on the left menu.
Select Add role assignment.
Select Cognitive Services OpenAI User.
Select Managed identity and then select Members. Find the system-managed identity for your search service in the dropdown list.
Next, select User, group, or service principal and then select Members. Search for your user account and then select it from the dropdown list.
Make sure you have two security principals assigned to the role.
Select Review and Assign to create the role assignments.
For access to models on Azure AI Vision, assign Cognitive Services OpenAI User. For Azure AI Foundry, assign Azure AI Developer.