@Jeyasingh, Vijayalingam For some reason, adding "Cognitive Services User" role resolved this for me...
Principal does not have access to API/Operation while access Document Intelligence
Jeyasingh, Vijayalingam
81
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?
3 answers
Sort by: Most helpful
-
-
Yang Gao 0 Reputation points Microsoft Employee
2024-08-07T20:46:25.8533333+00:00 adding "Cognitive Services User" solved the problem for me
having these two seems not sufficient
- Cognitive Services Contributor
- Storage Blob Data Contributor
-
Vinay Kv 0 Reputation points
2024-08-08T15:11:20.9133333+00:00 Even I am facing same issue, but all above options didn't work for me