Key based authentication is disabled for this resource

Manish Tiwari
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.

--

--

Manish Tiwari

https://links.bitesinbyte.com Dot Net | DevOps |Terraform| open source | Azure | AWS | GCP | Kubernetes | Docker