'Azure Search Error: 403, Server responded with status 403. Error message: Authorization failed' when using Azure RBAC instead of API keys to authenticate to Azure AI Search #624
Labels
bug
Something isn't working
Describe the bug
When disabling API key authentication on Azure AI Search, the following error appears when entering chat messages:
Was hoping this would be possible now after #460 and #427 were closed.
To Reproduce
Steps to reproduce the behavior:
Azure AI/OpenAI Services system-assigned managed identity
Expected behavior
The chat application should be able to run queries the same way as before when using API keys to authenticate with Azure AI Search instead of Azure RBAC.
Screenshots
![image](https://private-user-images.githubusercontent.com/76957055/305245848-3b893e9a-701c-43f6-ac50-099e6ad1af99.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjc5ODEsIm5iZiI6MTczOTEyNzY4MSwicGF0aCI6Ii83Njk1NzA1NS8zMDUyNDU4NDgtM2I4OTNlOWEtNzAxYy00M2Y2LWFjNTAtMDk5ZTZhZDFhZjk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE5MDEyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3NDM5MmJhNWU2ZGZkZDkzMDIyM2M3YmFjMTU4MWVmOGY1Zjg0MWFhNjNhN2Q0ZWQ4NTViNTIwN2EzNWI2ZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.50stIBESdvz1Uvv44rEhw3c_Yia9HgwrF62dg5NrZdQ)
Configuration: Please provide the following
Additional context
Using the latest code available from the
main
branch as of ~2024-02-14.The text was updated successfully, but these errors were encountered: