# AzureConnectorNamespaceMcpAccessPolicyOptions

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

Configures a Microsoft Entra access policy for a managed MCP server configuration.

## Definition

```typescript
type AzureConnectorNamespaceMcpAccessPolicyOptions = {
  ObjectId?: string;
  TenantId?: string;
  PrincipalType?: AzureConnectorNamespaceMcpAccessPolicyPrincipalType;
}
```

## Fields

- `ObjectId`: `string` `optional`
- `TenantId`: `string` `optional`
- `PrincipalType`: [AzureConnectorNamespaceMcpAccessPolicyPrincipalType](/reference/api/typescript/aspire.hosting.azure.connectornamespace/azureconnectornamespacemcpaccesspolicyprincipaltype.md) `optional`
