# AzureConnectorNamespaceAccessPolicyOptions

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

Configures a Microsoft Entra access policy for a Connector Namespace connection.

## Definition

```go
type AzureConnectorNamespaceAccessPolicyOptions struct {
    PolicyName *string `json:"PolicyName"`
    ObjectId   string  `json:"ObjectId"`
    TenantId   string  `json:"TenantId"`
}
```

## Fields

- `PolicyName`: `*string` -- Gets or sets the Azure child resource name. The Aspire resource name is used when omitted.
- `ObjectId`: `string` -- Gets or sets the Microsoft Entra object ID authorized to use the connection.
- `TenantId`: `string` -- Gets or sets the Microsoft Entra tenant ID for `ObjectId`.
