Key based authentication is disabled for this resource
Aug 10, 2024
Why?
If you have disabled local auth(Disable local authentication in Azure AI Services), you can not use keys for AI service authentication.
How to fix it?
When accessing the AI service API do not use API keys instead try to use Managed service identities.
- Go to Azure AI service (In this case, I am using Azure Open AI Service), and go to Resource Management and select Identity
- Make sure you are in System Assigned Tab
- If the status is Off, please change it to On and save the generated ID for future use.
Originally published at https://blogs.bitesinbyte.com on August 10, 2024.