# MicrosoftGraphPermissionScope Properties

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

Models an entry of an application's `api.oauth2PermissionScopes`, a delegated permission that the API exposes.

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

## AdminConsentDescription

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

Gets or sets the scope's description for administrator consent.

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

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

## AdminConsentDisplayName

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

Gets or sets the scope's display name for administrator consent.

```csharp
public BicepValue<string> AdminConsentDisplayName { 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/MicrosoftGraphApiConstructs.cs)

Gets or sets the stable ID of the delegated permission.

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

Gets or sets whether the scope is available for use.

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

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

## Type

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

Gets or sets who can consent to the scope: `Admin` or `User`.

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

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

## UserConsentDescription

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

Gets or sets the scope's description for user consent.

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

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

## UserConsentDisplayName

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

Gets or sets the scope's display name for user consent.

```csharp
public BicepValue<string> UserConsentDisplayName { 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/MicrosoftGraphApiConstructs.cs)

Gets or sets the scope value included in access tokens.

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