Any REST APIs to get security questions of Azure Active Directory user

%3CLINGO-SUB%20id%3D%22lingo-sub-2217143%22%20slang%3D%22en-US%22%3EAny%20REST%20APIs%20to%20get%20security%20questions%20of%20Azure%20Active%20Directory%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2217143%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3EWe%20have%20a%20requirement%20to%20get%20security%20questions%20for%20a%20user%20registered%20on%20Active%20Directory.%20We%20used%20graph%20API(%3CSPAN%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%2F%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%7BId%7D%3C%2FSPAN%3E)to%20get%20users%20details.%20However%20we%20failed%20to%20see%20security%20questions%20in%20that%20API%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERequest%20to%20share%20any%20info%20which%26nbsp%3Bprogrammatically%20gets%20and%20validates%20user's%20security%20questions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2217143%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

We have a requirement to get security questions for a user registered on Active Directory. We used graph API(https://graph.microsoft.com/v1.0/users/ {Id})to get users details. However we failed to see security questions in that API response.

 

Request to share any info which programmatically gets and validates user's security questions.

 

Thanks in advance.

1 Reply
You cannot get this information by any means, be it the UI or API. Best you can do is check whether the user has configured security questions, as per: https://docs.microsoft.com/en-us/graph/api/resources/credentialuserregistrationdetails?view=graph-re...