Hi
Iam facing the same issue as in that link, iam just using face detection(open to all) instead of face recoginition, then why iam i getting this error also attached the error snap for your reference.
https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/quickstarts-sdk/identity-client-library?tabs=visual-studio&pivots=programming-language-csharp
========IDENTIFY FACES========
Create a person group (35620036-ec3a-4efd-b03c-a1efe36bd5e2).
Unhandled exception. System.AggregateException: One or more errors occurred. (Operation returned an invalid status code 'Forbidden')
---> Microsoft.Azure.CognitiveServices.Vision.Face.Models.APIErrorException: Operation returned an invalid status code 'Forbidden'
at Microsoft.Azure.CognitiveServices.Vision.Face.PersonGroupOperations.CreateWithHttpMessagesAsync(String personGroupId, String name, String userData, String recognitionModel, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.CognitiveServices.Vision.Face.PersonGroupOperationsExtensions.CreateAsync(IPersonGroupOperations operations, String personGroupId, String name, String userData, String recognitionModel, CancellationToken cancellationToken)
at FaceQuickstart.Program.IdentifyInPersonGroup(IFaceClient client, String url, String recognitionModel) in C:\Users\demousr\source\repos\facedetectiondemo\facedetectiondemo\Program.cs:line 105
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at FaceQuickstart.Program.Main(String[] args) in C:\Users\demousr\source\repos\facedetectiondemo\facedetectiondemo\Program.cs:line 38
C:\Users\demousr\source\repos\facedetectiondemo\facedetectiondemo\bin\Debug\net6.0\facedetectiondemo.exe (process 1244) exited with code -532462766.
Press any key to close this window . . .