@Anonymous It seems like the error message is related to the permissions of the Azure AD application or service principal that you are using to access the Azure Cognitive Search resource.
To verify if you have the required permissions, you can follow these steps:
- Go to the Azure portal and navigate to the Azure Cognitive Search resource that you are trying to access.
- Click on the "Access control (IAM)" tab in the left-hand menu.
- Check if your Azure AD application or service principal is listed under the "Role assignments" tab. If it is not listed, you will need to add it as a Contributor or Owner to the resource.
- If your Azure AD application or service principal is listed, click on it to view the assigned role. Make sure that it has the "Contributor" or "Owner" role assigned to it.
If you are still having issues after verifying the permissions, you can try refreshing your credentials by signing out and signing back into the Azure portal. If the issue persists, you can try regenerating the admin keys for the Azure Cognitive Search resource and updating the connection string in your application.
Also, as mentioned in your previous post, it's not enough to have contributor access:https://learn.microsoft.com/en-us/answers/questions/1339517/ai-studio-showing-no-deployment-found-and-no-acces