question

ZhichengLiuCSIInterfusionInc-8844 avatar image
0 Votes"
ZhichengLiuCSIInterfusionInc-8844 asked amanpreetsingh-msft commented

Azure B2C single sign-on doesn't work in profile edit user flow

This question happened when i use new created tenant, the tenant i created about one year ago works well.

I registered a web application, a Sign up and sign in user flow and a profile edit user flow. Then i signed up a account with my own email and logined in. Everything works well. But when i try to use profile edit user flow, the service returned a "server_error:AADB2C: An exception has occurred.".
The link i used is from "Run user flow endpoint" and i removed the "&prompt=login". And when i access this uri again(which doesn't contain "&prompt=login"), browser redirect me to login page, so i need to enter my credentials again.

Expected behavior is when i access profile edit uri again, i can edit my profile directly(just like the old tenant).

We can recurrent the error simply by access twice profile edit flow. when i access the flow second time, it will look like this. And i need to enter my credentials again if i access this uri the third time.

Here is my Profile edit Properties and where i copy my profile edit uri :
139821-ce0f5be9bd56402b2c9a79a8b4021cd.png


azure-ad-b2c
· 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 @ZhichengLiuCSIInterfusionInc-8844 • Could you please share the Correlation ID that you get along with the error: `"server_error:AADB2C: An exception has occurred."

0 Votes 0 ·

Hi, @amanpreetsingh-msft Sorry for my delayed reply.
Here is my Correlation ID:

06b64e58-108a-458a-b70e-66b8679c7ea7
0c6b8bbc-5c9d-4809-b689-1c310554a20c
b08430ab-27f9-4398-8007-facd1b7686c8

I have reproduced the problem many times, hope this will help you.

139957-ca7cfbdff1cfd488636d1613a5a6a69.png



0 Votes 0 ·

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft commented

Hi @ZhichengLiuCSIInterfusionInc-8844 • Thank you for sharing required information.

I tracked the correlation ID in our backend database and found the error to be a known issue due to a recent update in B2C. The product group is already aware of it and an internal MS ticket is opened for this issue. We are working on resolving the issue and might take roughly around 2-3 days to get it resolved and reflect on all tenants.

Apologies for the inconvenience caused due to this. I will post a comment on this thread as soon as the issue is resolved.

Regards,
Aman

· 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.

@amanpreetsingh-msft

Thanks for your explain. Looking forward to it being repaired.

Best regards,
ZhiCheng

0 Votes 0 ·
amanpreetsingh-msft avatar image amanpreetsingh-msft ZhichengLiuCSIInterfusionInc-8844 ·

Hi @ZhichengLiuCSIInterfusionInc-8844 • This is to inform that the issue is marked as resolved at our end. Could you please try again and confirm if it working for you?

0 Votes 0 ·