getting a Microsoft.Azure.CognitiveServices.Vision.Face.Models.APIErrorException: Operation returned an invalid status code Forbidden

kiran veerabatheni 11 Reputation points

receiving the error while calling the face api.
Microsoft.Azure.CognitiveServices.Vision.Face.Models.APIErrorException: 'Operation returned an invalid status code 'Forbidden''

What should the resource group look like?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
1,897 questions
{count} vote

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 40,096 Reputation points

    Hello @kiran veerabatheni

    Sorry for your experience and thanks for reaching out to here for it. I guess you miss the limitation of Face API. You should have received an email from Azure about the Face API limitation-

    Face service access is limited based on eligibility and usage criteria in order to support our Responsible AI principles. You got this error since what you are trying to call is now limited access to them because you have not been approved to use that capability. Face service is only available to Microsoft managed customers and partners. Please use the Face Recognition intake form to apply for access-

    I hope this helps. Let me know if you have sent the form but still have this issue.


    -Please kindly accept the answer if you feel helpful to support the community, thanks.

    0 comments No comments