# addSiteAuthSettingsV2

- Module: [Aspire.Hosting.Azure.Provisioning.AppService](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Adds a SiteAuthSettingsV2 provisioning model.

## Definition

```typescript
interface AzureResourceInfrastructure {
  // ... omitted for brevity
  addSiteAuthSettingsV2(
    bicepIdentifier: string,
    resourceVersion?: string): SiteAuthSettingsV2Proxy
}
```

## Parameters

- `bicepIdentifier` (`string`)
- `resourceVersion` (`string`) `optional`

## Returns

[SiteAuthSettingsV2Proxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteauthsettingsv2proxy.md)

## Applies to

- [AzureResourceInfrastructure](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/azureresourceinfrastructure.md)
