# MicrosoftGraphApplication

- Kind: `class`
- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure.EntraId.Provisioning`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)
- Inherits: `ProvisionableResource`

Models the Microsoft Graph application properties used by Entra registration provisioning.

## Definition

```csharp
namespace Aspire.Hosting.Azure.EntraId.Provisioning;

public sealed class MicrosoftGraphApplication
    : Azure.Provisioning.Primitives.ProvisionableResource
{
    // ...
}
```

## Remarks

Retrieve this model from `GetProvisionableResources()` in a `ConfigureInfrastructure` callback to customize a registration created by Aspire. See [https://learn.microsoft.com/graph/templates/bicep/reference/applications](https://learn.microsoft.com/graph/templates/bicep/reference/applications).

## Constructors

- [MicrosoftGraphApplication(string)](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/constructors.md#constructor-string) -- Models the Microsoft Graph application properties used by Entra registration provisioning.

## Properties

- [AppId](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#appid) : `BicepValue<string>` `get` -- Gets the application (client) ID assigned by Microsoft Entra ID.
- [AppRoles](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#approles) : `BicepList<MicrosoftGraphAppRole>` `get; set` -- Gets or sets the application roles exposed by the application.
- [Description](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#description) : `BicepValue<string>` `get; set` -- Gets or sets a description of the application, shown to end users. The maximum length is 1,024 characters.
- [DisplayName](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#displayname) : `BicepValue<string>` `get; set` -- Gets or sets the application's display name.
- [EnableAccessTokenIssuance](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#enableaccesstokenissuance) : `BicepValue<bool>` `get; set` -- Gets or sets whether the authorization endpoint can issue access tokens through implicit or hybrid flows.
- [EnableIdTokenIssuance](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#enableidtokenissuance) : `BicepValue<bool>` `get; set` -- Gets or sets whether the authorization endpoint can issue ID tokens through implicit or hybrid flows.
- [GroupMembershipClaims](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#groupmembershipclaims) : `BicepValue<string>` `get; set` -- Gets or sets the groups claim that tokens for this application contain: `None`, `SecurityGroup`, or `All`.
- [HomePageUrl](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#homepageurl) : `BicepValue<string>` `get; set` -- Gets or sets the URL of the web application's home page.
- [Id](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#id) : `BicepValue<string>` `get` -- Gets the application's directory object ID.
- [IdentifierUris](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#identifieruris) : `BicepList<string>` `get; set` -- Gets or sets the application ID URIs used as prefixes for this API's scopes.
- [IsFallbackPublicClient](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#isfallbackpublicclient) : `BicepValue<bool>` `get; set` -- Gets or sets whether the application is treated as a public client when Microsoft Entra ID can't determine its type.
- [KeyCredentials](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#keycredentials) : `BicepList<MicrosoftGraphKeyCredential>` `get; set` -- Gets or sets the application's public certificate credentials.
- [LogoutUrl](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#logouturl) : `BicepValue<string>` `get; set` -- Gets or sets the URL that Microsoft Entra ID uses to sign users out of the web application.
- [Notes](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#notes) : `BicepValue<string>` `get; set` -- Gets or sets notes for managing the application.
- [Owners](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#owners) : `BicepList<string>` `get; set` -- Gets or sets the directory object IDs of the application's owners.
- [PermissionScopes](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#permissionscopes) : `BicepList<MicrosoftGraphPermissionScope>` `get; set` -- Gets or sets the delegated permissions exposed by this API.
- [PreAuthorizedApplications](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#preauthorizedapplications) : `BicepList<MicrosoftGraphPreAuthorizedApplication>` `get; set` -- Gets or sets the client applications pre-authorized to request this API's delegated permissions.
- [PublicClientRedirectUris](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#publicclientredirecturis) : `BicepList<string>` `get; set` -- Gets or sets the redirect URIs of the installed (desktop or mobile) client application.
- [RedirectUris](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#redirecturis) : `BicepList<string>` `get; set` -- Gets or sets the web application's redirect URIs.
- [RequestedAccessTokenVersion](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#requestedaccesstokenversion) : `BicepValue<int>` `get; set` -- Gets or sets the access token version requested by this API.
- [RequiredResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#requiredresourceaccess) : `BicepList<MicrosoftGraphRequiredResourceAccess>` `get; set` -- Gets or sets the API permissions requested by the application.
- [ServiceManagementReference](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#servicemanagementreference) : `BicepValue<string>` `get; set` -- Gets or sets the reference to application or service contact information in a service or asset management database.
- [SignInAudience](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#signinaudience) : `BicepValue<string>` `get; set` -- Gets or sets the supported Microsoft account types.
- [SpaRedirectUris](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#sparedirecturis) : `BicepList<string>` `get; set` -- Gets or sets the redirect URIs of the single-page application.
- [Tags](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#tags) : `BicepList<string>` `get; set` -- Gets or sets the custom strings used to categorize the application.
- [UniqueName](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#uniquename) : `BicepValue<string>` `get; set` -- Gets or sets the immutable alternate key used to identify the application across deployments.
