Getting internal Server error while trying to login to my webApp when using any microsoft Account from my B2C tenant

Omar Nisar 0 Reputation points
2024-09-04T10:08:53.07+00:00

Hi All,

I am facing very interesting issue while using my webApp in azure. The requirement is the application can be used by multiple tenants and also B2C tenants. I am using EasyAuth to implement this and also created the Signin flow for the B2C users.

The user's personal account or work account may exist is in B2C user list. I have created the MicroSoft and OpenId Connect identity provider and we invite the user to our B2C group as guest. I am able to Sign in with my Gmail account but not Hotmail account. I get the error mentioned below:

User's image

Thank you in advance.

Best Regards,

Omar

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,731 Reputation points Microsoft Employee Moderator
    2024-09-30T00:22:14.56+00:00

    @Omar Nisar An internal server error can occur due to a variety of reasons, such as incorrect configuration settings or issues with the authentication provider. Here are a few things you can try to troubleshoot the issue:

    1. Ensure the Azure portal has the authentication provider settings are configured correctly. Make sure that the redirect URIs and client IDs are correct.
    2. See if the logs for any error messages or exceptions that may provide more information about the issue. You can view the logs in the Azure portal or in the application's diagnostic logs.
    3. Try using a different Microsoft account to see if the issue persists. This can help determine if the issue is specific to the account or if it's a more general issue.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.