EntraIdSignInAudience
Enumnet10.0
Specifies which Microsoft accounts can sign in to an Entra ID application.
namespace Aspire.Hosting.Azure;
public enum EntraIdSignInAudienceRemarks
Section titled Remarks The value must match the "Supported account types" setting of the app registration in the Azure portal. The names match the sign property of the Microsoft Graph application resource, which stores that setting.
Microsoft.Identity.Web reads the sign-in audience from its Tenant 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 App.
Enum Members
Section titled Enum MembersAzureADMyOrgOnly work or school accounts in the app's home tenant can sign in. This is the default.
AzureADMultipleOrgsWork or school accounts in any Microsoft Entra tenant can sign in.
AzureADandPersonalMicrosoftAccountWork or school accounts in any Microsoft Entra tenant, and personal Microsoft accounts, can sign in.
PersonalMicrosoftAccountOnly personal Microsoft accounts, such as Outlook.com and Xbox accounts, can sign in.