The principal does not have access to API/Operation

Manish Tiwari
Aug 10, 2024

Why?

This issue can occur when you or the application does not have the correct permissions to use the AI resource.

How to fix it?

  1. Identify which role you want to assign, in our case we will consider Azure Open AI resource and it supports these roles.

2. For application, we would recommend Cognitive Services OpenAI User

3. Follow this to assign a role

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