/common OAuth endpoint: Personal account rejected with "can't sign in here with a personal account"

XIANGZHE ZENG 0 Reputation points
2025-11-17T04:40:05.7433333+00:00

Our multi-tenant SaaS application is configured to accept both organizational and personal Microsoft accounts, with the signInAudience correctly set to "Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)".

However, personal Microsoft account users encounter a blocking error when attempting to sign in via the /common OAuth endpoint in fresh browser sessions (without cached Microsoft session cookies).

SCREENSHOT AND ERROR MESSAGE

User's imageUser's image

Error message displayed to users:

"You can't sign in here with a personal account. Use your work or school account instead."

CRITICAL OBSERVATION

This error message appears despite our application configuration explicitly allowing personal accounts in the Microsoft Entra ID admin portal:

✓ Supported account types is set to: "Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)"

✓ All users with a work or school, or personal Microsoft account can use your application or API. This includes Office 365 subscribers." (as shown in admin portal)

✓ Application permission configuration shows no restrictions on personal accounts

This suggests a mismatch between:

  1. Application registration configuration (which allows personal accounts)
  2. OAuth endpoint behavior (which rejects personal accounts on /common)

APPLICATION DETAILS

REPRODUCTION STEPS

  1. Clear all browser cookies or use private/incognito browsing mode
  2. Navigate to OAuth authorization URL using /common endpoint
  3. Attempt to sign in with personal Microsoft account (@outlook.com, @hotmail.com, @live.com)
  4. User receives error: "You can't sign in here with a personal account"

WORKAROUNDS THAT SUCCEED

The error does NOT occur when:

  1. User already has an active Microsoft session in the browser (cached cookies exist)
  2. Using /consumers endpoint instead of /common endpoint: https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize
  3. Adding domain_hint=live.com parameter to override home realm discovery

TECHNICAL ANALYSIS

Based on Microsoft's home realm discovery documentation, the /common endpoint should:

  1. Analyze the user's email domain (UPN suffix)
  2. Route to appropriate identity provider (organizational tenant, MSA, or federated IDP)
  3. Verify application permissions in that tenant

For @outlook.com addresses:

  • Step 1: Domain suffix is "outlook.com" (recognized personal Microsoft account domain)
  • Step 2: Should route to MSA tenant
  • Step 3: Should verify application supports personal accounts

However, the error at Step 3 suggests that despite application configuration allowing personal accounts, the /common endpoint is applying stricter validation rules.

QUESTION: Is there an application-level or home realm discovery policy that can override the application registration's signInAudience setting? If so, how do we disable it?

KEY QUESTIONS FOR MICROSOFT

  1. Configuration Validation: Our application is explicitly configured to support personal accounts. Why is the /common endpoint rejecting personal accounts with "You can't sign in here with a personal account" message?
  2. Intended Behavior: Is the current behavior (rejecting personal accounts on /common despite configuration) intended by design? If so, which endpoint should applications use to support BOTH personal and organizational accounts?
  3. Regression vs. Design Change:
    • Is the requirement for cached sessions a new validation rule?
    • Why does the /consumers endpoint work but /common doesn't?
  4. Application Interaction with HRD: How does the application's signInAudience setting interact with the home realm discovery logic on the /common endpoint? Should it override HRD's restrictive rules?
  5. Dual-Account Support Architecture: For applications that need to support BOTH personal Microsoft accounts AND multi-tenant organizational accounts, what is the recommended architecture?
    • Option A: Separate login flows (/consumers for personal, /organizations for work)
    • Option B: Fix /common endpoint to respect signInAudience configuration
    • Option C: Use domain_hint parameter consistently (seems like a workaround, not a solution)

RELATED ISSUES AND DOCUMENTATION

IMPACT

  • User Impact: 100% of new users attempting to sign in with personal accounts without existing browser sessions are blocked

More question: documentation clarifying that /common is NOT suitable for applications supporting personal accounts login, contrary to current documentation

Thank you for your investigation and support.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

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.