Principal does not have access to API/Operation while access Document Intelligence

Jeyasingh, Vijayalingam 6 Reputation points

Hi Team,

I have a function app calling the prebuilt-layout in Document Intelligence.

I have assigned "Cognitive Services Contributor" access to the managed identity of the function App.

Still ended up with the error "Principal does not have access to API/Operation"

Can you let me know what is the correct role(s) required to fix this issue?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,328 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Kebei Jiang 5 Reputation points Microsoft Employee

    @Jeyasingh, Vijayalingam For some reason, adding "Cognitive Services User" role resolved this for me...

    1 person found this answer helpful.
    0 comments No comments