Azure B2C sign in page does not display company branding images on .NET clients only

Jordan Hariel 21 Reputation points
2024-04-12T16:26:31.89+00:00

We are using MSAL.NET with B2C to authenticate our users. We have a custom company logo and background image that we display when the user signs in to our application.

In our Angular-based web portal, the sign in page displays correctly, but in our .NET clients, the sign in page displays like this:

User's image

This occurred all at once in all of our development and production environments, which each have a different tenant. We did not modify any settings that we are aware of. If I change the background color, for instance, in Company Branding, the change is reflected in the sign in page but the images are still missing.

Debugging the issue is difficult because, since it is in a client application, I can't inspect any of the elements or network requests, and as I mentioned before, it is working as expected in our web application.

Any help would be greatly appreciated!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,285 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,521 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Marilee Turscak-MSFT 33,951 Reputation points Microsoft Employee
    2024-04-12T22:23:18.9566667+00:00

    Hi @Jordan Hariel ,

    Thanks for the quick reply and providing details! Without being able to look into your setup, it's harder to isolate the root cause but I reached out to the B2C team to check if there were any known changes that could affect the image rendering and will update as they reply. It could be a .NET rendering issue but I filed a bug to investigate based on your screenshots.

    One thing to note is that this will happen if you sign in with a Microsoft Account instead of Entra ID account. So if you sign in with an Entra ID/Azure AD account you will continue see your company branded page. I would also recommend checking using an incognito browser to see if you see the same results.

    In the meantime you would like to have a one-time free support case opened to look into your scenario, feel free to reach out to me at AzCommunity@microsoft.com ("Attn: Marilee Turscak") and include your subscription ID and a link to this thread.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.


  2. Marilee Turscak-MSFT 33,951 Reputation points Microsoft Employee
    2024-04-18T00:16:04.3866667+00:00

    Hi @Jordan Hariel ,

    Thanks for following up over the email. I did see that there was a recent bug that could be related to this issue, but this definitely merits a support case for further investigation. Please feel free to follow-up here once you have this resolved.

    0 comments No comments

  3. Marilee Turscak-MSFT 33,951 Reputation points Microsoft Employee
    2024-04-27T00:17:48.62+00:00

    Hi @Jordan Hariel ,

    The related bug has been mitigated. Could you please try again and see if you get the same results?

    Let me know if you still face any issues.

    If the information helped you, please Accept the answer. This will help us and improve searchability for others in the community who may be researching similar questions.

    0 comments No comments