EntraIdAppRole Properties
ClassProperties6 members
Describes an application role declared on a Microsoft Entra ID application registration created by Aspire.
Gets the member types the role can be assigned to, passed through to Microsoft Graph (for example
User or Application). public IReadOnlyList<string> AllowedMemberTypes { get; } Gets the description shown in assignment and consent experiences.
public string Description { get; } Gets the display name shown in the Microsoft Entra admin center.
public string DisplayName { get; } Gets the explicitly configured role ID, or
null when the ID is derived from the application name and role value. public Guid? Id { get; } Gets whether the role can be assigned to new principals. A disabled role is still issued in tokens for existing assignments, so this is not access revocation. Microsoft Graph requires a role to be disabled before it is removed.
public bool IsEnabled { get; } Gets the value emitted in the
roles claim of tokens issued with this role. public string Value { get; }