# MicrosoftGraphAppRoleAssignedToProxy.addTo

- Module: [Aspire.Hosting.Azure.Provisioning.EntraId](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid.md)
- Defined on: [MicrosoftGraphAppRoleAssignedToProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphapproleassignedtoproxy.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Adds this provisioning resource to the Azure resource infrastructure.

## Definition

```typescript
interface MicrosoftGraphAppRoleAssignedToProxy {
  // ... omitted for brevity
  addTo(infrastructure: AzureResourceInfrastructure): void;
}
```

## Signature

```typescript
addTo(infrastructure: AzureResourceInfrastructure): void
```

## Parameters

- `infrastructure` (`AzureResourceInfrastructure`)

## Defined on

- [MicrosoftGraphAppRoleAssignedToProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphapproleassignedtoproxy.md) -- `handle`
