EntraIdSignInAudience

Enumnet10.0
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
Specifies which Microsoft accounts can sign in to an Entra ID application.
namespace Aspire.Hosting.Azure;
public enum EntraIdSignInAudience

The value must match the "Supported account types" setting of the app registration in the Azure portal. The names match the signInAudience property of the Microsoft Graph application resource, which stores that setting.

Microsoft.Identity.Web reads the sign-in audience from its TenantId setting. A single-tenant app uses its home tenant there. The other audiences use the keywords organizations, common, or consumers instead, and pass the home tenant as AppHomeTenantId.

AzureADMyOrg= 0
Only work or school accounts in the app's home tenant can sign in. This is the default.
AzureADMultipleOrgs= 1
Work or school accounts in any Microsoft Entra tenant can sign in.
AzureADandPersonalMicrosoftAccount= 2
Work or school accounts in any Microsoft Entra tenant, and personal Microsoft accounts, can sign in.
PersonalMicrosoftAccount= 3
Only personal Microsoft accounts, such as Outlook.com and Xbox accounts, can sign in.