"InvalidRequest" How to fix this error if I have access to use facial recognition?

Valeria Margarita Espinoza Sanchez 20 Reputation points
2024-04-25T16:09:58.2266667+00:00

Hello, I am using Face API - Identify from the Cognitive Services page, but when making a request the following error appears:User's imageI do not understand the error shown since access was requested from Microsoft and was accepted. I attach an image of the email confirming that they accepted the request. Thank you very much for your help.

User's image

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
165 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,888 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 25,866 Reputation points
    2024-04-26T07:25:11.56+00:00

    Please set 'returnFaceId' to 'false' if you only need face detection, not face identification.

    The Face API has restricted the Following features: the Identify and Verify functions and the Face ID property.

    Access to Face services is restricted based on eligibility and usage to align with our Responsible AI principles. These services are available only to Microsoft-managed customers and partners.

    To request access, please complete the Face Recognition intake form. For more details, visit the Face limited access page at https://learn.microsoft.com/en-us/legal/cognitive-services/computer-vision/limited-access-identity?context=%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fcontext%2Fcontext

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.