AzureConnectorNamespaceMcpAccessPolicyOptions

Struct
📦 Aspire.Hosting.Azure.ConnectorNamespace v17.0.0-preview.1.26567.5

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

type AzureConnectorNamespaceMcpAccessPolicyOptions struct {
ObjectId string `json:"ObjectId"`
TenantId string `json:"TenantId"`
PrincipalType AzureConnectorNamespaceMcpAccessPolicyPrincipalType `json:"PrincipalType"`
}

Fields

ObjectIdstring
Gets or sets the Microsoft Entra object ID authorized to call the MCP server.
TenantIdstring
Gets or sets the Microsoft Entra tenant ID for ObjectId.
PrincipalTypeAzureConnectorNamespaceMcpAccessPolicyPrincipalType
Gets or sets whether ObjectId identifies a user or group.