Hello!
Thanks for reaching out to us here, are you a customer who has been approved to use face recognition (Face API: Identify and Verify features, face ID property)?
Face service access is limited based on eligibility and usage criteria in order to support our Responsible AI principles. Face service is only available to Microsoft managed customers and partners. Use the Face Recognition intake form to apply for access. For more information, see the Face limited access page.
If not, you can not use FaceId in your code and you need to set 'returnFaceId: false' to make the API works.
I hope this helps!
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.