.NET MAUI Windows desktop app and Azure AD B2C sample code

Ajit Soutadekar 1 Reputation point

I am developing a .NET MAUI WINDOWS desktop application.
Need to integrate the Azure AD B2C authentication for my .NET MAUI app.
What I found on the internet was bits and pieces of code which is not helpful.

Can anyone please share me a simple ***

sample code of .NET MAUI with Azure AD B2C for Windows App?

Thank you in advance.

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,672 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,773 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 28,021 Reputation points Microsoft Employee

    Hi @Ajit Soutadekar ,

    Thanks for reaching out.

    Please find the sample of .Net MAUI with Azure AD B2C for each platform -

    Configuration for Windows Desktop is mentioned here.

    Hope this will help.



    Please remember to "Accept Answer" if answer helped you.