Post

Principal does not have access to API/Operation

Why?

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

How to fix?

  • Identify which role you want to assign, in our case we will consider Azure Open AI resource and it supports these roles.
  • For application, we would recommend Cognitive Services OpenAI User
  • Follow this to assign a role

This post is licensed under CC BY 4.0 by the author.