# MicrosoftGraphPreAuthorizedApplication

- 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 `api.preAuthorizedApplications`, a client application that is authorized to request delegated permissions of the API without user or admin consent prompts.

## Definition

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

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

## Constructors

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

## Properties

- [AppId](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphpreauthorizedapplication/properties.md#appid) : `BicepValue<string>` `get; set` -- Gets or sets the pre-authorized client's application ID.
- [DelegatedPermissionIds](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphpreauthorizedapplication/properties.md#delegatedpermissionids) : `BicepList<string>` `get; set` -- Gets or sets the IDs of scopes the client can request without consent prompts.
