# Aspire.Hosting.Azure.EntraId

- Package: `Aspire.Hosting.Azure.EntraId`
- Version: `17.0.0-preview.1.26567.5`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId)
- NuGet: [Aspire.Hosting.Azure.EntraId](https://www.nuget.org/packages/Aspire.Hosting.Azure.EntraId)

## Namespaces

### Aspire.Hosting

- [EntraIdResourceExtensions](/reference/api/csharp/aspire.hosting.azure.entraid/entraidresourceextensions.md) -- `class` `static` -- Provides extension methods for adding Microsoft Entra ID resources to the application model.

### Aspire.Hosting.Azure

- [EntraIdApi](/reference/api/csharp/aspire.hosting.azure.entraid/entraidapi.md) -- `class` `sealed` -- Identifies an API that is not modeled as an Aspire resource, such as Microsoft Graph, by its well-known application ID.
- [EntraIdApiPermission](/reference/api/csharp/aspire.hosting.azure.entraid/entraidapipermission.md) -- `class` `sealed` -- A permission, identified by name and optionally by ID, that an application requests from an API.
- [EntraIdApplicationResource](/reference/api/csharp/aspire.hosting.azure.entraid/entraidapplicationresource.md) -- `class` `ats export` -- A resource that represents a Microsoft Entra ID application registration.
- [EntraIdAppRole](/reference/api/csharp/aspire.hosting.azure.entraid/entraidapprole.md) -- `class` `sealed` -- Describes an application role declared on a Microsoft Entra ID application registration created by Aspire.
- [EntraIdClientCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidclientcredential.md) -- `class` `abstract` -- Base class for client credential entries in an Entra ID application registration.
- [EntraIdClientSecretCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidclientsecretcredential.md) -- `class` `sealed` -- A client secret credential for an Entra ID application.
- [EntraIdFederatedIdentityCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidfederatedidentitycredential.md) -- `class` `sealed` -- A federated identity credential (FIC) with managed identity for an Entra ID application.
- [EntraIdFileCertificateCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidfilecertificatecredential.md) -- `class` `sealed` -- A certificate credential from a file on disk for an Entra ID application.
- [EntraIdKeyVaultCertificateCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidkeyvaultcertificatecredential.md) -- `class` `sealed` -- A certificate credential from Azure Key Vault for an Entra ID application.
- [EntraIdPermissionType](/reference/api/csharp/aspire.hosting.azure.entraid/entraidpermissiontype.md) -- `enum` -- The kind of permission that an application requests from an API.
- [EntraIdScope](/reference/api/csharp/aspire.hosting.azure.entraid/entraidscope.md) -- `class` `sealed` -- Describes a delegated permission scope that an API registration created by Aspire exposes.
- [EntraIdSignedAssertionFileCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidsignedassertionfilecredential.md) -- `class` `sealed` -- A signed assertion file credential for an Entra ID application (e.g., AKS workload identity).
- [EntraIdSignInAudience](/reference/api/csharp/aspire.hosting.azure.entraid/entraidsigninaudience.md) -- `enum` -- Specifies which Microsoft accounts can sign in to an Entra ID application.
- [EntraIdStoreCertificateCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidstorecertificatecredential.md) -- `class` `sealed` -- A certificate credential from the certificate store for an Entra ID application.

### Aspire.Hosting.Azure.EntraId.Provisioning

- [MicrosoftGraphApplication](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication.md) -- `class` `sealed` -- Models the Microsoft Graph application properties used by Entra registration provisioning.
- [MicrosoftGraphAppRole](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapprole.md) -- `class` `sealed` -- Models an application role declared on a Microsoft Graph application.
- [MicrosoftGraphAppRoleAssignedTo](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapproleassignedto.md) -- `class` `sealed` -- Models an app role assignment ( `appRoleAssignedTo`) that grants an application permission of an API to a client service principal.
- [MicrosoftGraphExistingServicePrincipal](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphexistingserviceprincipal.md) -- `class` `sealed` -- References a service principal that already exists in the tenant, addressed by its application (client) ID.
- [MicrosoftGraphFederatedIdentityCredential](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphfederatedidentitycredential.md) -- `class` `sealed` -- Models a federated identity credential on an Entra application registration.
- [MicrosoftGraphKeyCredential](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphkeycredential.md) -- `class` `sealed` -- Models a public certificate credential declared on a Microsoft Graph application.
- [MicrosoftGraphOAuth2PermissionGrant](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphoauth2permissiongrant.md) -- `class` `sealed` -- Models a delegated permission grant ( `oauth2PermissionGrant`) that consents to scopes of an API on behalf of users.
- [MicrosoftGraphPermissionScope](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphpermissionscope.md) -- `class` `sealed` -- Models an entry of an application's `api.oauth2PermissionScopes`, a delegated permission that the API exposes.
- [MicrosoftGraphPreAuthorizedApplication](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphpreauthorizedapplication.md) -- `class` `sealed` -- Models an entry of an application's `api.preAuthorizedApplications`, a client application that is authorized to request delegated permissions of the API without user or admin consent prompts.
- [MicrosoftGraphRequiredResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphrequiredresourceaccess.md) -- `class` `sealed` -- Models an entry of an application's `requiredResourceAccess`: the permissions that the application declares it needs from one API.
- [MicrosoftGraphResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphresourceaccess.md) -- `class` `sealed` -- Models a single permission in a [MicrosoftGraphRequiredResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphrequiredresourceaccess.md).
- [MicrosoftGraphServicePrincipal](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphserviceprincipal.md) -- `class` `sealed` -- Models the service principal created for an Entra application registration.
