question

TammyTTran-2622 avatar image
0 Votes"
TammyTTran-2622 asked JamesTran-MSFT commented

Call API to Azure to check whether user email account has existed for specific source (Azure Directory/Facebook/Google ) under Azure Portal

Hi all,

We are using the Azure AD B2C -User flow

At the user sign-in step, we want to have API to know whether the user email account for specific source (Azure directory. Facebook directory...) exists in the Azure portal or not ?

We use this API https://graph.microsoft.com/v1.0/users?$select=displayName,id&$filter=identities/any(c:c/issuerAssignedId eq 'cxx@xxx.onmicrosoft.com' and c/issuer eq 'x')

But it seems that the clause c/issuer is ignored and it responds back wrongly.

Can you please help me recheck and advise? Thank you

azure-ad-b2c
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@TammyTTran-2622
Thank you for your post and I apologize for the delayed response!

Because it's been a while since your initial post, I just wanted to check in and see if you're still running into this issue?


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

1 Answer

soumi-MSFT avatar image
1 Vote"
soumi-MSFT answered JamesTran-MSFT commented

@TammyTTran-2622, I tested the same Graph API call, and it worked for me. Please refer to the screenshot below:
141960-graphapi-useridentities.png





· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@TammyTTran-2622
I just wanted to check in and see if you had any other questions or if you were able to resolve this issue?

If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.


Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

0 Votes 0 ·