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