Hello @Sam Wheat
For some Identity providers, personal email address is populated as Sign-in name and for some IDPs personal email is populated in otherMails attribute. For example:
- Users signed up for local account in B2C have their email address populated as Sign-in name.
- Users signed up via Facebook account in B2C have their email address populated as Alternate Email (otherMails attribute) and not as Sign-in name.
Below are the Graph Calls that you can use to find a user by using his/her email address in both cases:
- To search users when email address is populated as Alternate Email:
- To search users when email address is populated as Sign-in Name:
Note: When filtering on the Sign-in name (identities property), you must supply both issuer and issuerAssignedId.
Apologies for sharing the graph calls as images. Due to some syntax I was being blocked from posting this answer.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.