# MicrosoftGraphApplication Properties

- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Type: [MicrosoftGraphApplication](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication.md)
- Kind: `Properties`
- Members: `26`

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

<a id="appid"></a>

## AppId

- Name: `AppId`
- Modifiers: `get`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs#L31)

Gets the application (client) ID assigned by Microsoft Entra ID.

```csharp
public BicepValue<string> AppId { get; }
```

<a id="approles"></a>

## AppRoles

- Name: `AppRoles`
- Modifiers: `get; set`
- Returns: `BicepList<MicrosoftGraphAppRole>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the application roles exposed by the application.

```csharp
public BicepList<MicrosoftGraphAppRole> AppRoles { get; set; }
```

<a id="description"></a>

## Description

- Name: `Description`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets a description of the application, shown to end users. The maximum length is 1,024 characters.

```csharp
public BicepValue<string> Description { get; set; }
```

<a id="displayname"></a>

## DisplayName

- Name: `DisplayName`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the application's display name.

```csharp
public BicepValue<string> DisplayName { get; set; }
```

## Remarks

An API registration that uses the default application ID URI declares the application a second time to set that URI. That declaration repeats [MicrosoftGraphApplication.DisplayName](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#displayname) and [MicrosoftGraphApplication.UniqueName](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#uniquename), so change them on every [MicrosoftGraphApplication](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication.md) in the infrastructure, or the second declaration reverts the display name and a different unique name targets another registration.

<a id="enableaccesstokenissuance"></a>

## EnableAccessTokenIssuance

- Name: `EnableAccessTokenIssuance`
- Modifiers: `get; set`
- Returns: `BicepValue<bool>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets whether the authorization endpoint can issue access tokens through implicit or hybrid flows.

```csharp
public BicepValue<bool> EnableAccessTokenIssuance { get; set; }
```

<a id="enableidtokenissuance"></a>

## EnableIdTokenIssuance

- Name: `EnableIdTokenIssuance`
- Modifiers: `get; set`
- Returns: `BicepValue<bool>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets whether the authorization endpoint can issue ID tokens through implicit or hybrid flows.

```csharp
public BicepValue<bool> EnableIdTokenIssuance { get; set; }
```

<a id="groupmembershipclaims"></a>

## GroupMembershipClaims

- Name: `GroupMembershipClaims`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the groups claim that tokens for this application contain: `None`, `SecurityGroup`, or `All`.

```csharp
public BicepValue<string> GroupMembershipClaims { get; set; }
```

<a id="homepageurl"></a>

## HomePageUrl

- Name: `HomePageUrl`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the URL of the web application's home page.

```csharp
public BicepValue<string> HomePageUrl { get; set; }
```

<a id="id"></a>

## Id

- Name: `Id`
- Modifiers: `get`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs#L24)

Gets the application's directory object ID.

```csharp
public BicepValue<string> Id { get; }
```

<a id="identifieruris"></a>

## IdentifierUris

- Name: `IdentifierUris`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the application ID URIs used as prefixes for this API's scopes.

```csharp
public BicepList<string> IdentifierUris { get; set; }
```

<a id="isfallbackpublicclient"></a>

## IsFallbackPublicClient

- Name: `IsFallbackPublicClient`
- Modifiers: `get; set`
- Returns: `BicepValue<bool>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets whether the application is treated as a public client when Microsoft Entra ID can't determine its type.

```csharp
public BicepValue<bool> IsFallbackPublicClient { get; set; }
```

<a id="keycredentials"></a>

## KeyCredentials

- Name: `KeyCredentials`
- Modifiers: `get; set`
- Returns: `BicepList<MicrosoftGraphKeyCredential>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the application's public certificate credentials.

```csharp
public BicepList<MicrosoftGraphKeyCredential> KeyCredentials { get; set; }
```

<a id="logouturl"></a>

## LogoutUrl

- Name: `LogoutUrl`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the URL that Microsoft Entra ID uses to sign users out of the web application.

```csharp
public BicepValue<string> LogoutUrl { get; set; }
```

<a id="notes"></a>

## Notes

- Name: `Notes`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets notes for managing the application.

```csharp
public BicepValue<string> Notes { get; set; }
```

<a id="owners"></a>

## Owners

- Name: `Owners`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the directory object IDs of the application's owners.

```csharp
public BicepList<string> Owners { get; set; }
```

<a id="permissionscopes"></a>

## PermissionScopes

- Name: `PermissionScopes`
- Modifiers: `get; set`
- Returns: `BicepList<MicrosoftGraphPermissionScope>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the delegated permissions exposed by this API.

```csharp
public BicepList<MicrosoftGraphPermissionScope> PermissionScopes { get; set; }
```

<a id="preauthorizedapplications"></a>

## PreAuthorizedApplications

- Name: `PreAuthorizedApplications`
- Modifiers: `get; set`
- Returns: `BicepList<MicrosoftGraphPreAuthorizedApplication>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the client applications pre-authorized to request this API's delegated permissions.

```csharp
public BicepList<MicrosoftGraphPreAuthorizedApplication> PreAuthorizedApplications { get; set; }
```

<a id="publicclientredirecturis"></a>

## PublicClientRedirectUris

- Name: `PublicClientRedirectUris`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the redirect URIs of the installed (desktop or mobile) client application.

```csharp
public BicepList<string> PublicClientRedirectUris { get; set; }
```

<a id="redirecturis"></a>

## RedirectUris

- Name: `RedirectUris`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the web application's redirect URIs.

```csharp
public BicepList<string> RedirectUris { get; set; }
```

<a id="requestedaccesstokenversion"></a>

## RequestedAccessTokenVersion

- Name: `RequestedAccessTokenVersion`
- Modifiers: `get; set`
- Returns: `BicepValue<int>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the access token version requested by this API.

```csharp
public BicepValue<int> RequestedAccessTokenVersion { get; set; }
```

<a id="requiredresourceaccess"></a>

## RequiredResourceAccess

- Name: `RequiredResourceAccess`
- Modifiers: `get; set`
- Returns: `BicepList<MicrosoftGraphRequiredResourceAccess>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the API permissions requested by the application.

```csharp
public BicepList<MicrosoftGraphRequiredResourceAccess> RequiredResourceAccess { get; set; }
```

<a id="servicemanagementreference"></a>

## ServiceManagementReference

- Name: `ServiceManagementReference`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the reference to application or service contact information in a service or asset management database.

```csharp
public BicepValue<string> ServiceManagementReference { get; set; }
```

<a id="signinaudience"></a>

## SignInAudience

- Name: `SignInAudience`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the supported Microsoft account types.

```csharp
public BicepValue<string> SignInAudience { get; set; }
```

<a id="sparedirecturis"></a>

## SpaRedirectUris

- Name: `SpaRedirectUris`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the redirect URIs of the single-page application.

```csharp
public BicepList<string> SpaRedirectUris { get; set; }
```

<a id="tags"></a>

## Tags

- Name: `Tags`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the custom strings used to categorize the application.

```csharp
public BicepList<string> Tags { get; set; }
```

## Remarks

Microsoft Graph tags are a string collection, not Azure Resource Manager key/value tags.

<a id="uniquename"></a>

## UniqueName

- Name: `UniqueName`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs)

Gets or sets the immutable alternate key used to identify the application across deployments.

```csharp
public BicepValue<string> UniqueName { get; set; }
```

## Remarks

See [MicrosoftGraphApplication.DisplayName](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication/properties.md#displayname) for the second declaration of API registrations.
