Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The agents resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.App/agents resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.App/agents@2026-07-01' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
actionConfiguration: {
accessLevel: 'string'
identity: 'string'
mode: 'string'
}
agentIdentity: {
initialSponsorGroupId: 'string'
}
defaultModel: {
name: 'string'
provider: 'string'
}
incidentManagementConfiguration: {
connectionKey: 'string'
connectionName: 'string'
connectionUrl: 'string'
oboUser: 'string'
type: 'string'
}
knowledgeGraphConfiguration: {
identity: 'string'
managedResources: [
'string'
]
}
logConfiguration: {
applicationInsightsConfiguration: {
appId: 'string'
connectionString: 'string'
}
}
sandboxConfiguration: {
egress: {
allowedCodeRepositories: [
'string'
]
allowedHosts: [
'string'
]
allowedRegistries: [
'string'
]
allowHttpMcpServerNetworkAccess: bool
httpProxy: {
httpsUrl: 'string'
httpUrl: 'string'
noProxy: [
'string'
]
}
mode: 'string'
}
packages: [
{
name: 'string'
packageManager: 'string'
version: 'string'
}
]
}
upgradeChannel: 'string'
vnetConfiguration: {
subnetResourceId: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.App/agents
| Name | Description | Value |
|---|---|---|
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[A-Za-z]([-A-Za-z0-9]{0,30}[A-Za-z0-9])$ (required) |
| properties | The resource-specific properties for this resource. | AgentProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ActionConfiguration
| Name | Description | Value |
|---|---|---|
| accessLevel | The access level of the action | 'High' 'Low' |
| identity | The identity used by the action | string |
| mode | The mode of the action | 'Autonomous' 'ReadOnly' 'Review' |
AgentIdentity
| Name | Description | Value |
|---|---|---|
| initialSponsorGroupId | Initial sponsor group ID (required for agent identity) | string (required) |
AgentProperties
| Name | Description | Value |
|---|---|---|
| actionConfiguration | Configuration for action | ActionConfiguration |
| agentIdentity | Agent identity configuration for accessing resources | AgentIdentity |
| defaultModel | Default AI model configuration for the agent | DefaultModel |
| incidentManagementConfiguration | Incident management configurations | IncidentManagementConfiguration |
| knowledgeGraphConfiguration | Knowledge graph configuration for agent | KnowledgeGraphConfiguration |
| logConfiguration | Log configurations | LogConfiguration |
| sandboxConfiguration | Desired sandbox configuration. PUT represents the complete desired configuration and does not preserve an existing value when this property is omitted. Use PATCH to preserve the stored configuration while updating other properties. |
SandboxConfiguration |
| upgradeChannel | The upgrade channel of the agent | 'Preview' 'Stable' |
| vnetConfiguration | Desired virtual network configuration. A subnet and AzureVNet egress mode must be configured together. Use PATCH for selective updates. Omitting networking settings from PUT can clear them or fail validation. |
VnetConfiguration |
ApplicationInsightsConfiguration
| Name | Description | Value |
|---|---|---|
| appId | The Application ID for the Application Insights resource | string |
| connectionString | The connection string supplied when creating or updating the Application Insights configuration. | string Constraints: Sensitive value. Pass in as a secure parameter. |
DefaultModel
| Name | Description | Value |
|---|---|---|
| name | Model name (e.g., gpt-5, claude-opus-4-5, claude-sonnet-4-5) | string |
| provider | AI provider name (e.g., MicrosoftFoundry, Anthropic) | string |
IncidentManagementConfiguration
| Name | Description | Value |
|---|---|---|
| connectionKey | The key supplied when creating or updating the connection. | string Constraints: Sensitive value. Pass in as a secure parameter. |
| connectionName | The name of the connection | string |
| connectionUrl | The URL of the connection | string |
| oboUser | The user for the connection | string |
| type | The type of incident management system | string |
KnowledgeGraphConfiguration
| Name | Description | Value |
|---|---|---|
| identity | The identity used to access the knowledge graph | string |
| managedResources | The list of resources managed by agent | string[] |
LogConfiguration
| Name | Description | Value |
|---|---|---|
| applicationInsightsConfiguration | Application Insights Configuration | ApplicationInsightsConfiguration |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| Name | Description | Value |
|---|
SandboxConfiguration
| Name | Description | Value |
|---|---|---|
| egress | Sandbox egress configuration. In PATCH, omission preserves egress and JSON merge-patch null clears it. Clearing egress is invalid while a subnet remains configured. |
SandboxEgressConfiguration |
| packages | Packages to preinstall in the sandbox. In PATCH, omission preserves the package list. A supplied array replaces the entire list; JSON merge-patch null clears it. An empty array selects no packages. Each supplied package must include its name and package manager. |
SandboxPackageSpec[] |
SandboxEgressConfiguration
| Name | Description | Value |
|---|---|---|
| allowedCodeRepositories | Code repository provider identifiers allowed on the managed network path. Values are matched case-sensitively. Known values are 'Github', 'GithubEnterprise', 'AzureDevOps' and 'GitLab'. The service validates the values. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string[] |
| allowedHosts | Additional hostnames allowed on the managed network path. Entries are DNS hostnames or leading wildcard patterns such as '.example.com'; a bare '' is invalid. Each entry has at most 253 characters and each DNS label at most 63 characters. Wildcard patterns must contain at least two labels after '*.'. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string Constraints: Min length = 1 Max length = 253 Pattern = ^(\*\.(?=[^.]+\.))?[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$[] |
| allowedRegistries | Package registry identifiers allowed on the managed network path. Values are matched without regard to case. Known values are 'pypi', 'npmjs', 'nuget-org' and 'ubuntu'. The service validates the values. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string[] |
| allowHttpMcpServerNetworkAccess | Whether remote HTTP MCP servers can use the managed network path. In PATCH, omission preserves the setting and JSON merge-patch null clears it. |
bool |
| httpProxy | Forward-proxy configuration for sandbox outbound requests. Used only when forward-proxy support is enabled for the Agent and the egress mode is AzureVNet. Supplying this configuration does not enable forward-proxy support. In PATCH, omission preserves the configuration, JSON merge-patch null clears it, and a supplied object merges its members. The resulting proxy configuration must include httpsUrl. |
SandboxHttpProxyConfiguration |
| mode | Sandbox egress mode. AzureVNet requires a subnet, and a configured subnet requires AzureVNet. In PATCH, omission preserves the mode and JSON merge-patch null clears it. Clearing the mode is invalid while a subnet remains configured. No unconditional default applies. |
'AzureVNet' 'Limited' 'Unrestricted' |
SandboxHttpProxyConfiguration
| Name | Description | Value |
|---|---|---|
| httpsUrl | Proxy endpoint used for HTTPS destinations and CONNECT tunneling. Required whenever a proxy configuration is stored. The proxy URL itself must use http:// for CONNECT tunneling and must be an origin with a host. Credentials, paths other than '/', query strings, fragments, and ports 0, 80, and 443 are not supported. In PATCH, omission preserves the endpoint. |
string |
| httpUrl | Optional proxy endpoint used for HTTP destinations. When set, it must be the same proxy origin as httpsUrl; different HTTP and HTTPS proxies are not supported. The value must be an absolute http:// origin with a host. Credentials, paths other than '/', query strings, fragments, and ports 0, 80, and 443 are not supported. In PATCH, omission preserves the endpoint and JSON merge-patch null clears it. |
string |
| noProxy | Additional destinations that bypass the forward proxy. Entries can be DNS hostnames, leading-dot or '.' suffix patterns, or exact IPv4 addresses. CIDR blocks, IPv6 addresses, ports, empty entries, and a bare '' are invalid. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string Constraints: Min length = 1[] |
SandboxPackageSpec
| Name | Description | Value |
|---|---|---|
| name | Package name, optionally including a scope or namespace prefix. | string Constraints: Min length = 1 Max length = 214 Pattern = ^@?[A-Za-z0-9][A-Za-z0-9._-]*(/[A-Za-z0-9][A-Za-z0-9._-]*)?$ (required) |
| packageManager | Package manager used to install the package. Values are case-sensitive. | 'npm' 'nuget' 'pip' (required) |
| version | Optional package version or version constraint. Omit it to leave the version unspecified. | string Constraints: Min length = 1 Max length = 64 Pattern = ^[A-Za-z0-9._+\-~^<>=,*\[\]()]+$ |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|
VnetConfiguration
| Name | Description | Value |
|---|---|---|
| subnetResourceId | Azure resource ID of the subnet used with AzureVNet egress mode. In PATCH, omission preserves the subnet and JSON merge-patch null clears it. Setting or replacing a subnet requires the resulting egress mode to be AzureVNet. When clearing the subnet, also update sandbox egress in the same PATCH request so the resulting mode is not AzureVNet. The detach example explicitly selects Limited. |
string |
ARM template resource definition
The agents resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.App/agents resource, add the following JSON to your template.
{
"type": "Microsoft.App/agents",
"apiVersion": "2026-07-01",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"actionConfiguration": {
"accessLevel": "string",
"identity": "string",
"mode": "string"
},
"agentIdentity": {
"initialSponsorGroupId": "string"
},
"defaultModel": {
"name": "string",
"provider": "string"
},
"incidentManagementConfiguration": {
"connectionKey": "string",
"connectionName": "string",
"connectionUrl": "string",
"oboUser": "string",
"type": "string"
},
"knowledgeGraphConfiguration": {
"identity": "string",
"managedResources": [ "string" ]
},
"logConfiguration": {
"applicationInsightsConfiguration": {
"appId": "string",
"connectionString": "string"
}
},
"sandboxConfiguration": {
"egress": {
"allowedCodeRepositories": [ "string" ],
"allowedHosts": [ "string" ],
"allowedRegistries": [ "string" ],
"allowHttpMcpServerNetworkAccess": "bool",
"httpProxy": {
"httpsUrl": "string",
"httpUrl": "string",
"noProxy": [ "string" ]
},
"mode": "string"
},
"packages": [
{
"name": "string",
"packageManager": "string",
"version": "string"
}
]
},
"upgradeChannel": "string",
"vnetConfiguration": {
"subnetResourceId": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.App/agents
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-07-01' |
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[A-Za-z]([-A-Za-z0-9]{0,30}[A-Za-z0-9])$ (required) |
| properties | The resource-specific properties for this resource. | AgentProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.App/agents' |
ActionConfiguration
| Name | Description | Value |
|---|---|---|
| accessLevel | The access level of the action | 'High' 'Low' |
| identity | The identity used by the action | string |
| mode | The mode of the action | 'Autonomous' 'ReadOnly' 'Review' |
AgentIdentity
| Name | Description | Value |
|---|---|---|
| initialSponsorGroupId | Initial sponsor group ID (required for agent identity) | string (required) |
AgentProperties
| Name | Description | Value |
|---|---|---|
| actionConfiguration | Configuration for action | ActionConfiguration |
| agentIdentity | Agent identity configuration for accessing resources | AgentIdentity |
| defaultModel | Default AI model configuration for the agent | DefaultModel |
| incidentManagementConfiguration | Incident management configurations | IncidentManagementConfiguration |
| knowledgeGraphConfiguration | Knowledge graph configuration for agent | KnowledgeGraphConfiguration |
| logConfiguration | Log configurations | LogConfiguration |
| sandboxConfiguration | Desired sandbox configuration. PUT represents the complete desired configuration and does not preserve an existing value when this property is omitted. Use PATCH to preserve the stored configuration while updating other properties. |
SandboxConfiguration |
| upgradeChannel | The upgrade channel of the agent | 'Preview' 'Stable' |
| vnetConfiguration | Desired virtual network configuration. A subnet and AzureVNet egress mode must be configured together. Use PATCH for selective updates. Omitting networking settings from PUT can clear them or fail validation. |
VnetConfiguration |
ApplicationInsightsConfiguration
| Name | Description | Value |
|---|---|---|
| appId | The Application ID for the Application Insights resource | string |
| connectionString | The connection string supplied when creating or updating the Application Insights configuration. | string Constraints: Sensitive value. Pass in as a secure parameter. |
DefaultModel
| Name | Description | Value |
|---|---|---|
| name | Model name (e.g., gpt-5, claude-opus-4-5, claude-sonnet-4-5) | string |
| provider | AI provider name (e.g., MicrosoftFoundry, Anthropic) | string |
IncidentManagementConfiguration
| Name | Description | Value |
|---|---|---|
| connectionKey | The key supplied when creating or updating the connection. | string Constraints: Sensitive value. Pass in as a secure parameter. |
| connectionName | The name of the connection | string |
| connectionUrl | The URL of the connection | string |
| oboUser | The user for the connection | string |
| type | The type of incident management system | string |
KnowledgeGraphConfiguration
| Name | Description | Value |
|---|---|---|
| identity | The identity used to access the knowledge graph | string |
| managedResources | The list of resources managed by agent | string[] |
LogConfiguration
| Name | Description | Value |
|---|---|---|
| applicationInsightsConfiguration | Application Insights Configuration | ApplicationInsightsConfiguration |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| Name | Description | Value |
|---|
SandboxConfiguration
| Name | Description | Value |
|---|---|---|
| egress | Sandbox egress configuration. In PATCH, omission preserves egress and JSON merge-patch null clears it. Clearing egress is invalid while a subnet remains configured. |
SandboxEgressConfiguration |
| packages | Packages to preinstall in the sandbox. In PATCH, omission preserves the package list. A supplied array replaces the entire list; JSON merge-patch null clears it. An empty array selects no packages. Each supplied package must include its name and package manager. |
SandboxPackageSpec[] |
SandboxEgressConfiguration
| Name | Description | Value |
|---|---|---|
| allowedCodeRepositories | Code repository provider identifiers allowed on the managed network path. Values are matched case-sensitively. Known values are 'Github', 'GithubEnterprise', 'AzureDevOps' and 'GitLab'. The service validates the values. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string[] |
| allowedHosts | Additional hostnames allowed on the managed network path. Entries are DNS hostnames or leading wildcard patterns such as '.example.com'; a bare '' is invalid. Each entry has at most 253 characters and each DNS label at most 63 characters. Wildcard patterns must contain at least two labels after '*.'. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string Constraints: Min length = 1 Max length = 253 Pattern = ^(\*\.(?=[^.]+\.))?[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$[] |
| allowedRegistries | Package registry identifiers allowed on the managed network path. Values are matched without regard to case. Known values are 'pypi', 'npmjs', 'nuget-org' and 'ubuntu'. The service validates the values. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string[] |
| allowHttpMcpServerNetworkAccess | Whether remote HTTP MCP servers can use the managed network path. In PATCH, omission preserves the setting and JSON merge-patch null clears it. |
bool |
| httpProxy | Forward-proxy configuration for sandbox outbound requests. Used only when forward-proxy support is enabled for the Agent and the egress mode is AzureVNet. Supplying this configuration does not enable forward-proxy support. In PATCH, omission preserves the configuration, JSON merge-patch null clears it, and a supplied object merges its members. The resulting proxy configuration must include httpsUrl. |
SandboxHttpProxyConfiguration |
| mode | Sandbox egress mode. AzureVNet requires a subnet, and a configured subnet requires AzureVNet. In PATCH, omission preserves the mode and JSON merge-patch null clears it. Clearing the mode is invalid while a subnet remains configured. No unconditional default applies. |
'AzureVNet' 'Limited' 'Unrestricted' |
SandboxHttpProxyConfiguration
| Name | Description | Value |
|---|---|---|
| httpsUrl | Proxy endpoint used for HTTPS destinations and CONNECT tunneling. Required whenever a proxy configuration is stored. The proxy URL itself must use http:// for CONNECT tunneling and must be an origin with a host. Credentials, paths other than '/', query strings, fragments, and ports 0, 80, and 443 are not supported. In PATCH, omission preserves the endpoint. |
string |
| httpUrl | Optional proxy endpoint used for HTTP destinations. When set, it must be the same proxy origin as httpsUrl; different HTTP and HTTPS proxies are not supported. The value must be an absolute http:// origin with a host. Credentials, paths other than '/', query strings, fragments, and ports 0, 80, and 443 are not supported. In PATCH, omission preserves the endpoint and JSON merge-patch null clears it. |
string |
| noProxy | Additional destinations that bypass the forward proxy. Entries can be DNS hostnames, leading-dot or '.' suffix patterns, or exact IPv4 addresses. CIDR blocks, IPv6 addresses, ports, empty entries, and a bare '' are invalid. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string Constraints: Min length = 1[] |
SandboxPackageSpec
| Name | Description | Value |
|---|---|---|
| name | Package name, optionally including a scope or namespace prefix. | string Constraints: Min length = 1 Max length = 214 Pattern = ^@?[A-Za-z0-9][A-Za-z0-9._-]*(/[A-Za-z0-9][A-Za-z0-9._-]*)?$ (required) |
| packageManager | Package manager used to install the package. Values are case-sensitive. | 'npm' 'nuget' 'pip' (required) |
| version | Optional package version or version constraint. Omit it to leave the version unspecified. | string Constraints: Min length = 1 Max length = 64 Pattern = ^[A-Za-z0-9._+\-~^<>=,*\[\]()]+$ |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|
VnetConfiguration
| Name | Description | Value |
|---|---|---|
| subnetResourceId | Azure resource ID of the subnet used with AzureVNet egress mode. In PATCH, omission preserves the subnet and JSON merge-patch null clears it. Setting or replacing a subnet requires the resulting egress mode to be AzureVNet. When clearing the subnet, also update sandbox egress in the same PATCH request so the resulting mode is not AzureVNet. The detach example explicitly selects Limited. |
string |
Terraform (AzAPI provider) resource definition
The agents resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.App/agents resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.App/agents@2026-07-01"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
actionConfiguration = {
accessLevel = "string"
identity = "string"
mode = "string"
}
agentIdentity = {
initialSponsorGroupId = "string"
}
defaultModel = {
name = "string"
provider = "string"
}
incidentManagementConfiguration = {
connectionKey = "string"
connectionName = "string"
connectionUrl = "string"
oboUser = "string"
type = "string"
}
knowledgeGraphConfiguration = {
identity = "string"
managedResources = [
"string"
]
}
logConfiguration = {
applicationInsightsConfiguration = {
appId = "string"
connectionString = "string"
}
}
sandboxConfiguration = {
egress = {
allowedCodeRepositories = [
"string"
]
allowedHosts = [
"string"
]
allowedRegistries = [
"string"
]
allowHttpMcpServerNetworkAccess = bool
httpProxy = {
httpsUrl = "string"
httpUrl = "string"
noProxy = [
"string"
]
}
mode = "string"
}
packages = [
{
name = "string"
packageManager = "string"
version = "string"
}
]
}
upgradeChannel = "string"
vnetConfiguration = {
subnetResourceId = "string"
}
}
}
}
Property Values
Microsoft.App/agents
| Name | Description | Value |
|---|---|---|
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[A-Za-z]([-A-Za-z0-9]{0,30}[A-Za-z0-9])$ (required) |
| properties | The resource-specific properties for this resource. | AgentProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.App/agents@2026-07-01" |
ActionConfiguration
| Name | Description | Value |
|---|---|---|
| accessLevel | The access level of the action | 'High' 'Low' |
| identity | The identity used by the action | string |
| mode | The mode of the action | 'Autonomous' 'ReadOnly' 'Review' |
AgentIdentity
| Name | Description | Value |
|---|---|---|
| initialSponsorGroupId | Initial sponsor group ID (required for agent identity) | string (required) |
AgentProperties
| Name | Description | Value |
|---|---|---|
| actionConfiguration | Configuration for action | ActionConfiguration |
| agentIdentity | Agent identity configuration for accessing resources | AgentIdentity |
| defaultModel | Default AI model configuration for the agent | DefaultModel |
| incidentManagementConfiguration | Incident management configurations | IncidentManagementConfiguration |
| knowledgeGraphConfiguration | Knowledge graph configuration for agent | KnowledgeGraphConfiguration |
| logConfiguration | Log configurations | LogConfiguration |
| sandboxConfiguration | Desired sandbox configuration. PUT represents the complete desired configuration and does not preserve an existing value when this property is omitted. Use PATCH to preserve the stored configuration while updating other properties. |
SandboxConfiguration |
| upgradeChannel | The upgrade channel of the agent | 'Preview' 'Stable' |
| vnetConfiguration | Desired virtual network configuration. A subnet and AzureVNet egress mode must be configured together. Use PATCH for selective updates. Omitting networking settings from PUT can clear them or fail validation. |
VnetConfiguration |
ApplicationInsightsConfiguration
| Name | Description | Value |
|---|---|---|
| appId | The Application ID for the Application Insights resource | string |
| connectionString | The connection string supplied when creating or updating the Application Insights configuration. | string Constraints: Sensitive value. Pass in as a secure parameter. |
DefaultModel
| Name | Description | Value |
|---|---|---|
| name | Model name (e.g., gpt-5, claude-opus-4-5, claude-sonnet-4-5) | string |
| provider | AI provider name (e.g., MicrosoftFoundry, Anthropic) | string |
IncidentManagementConfiguration
| Name | Description | Value |
|---|---|---|
| connectionKey | The key supplied when creating or updating the connection. | string Constraints: Sensitive value. Pass in as a secure parameter. |
| connectionName | The name of the connection | string |
| connectionUrl | The URL of the connection | string |
| oboUser | The user for the connection | string |
| type | The type of incident management system | string |
KnowledgeGraphConfiguration
| Name | Description | Value |
|---|---|---|
| identity | The identity used to access the knowledge graph | string |
| managedResources | The list of resources managed by agent | string[] |
LogConfiguration
| Name | Description | Value |
|---|---|---|
| applicationInsightsConfiguration | Application Insights Configuration | ApplicationInsightsConfiguration |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| Name | Description | Value |
|---|
SandboxConfiguration
| Name | Description | Value |
|---|---|---|
| egress | Sandbox egress configuration. In PATCH, omission preserves egress and JSON merge-patch null clears it. Clearing egress is invalid while a subnet remains configured. |
SandboxEgressConfiguration |
| packages | Packages to preinstall in the sandbox. In PATCH, omission preserves the package list. A supplied array replaces the entire list; JSON merge-patch null clears it. An empty array selects no packages. Each supplied package must include its name and package manager. |
SandboxPackageSpec[] |
SandboxEgressConfiguration
| Name | Description | Value |
|---|---|---|
| allowedCodeRepositories | Code repository provider identifiers allowed on the managed network path. Values are matched case-sensitively. Known values are 'Github', 'GithubEnterprise', 'AzureDevOps' and 'GitLab'. The service validates the values. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string[] |
| allowedHosts | Additional hostnames allowed on the managed network path. Entries are DNS hostnames or leading wildcard patterns such as '.example.com'; a bare '' is invalid. Each entry has at most 253 characters and each DNS label at most 63 characters. Wildcard patterns must contain at least two labels after '*.'. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string Constraints: Min length = 1 Max length = 253 Pattern = ^(\*\.(?=[^.]+\.))?[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$[] |
| allowedRegistries | Package registry identifiers allowed on the managed network path. Values are matched without regard to case. Known values are 'pypi', 'npmjs', 'nuget-org' and 'ubuntu'. The service validates the values. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string[] |
| allowHttpMcpServerNetworkAccess | Whether remote HTTP MCP servers can use the managed network path. In PATCH, omission preserves the setting and JSON merge-patch null clears it. |
bool |
| httpProxy | Forward-proxy configuration for sandbox outbound requests. Used only when forward-proxy support is enabled for the Agent and the egress mode is AzureVNet. Supplying this configuration does not enable forward-proxy support. In PATCH, omission preserves the configuration, JSON merge-patch null clears it, and a supplied object merges its members. The resulting proxy configuration must include httpsUrl. |
SandboxHttpProxyConfiguration |
| mode | Sandbox egress mode. AzureVNet requires a subnet, and a configured subnet requires AzureVNet. In PATCH, omission preserves the mode and JSON merge-patch null clears it. Clearing the mode is invalid while a subnet remains configured. No unconditional default applies. |
'AzureVNet' 'Limited' 'Unrestricted' |
SandboxHttpProxyConfiguration
| Name | Description | Value |
|---|---|---|
| httpsUrl | Proxy endpoint used for HTTPS destinations and CONNECT tunneling. Required whenever a proxy configuration is stored. The proxy URL itself must use http:// for CONNECT tunneling and must be an origin with a host. Credentials, paths other than '/', query strings, fragments, and ports 0, 80, and 443 are not supported. In PATCH, omission preserves the endpoint. |
string |
| httpUrl | Optional proxy endpoint used for HTTP destinations. When set, it must be the same proxy origin as httpsUrl; different HTTP and HTTPS proxies are not supported. The value must be an absolute http:// origin with a host. Credentials, paths other than '/', query strings, fragments, and ports 0, 80, and 443 are not supported. In PATCH, omission preserves the endpoint and JSON merge-patch null clears it. |
string |
| noProxy | Additional destinations that bypass the forward proxy. Entries can be DNS hostnames, leading-dot or '.' suffix patterns, or exact IPv4 addresses. CIDR blocks, IPv6 addresses, ports, empty entries, and a bare '' are invalid. In PATCH, omission preserves the list, a supplied array replaces it, and JSON merge-patch null clears it. |
string Constraints: Min length = 1[] |
SandboxPackageSpec
| Name | Description | Value |
|---|---|---|
| name | Package name, optionally including a scope or namespace prefix. | string Constraints: Min length = 1 Max length = 214 Pattern = ^@?[A-Za-z0-9][A-Za-z0-9._-]*(/[A-Za-z0-9][A-Za-z0-9._-]*)?$ (required) |
| packageManager | Package manager used to install the package. Values are case-sensitive. | 'npm' 'nuget' 'pip' (required) |
| version | Optional package version or version constraint. Omit it to leave the version unspecified. | string Constraints: Min length = 1 Max length = 64 Pattern = ^[A-Za-z0-9._+\-~^<>=,*\[\]()]+$ |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|
VnetConfiguration
| Name | Description | Value |
|---|---|---|
| subnetResourceId | Azure resource ID of the subnet used with AzureVNet egress mode. In PATCH, omission preserves the subnet and JSON merge-patch null clears it. Setting or replacing a subnet requires the resulting egress mode to be AzureVNet. When clearing the subnet, also update sandbox egress in the same PATCH request so the resulting mode is not AzureVNet. The detach example explicitly selects Limited. |
string |