Closed satishrabari closed 8 months ago
@satishrabari It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!
@Naveenommi-MSFT
Here is the link User-flow
Hi @satishrabari
It seems that you are facing an issue with Azure AD B2C User Flow. When you create a User Flow without a local account option, the other provider buttons fail to work properly. Users encounter errors such as "Uncaught TypeError: document.getElementById(...) is null" at line number authorize:8290:63331.
This issue occurs because the User Flow requires at least one identity provider to be selected. When you set the Local account option to "None," there are no identity providers available for users to sign in with, which causes the error you are seeing.
To resolve this issue, you can either select at least one identity provider or remove the User Flow without any identity providers. You can add identity providers that are supported by Azure Active Directory B2C to your User Flows using the Azure portal. You can also add identity providers to your custom policies.
I hope this helps! Let me know if you have any other questions.
@satishrabari We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation
@ManoharLakkoju-MSFT I added two identity providers in this as you see in the screenshot.
that is why I selected none for the local account. I need to display only those two options for sign-in.
@satishrabari I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Thank you for your time and patience throughout this issue.
I have exactly same problem. if "None" is selected under local accounts, even though you select Google and Microsoft as identity providers it does not work.
I'm also having this problem. I have two OpenID Connect providers and as soon as I set 'Local Accounts' to 'None' neither of the social account buttons do anything on the sign in page. I'm getting the following error in the console:
Can this issue be reopened? It seems to be far from resolved.
@JacobClinton @germanfidalgo Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly
@garrodonnell Can you please check and add your comments on this doc update request as applicable.
@ManoharLakkoju-MSFT I will help your support team let me know about that.
@ManoharLakkoju-MSFT I was looking into this more yesterday and it seems specific to the 'Sign In' flow. The 'Sign Up and Sign In' flow works as expected. Let me know if you need any more information.
I've just checked and the problem is replicated on the Edit Profile flow.
Hi @ManoharLakkoju-MSFT, I'm unclear on the update requested, can you please clarify what the ask for docs is on this?
@satishrabari Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows. [Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1) Thank you for your time and patience throughout this issue.
An issue with Azure AD B2C User Flow: Other provider buttons (e.g., Google or Microsoft) are not functioning when the Local account option is set to "None."
Description: When attempting to create a User Flow without a local account option in Azure AD B2C, the other provider buttons fail to work properly. Users encounter errors such as "Uncaught TypeError: document.getElementById(...) is null" at line number authorize:8290:63331.
Buy a coffee for me if you want. 👍
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.