# MicrosoftGraphRequiredResourceAccess

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

Models an entry of an application's `requiredResourceAccess`: the permissions that the application declares it needs from one API.

## Definition

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

public sealed class MicrosoftGraphRequiredResourceAccess
    : Azure.Provisioning.Primitives.ProvisionableConstruct
{
    // ...
}
```

## Constructors

- [MicrosoftGraphRequiredResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphrequiredresourceaccess/constructors.md#constructor)

## Properties

- [ResourceAccess](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphrequiredresourceaccess/properties.md#resourceaccess) : `BicepList<MicrosoftGraphResourceAccess>` `get; set` -- Gets or sets the delegated permissions and application roles requested from the API.
- [ResourceAppId](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphrequiredresourceaccess/properties.md#resourceappid) : `BicepValue<string>` `get; set` -- Gets or sets the application ID of the API being requested.
