# EntraIdTokenExchangeOptions

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

Optional token exchange settings for a pre-existing managed identity federation trust.

## Definition

```typescript
type EntraIdTokenExchangeOptions = {
  TokenExchangeUrl?: string;
  TokenExchangeAuthority?: string;
}
```

## Fields

- `TokenExchangeUrl`: `string` `optional`
- `TokenExchangeAuthority`: `string` `optional`
