question

MathiasOlsson-6376 avatar image
0 Votes"
MathiasOlsson-6376 asked MathiasOlsson-6376 commented

Why does not Apple or Facebook IDP fetch username sometimes?

We are using Azure B2C With User flow "out of the box". We're currently using Facebook and "Sign in with apple" IDP. We have noticed that the username that should be the email address is not fetched for some accounts, instead it's empty. Why is that?

azure-ad-b2c
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.

1 Answer

amanpreetsingh-msft avatar image
1 Vote"
amanpreetsingh-msft answered MathiasOlsson-6376 commented

Hi @MathiasOlsson-6376 · Thank you for reaching out.

The only reason I can think of is, if the user has configured privacy settings and has not provided public access to his/her email address. Due to this, these IDPs are not providing user's email address to B2C during claims exchange for that user.

Go to Facebook Privacy Checkup and in "How people can find you on Facebook" tile, make sure email address is visible to Everyone as highlighted below:

105322-image.png

Similarly check this setting in the Apple ID and test running Azure B2C With User flow again.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


image.png (27.2 KiB)
· 2
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.

Hi @MathiasOlsson-6376 · Just checking if you had a chance to test it out.

1 Vote 1 ·

Hi, this solved the issue, thanks!

0 Votes 0 ·