Entra ID integration in .NET Maui App

Paramjit Singh 191 Reputation points
2025-03-05T10:36:57.4966667+00:00

For the 3 separate cross platform apps (.NET Maui) with 2 of them having the need for passwordless authentication and one need to have email password with MFA authentication.

Can I integrate authentication in mobile apps without Browser by using the API's or SDK's like Azure.Identity.Client and MSAL.net. Please provide some sample or Resource for implementation in .NET Maui.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,981 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,996 Reputation points Microsoft External Staff
    2025-03-06T05:30:29.6266667+00:00

    Hello,

    Please see this blog - Authentication for .NET MAUI Apps with MSAL.NET - .NET Blog

    and refer to

    A .NET MAUI app using MSAL.NET to authenticate users with Azure AD for Customers - Code Samples | Microsoft Learn

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.