Question

Difficulty: HardMulti-tenant Applications Configuration

A developer is implementing a partner integration service that authenticates users across several external enterprise clients using Microsoft Entra ID. The configuration must allow sign-ins from any corporate directory but must explicitly block users signing in with personal Microsoft accounts.

Which combination of the `signInAudience` value in the application manifest and the OAuth 2.0 authorization endpoint must be configured?

  1. A
    Set `signInAudience` to `AzureADMultipleOrgs` and use the `https://login.microsoftonline.com/common/oauth2/v2.0/authorize` endpoint.
  2. Set `signInAudience` to `AzureADMultipleOrgs` and use the `https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize` endpoint.Answer
  3. C
    Set `signInAudience` to `AzureADandPersonalMicrosoftAccount` and use the `https://login.microsoftonline.com/common/oauth2/v2.0/authorize` endpoint.
  4. D
    Set `signInAudience` to `AzureADMyOrg` and use the `https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize` endpoint.

Answer

Set `signInAudience` to `AzureADMultipleOrgs` and use the `https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize` endpoint.
The correct configuration is to set `signInAudience` to `AzureADMultipleOrgs` and use the `/organizations` endpoint. The `AzureADMultipleOrgs` value limits the sign-in audience to work or school accounts from any Microsoft Entra ID tenant, excluding personal accounts. Using the `/organizations` endpoint ensures that the authentication flow restricts user discovery and entry to organizational directories only.

Step-by-Step Solution

1
Determine the required user audience restriction
Identify that only organizational (work or school) accounts are allowed, and personal Microsoft accounts must be blocked.
This requirement dictates the choice of the `signInAudience` value in the application registration.
2
Select the correct `signInAudience` parameter
Configure `signInAudience` to `AzureADMultipleOrgs`.
This setting allows users from any organizational Microsoft Entra ID tenant while excluding personal Microsoft accounts.
3
Select the corresponding authority endpoint for authentication
Use the `/organizations` endpoint: `https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize`.
The `/organizations` endpoint restricts sign-in attempts to organizational tenants only. The `/common` endpoint would allow personal accounts to attempt to sign in, which does not satisfy the requirement to block them at the endpoint level.

Key Concept

Configuring multi-tenant Microsoft Entra ID application registration properties and authority endpoints to control user sign-in audience.
Rate this question