How to login with personal emails with oauth2

Filipe Queiros 0 Reputation points
2026-08-13T12:40:28.0466667+00:00

Hello

I want to create an authentication flow to allow my users to authenticate with their microsoft credentials into my web applications, so I created an azure entra ID app to handle the authorization flow with the following configs:

User's image

User's image

User's image

User's image

On my .net application I have a button that allows the user to signin with microsoft.
On my code, I'm using Microsoft.Identity.Client as library to handle the authorization and token.
The authority I use is the url (https://login.microsoftonline.com/common), I think this is the correct one to allow auth with work and personal emails.

When I use an work email the login works but when I tried to use one personal email, I always get the following error.
User's image

Why I cannot use personal emails, if my registration app is supposed to allow it? What I'm missing to configure?
Thank you.

Azure App Configuration
Azure App Configuration

An Azure service that provides hosted, universal storage for Azure app configurations.

0 comments No comments

Your answer

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