Share via

ADB2C | Graph API

Abhay Chandramouli 1,061 Reputation points
2022-08-31T14:03:42.643+00:00

Hi
I am trying to create users using Graph API in Adb2c.

What I have noticed is sometimes I get user not found when I search a user using email or phone ( these are identities ). Even though graph api returns "Another object with the same value for property userPrincipalName already exists".

Steps:
I try to create a user : (postman or python script for example)
I get "Another object with the same value for property userPrincipalName already exists"
I try to go and check on portal if the user exists
It shows no user found

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author

Anonymous
2022-09-02T18:24:57.717+00:00

Hi @Abhay Chandramouli , this issue comes up every now and then, and my go-to solution is to just search for duplicates and delete them. You can do that by following this document. Please let me know if you have any questions and I can help you further.

If this answer helped you please mark it as "Verified" so other users can reference it.

Thank you,
James

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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