# MicrosoftGraphApplication Constructors

- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Type: [MicrosoftGraphApplication](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphapplication.md)
- Kind: `Constructors`
- Members: `1`

Models the Microsoft Graph application properties used by Entra registration provisioning.

<a id="constructor"></a>
<a id="constructor-string"></a>

## MicrosoftGraphApplication(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphApplication.cs#L19)

Models the Microsoft Graph application properties used by Entra registration provisioning.

```csharp
public sealed class MicrosoftGraphApplication
{
    public MicrosoftGraphApplication(
        string bicepIdentifier)
    {
        // ...
    }
}
```

## Parameters

- `bicepIdentifier` (`string`)
  The resource's identifier in the Bicep module.

## Remarks

Retrieve this model from `GetProvisionableResources()` in a `ConfigureInfrastructure` callback to customize a registration created by Aspire. See [https://learn.microsoft.com/graph/templates/bicep/reference/applications](https://learn.microsoft.com/graph/templates/bicep/reference/applications).
