EntraIdApi

Classsealednet10.0
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
Identifies an API that is not modeled as an Aspire resource, such as Microsoft Graph, by its well-known application ID.
namespace Aspire.Hosting.Azure;
public sealed class EntraIdApi
{
// ...
}

The well-known APIs know the IDs of their most common permissions, so permissions can be requested by name. Permissions that are not in that list can be requested by supplying the permission's ID with EntraIdApiPermission.Delegated or EntraIdApiPermission.Application. To look up an ID, read the oauth2PermissionScopes (delegated) or appRoles (application) of the API's service principal in your tenant, for example with az ad sp show --id 00000003-0000-0000-c000-000000000000.

View all properties
View all methods