Hi @Eivydas Kočinas ,
Thanks for reaching out.
Please find the response inline
- If I set my user flow as
Sign-in
I get the following error when trying to authenticate a user:error_description: 'AADB2C99002: User does not exist. Please sign up before you can sign in.
If the account doesn't exist in the B2C tenant and you are trying to sign in directly, you will get the 'User does not exist' error.
- If I set my user flow as
Sign up and sign in
I am able to authenticate the user with a Microsoft account, however after entering their Microsoft account email and password they are brought to this next page which I believe is calledSocial account sign up page
to verify their email.
When you will try to sign up with social account, B2C tenant gathers the user attributes to store the user's information based on the user attributes defined in your flow to register the user in B2C tenant.
Based on the above screenshot, it seems to be the local sign up page to verify the email id of the user.
I reproduce your scenario to sign up and sign in with Microsoft IdP and able to do that successfully without any email verification.
Could you please confirm there is no customization page you set up for email verification or you are directing to live.com URL to authenticate the user.
In case the above does not work for you, please send us an email on azcommunity [at] microsoft [dot] com referencing this issue with a subject line "ATTN:shweta" to help you further.
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.