# MicrosoftGraphAppRole Properties

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

Models an application role declared on a Microsoft Graph application.

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

## AllowedMemberTypes

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

Gets or sets who can receive the role: `User`, `Application`, or both.

```csharp
public BicepList<string> AllowedMemberTypes { 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/MicrosoftGraphAppRole.cs)

Gets or sets the role's description.

```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/MicrosoftGraphAppRole.cs)

Gets or sets the role's display name.

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

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

## Id

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

Gets or sets the stable ID of the application role.

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

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

## IsEnabled

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

Gets or sets whether the role is available for assignment.

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

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

## Value

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

Gets or sets the role value included in access tokens.

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