EntraIdApiPermission

Classsealednet10.0
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
A permission, identified by name and optionally by ID, that an application requests from an API.
namespace Aspire.Hosting.Azure;
public sealed class EntraIdApiPermission
{
// ...
}
Delegated permissions are scopes that the API exposes and the application uses on behalf of a signed-in user. Application permissions are app roles that the API defines and the application uses as itself. They are different permissions, even when they share a name, and each needs its own consent. For a permission that isn't in an API's built-in list, Aspire can't check that the name and the ID belong together. The declaration uses the ID, while a delegated consent grant names the permission, so a name that doesn't match the ID would grant a permission that was never declared. Take both from the API's service principal.
View all properties
View all methods