# MicrosoftGraphResourceAccess Properties

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

Models a single permission in a [MicrosoftGraphRequiredResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphrequiredresourceaccess.md).

<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 ID of the requested scope or application role.

```csharp
public BicepValue<string> Id { 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 the permission type: `Scope` for a delegated permission or `Role` for an application role.

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