Microsoft.DeviceRegistry namespaces 2026-11-02-preview

Bicep resource definition

The namespaces resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.DeviceRegistry/namespaces resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DeviceRegistry/namespaces@2026-11-02-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    management: {
      endpoints: {
        {customized property}: {
          address: 'string'
          endpointType: 'string'
          resourceId: 'string'
          scopeId: 'string'
        }
      }
    }
    messaging: {
      endpoints: {
        {customized property}: {
          address: 'string'
          endpointType: 'string'
          inboundCallerIdentity: {
            type: 'string'
            userAssignedIdentity: 'string'
          }
          provisioning: {
            allocationWeight: int
            availability: 'string'
          }
          resourceId: 'string'
        }
      }
    }
    observability: {
      enabled: bool
      endpoints: {
        {customized property}: {
          address: 'string'
          endpointType: 'string'
          resourceId: 'string'
          scopeId: 'string'
        }
      }
    }
    outboundIdentity: {
      type: 'string'
      userAssignedIdentity: 'string'
    }
    provisioning: {
      endpoints: {
        {customized property}: {
          endpointType: 'string'
          inboundCallerIdentity: {
            type: 'string'
            userAssignedIdentity: 'string'
          }
          resourceId: 'string'
        }
      }
    }
    updating: {
      endpoints: {
        {customized property}: {
          endpointType: 'string'
          inboundCallerIdentity: {
            type: 'string'
            userAssignedIdentity: 'string'
          }
          resourceId: 'string'
        }
      }
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces

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:
Min length = 3
Max length = 64
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. NamespaceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

InboundCallerIdentity

Name Description Value
type The identity type. 'SystemAssigned'
'UserAssigned' (required)
userAssignedIdentity The resource ID of the user-assigned managed identity. Required when type is UserAssigned. string

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. UserAssignedIdentities

Management

Name Description Value
endpoints Dictionary of management endpoints. ManagementEndpoints

ManagementEndpoint

Name Description Value
address The endpoint address to connect to. string (required)
endpointType Type of connection used for management endpoint. string (required)
resourceId The messaging endpoint Azure resource Id. string (required)
scopeId The scope ID for the management endpoint. string (required)

ManagementEndpoints

Name Description Value

Messaging

Name Description Value
endpoints Dictionary of messaging endpoints. MessagingEndpoints

MessagingEndpoint

Name Description Value
address The endpoint address to connect to. string
endpointType Type of connection used for messaging endpoint. string
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity
provisioning The provisioning configuration for this messaging endpoint. MessagingEndpointProvisioning
resourceId The messaging endpoint Azure resource Id. string

MessagingEndpointProvisioning

Name Description Value
allocationWeight The allocation weight for this messaging endpoint. int
availability The availability status of the messaging endpoint. 'Available'
'Disabled'

MessagingEndpoints

Name Description Value

NamespaceObservability

Name Description Value
enabled Whether observability features are enabled. When omitted during create or
replace, the effective value is false. On PATCH, omission preserves the
current value. Setting this property to false prevents new Live Data
sessions while preserving the configured endpoints.
bool
endpoints Event Grid MQTT endpoints keyed by custom location resource ID. The key is
the full ARM resource ID of the Azure Custom Location for one AIO site.
On PATCH, omission preserves the existing endpoint map. Supplying this
property replaces the complete endpoint map.
NamespaceObservabilityEndpoints

NamespaceObservabilityEndpoints

Name Description Value

NamespaceProperties

Name Description Value
management Assigned and unassigned management endpoints. Management
messaging Assigned and unassigned messaging endpoints. Messaging
observability The observability configuration associated with this namespace.
On create or replace, this property replaces the complete observability
configuration. Omitting it removes any existing configuration. On PATCH,
omitting it preserves the existing configuration.
NamespaceObservability
outboundIdentity The identity used for outbound calls from the ADR namespace. If not specified and the namespace has a system-assigned identity enabled, the system-assigned identity is used by default. OutboundIdentity
provisioning The provisioning endpoints associated with this namespace. NamespaceProvisioning
updating The device update endpoints associated with this namespace. NamespaceUpdating

NamespaceProvisioning

Name Description Value
endpoints Dictionary of provisioning endpoints. NamespaceProvisioningEndpoints

NamespaceProvisioningEndpoints

Name Description Value

NamespaceUpdating

Name Description Value
endpoints Dictionary of device update endpoints. NamespaceUpdatingEndpoints

NamespaceUpdatingEndpoints

Name Description Value

ObservabilityEndpoint

Name Description Value
address The Event Grid namespace MQTT hostname. string (required)
endpointType The Azure resource type of the observability endpoint. 'Microsoft.EventGrid/namespaces' (required)
resourceId The full Azure resource ID of the Event Grid namespace. string (required)
scopeId The Azure IoT Operations instance scope ID used for MQTT authentication and Live Data topic construction. string (required)

OutboundIdentity

Name Description Value
type The identity type. 'SystemAssigned'
'UserAssigned' (required)
userAssignedIdentity The resource ID of the user-assigned managed identity. Required when type is UserAssigned. string

ProvisioningEndpoint

Name Description Value
endpointType Type of provisioning resource. 'Microsoft.Devices/provisioningServices' (required)
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity (required)
resourceId The provisioning endpoint Azure resource Id. string (required)

TrackedResourceTags

Name Description Value

UpdatingEndpoint

Name Description Value
endpointType Type of device update resource. 'Microsoft.DeviceUpdate/updateInstances' (required)
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity (required)
resourceId The device update endpoint Azure resource Id. string (required)

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

ARM template resource definition

The namespaces resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.DeviceRegistry/namespaces resource, add the following JSON to your template.

{
  "type": "Microsoft.DeviceRegistry/namespaces",
  "apiVersion": "2026-11-02-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "management": {
      "endpoints": {
        "{customized property}": {
          "address": "string",
          "endpointType": "string",
          "resourceId": "string",
          "scopeId": "string"
        }
      }
    },
    "messaging": {
      "endpoints": {
        "{customized property}": {
          "address": "string",
          "endpointType": "string",
          "inboundCallerIdentity": {
            "type": "string",
            "userAssignedIdentity": "string"
          },
          "provisioning": {
            "allocationWeight": "int",
            "availability": "string"
          },
          "resourceId": "string"
        }
      }
    },
    "observability": {
      "enabled": "bool",
      "endpoints": {
        "{customized property}": {
          "address": "string",
          "endpointType": "string",
          "resourceId": "string",
          "scopeId": "string"
        }
      }
    },
    "outboundIdentity": {
      "type": "string",
      "userAssignedIdentity": "string"
    },
    "provisioning": {
      "endpoints": {
        "{customized property}": {
          "endpointType": "string",
          "inboundCallerIdentity": {
            "type": "string",
            "userAssignedIdentity": "string"
          },
          "resourceId": "string"
        }
      }
    },
    "updating": {
      "endpoints": {
        "{customized property}": {
          "endpointType": "string",
          "inboundCallerIdentity": {
            "type": "string",
            "userAssignedIdentity": "string"
          },
          "resourceId": "string"
        }
      }
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces

Name Description Value
apiVersion The api version '2026-11-02-preview'
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:
Min length = 3
Max length = 64
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. NamespaceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.DeviceRegistry/namespaces'

InboundCallerIdentity

Name Description Value
type The identity type. 'SystemAssigned'
'UserAssigned' (required)
userAssignedIdentity The resource ID of the user-assigned managed identity. Required when type is UserAssigned. string

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. UserAssignedIdentities

Management

Name Description Value
endpoints Dictionary of management endpoints. ManagementEndpoints

ManagementEndpoint

Name Description Value
address The endpoint address to connect to. string (required)
endpointType Type of connection used for management endpoint. string (required)
resourceId The messaging endpoint Azure resource Id. string (required)
scopeId The scope ID for the management endpoint. string (required)

ManagementEndpoints

Name Description Value

Messaging

Name Description Value
endpoints Dictionary of messaging endpoints. MessagingEndpoints

MessagingEndpoint

Name Description Value
address The endpoint address to connect to. string
endpointType Type of connection used for messaging endpoint. string
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity
provisioning The provisioning configuration for this messaging endpoint. MessagingEndpointProvisioning
resourceId The messaging endpoint Azure resource Id. string

MessagingEndpointProvisioning

Name Description Value
allocationWeight The allocation weight for this messaging endpoint. int
availability The availability status of the messaging endpoint. 'Available'
'Disabled'

MessagingEndpoints

Name Description Value

NamespaceObservability

Name Description Value
enabled Whether observability features are enabled. When omitted during create or
replace, the effective value is false. On PATCH, omission preserves the
current value. Setting this property to false prevents new Live Data
sessions while preserving the configured endpoints.
bool
endpoints Event Grid MQTT endpoints keyed by custom location resource ID. The key is
the full ARM resource ID of the Azure Custom Location for one AIO site.
On PATCH, omission preserves the existing endpoint map. Supplying this
property replaces the complete endpoint map.
NamespaceObservabilityEndpoints

NamespaceObservabilityEndpoints

Name Description Value

NamespaceProperties

Name Description Value
management Assigned and unassigned management endpoints. Management
messaging Assigned and unassigned messaging endpoints. Messaging
observability The observability configuration associated with this namespace.
On create or replace, this property replaces the complete observability
configuration. Omitting it removes any existing configuration. On PATCH,
omitting it preserves the existing configuration.
NamespaceObservability
outboundIdentity The identity used for outbound calls from the ADR namespace. If not specified and the namespace has a system-assigned identity enabled, the system-assigned identity is used by default. OutboundIdentity
provisioning The provisioning endpoints associated with this namespace. NamespaceProvisioning
updating The device update endpoints associated with this namespace. NamespaceUpdating

NamespaceProvisioning

Name Description Value
endpoints Dictionary of provisioning endpoints. NamespaceProvisioningEndpoints

NamespaceProvisioningEndpoints

Name Description Value

NamespaceUpdating

Name Description Value
endpoints Dictionary of device update endpoints. NamespaceUpdatingEndpoints

NamespaceUpdatingEndpoints

Name Description Value

ObservabilityEndpoint

Name Description Value
address The Event Grid namespace MQTT hostname. string (required)
endpointType The Azure resource type of the observability endpoint. 'Microsoft.EventGrid/namespaces' (required)
resourceId The full Azure resource ID of the Event Grid namespace. string (required)
scopeId The Azure IoT Operations instance scope ID used for MQTT authentication and Live Data topic construction. string (required)

OutboundIdentity

Name Description Value
type The identity type. 'SystemAssigned'
'UserAssigned' (required)
userAssignedIdentity The resource ID of the user-assigned managed identity. Required when type is UserAssigned. string

ProvisioningEndpoint

Name Description Value
endpointType Type of provisioning resource. 'Microsoft.Devices/provisioningServices' (required)
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity (required)
resourceId The provisioning endpoint Azure resource Id. string (required)

TrackedResourceTags

Name Description Value

UpdatingEndpoint

Name Description Value
endpointType Type of device update resource. 'Microsoft.DeviceUpdate/updateInstances' (required)
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity (required)
resourceId The device update endpoint Azure resource Id. string (required)

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

Terraform (AzAPI provider) resource definition

The namespaces 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.DeviceRegistry/namespaces resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceRegistry/namespaces@2026-11-02-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      management = {
        endpoints = {
          {customized property} = {
            address = "string"
            endpointType = "string"
            resourceId = "string"
            scopeId = "string"
          }
        }
      }
      messaging = {
        endpoints = {
          {customized property} = {
            address = "string"
            endpointType = "string"
            inboundCallerIdentity = {
              type = "string"
              userAssignedIdentity = "string"
            }
            provisioning = {
              allocationWeight = int
              availability = "string"
            }
            resourceId = "string"
          }
        }
      }
      observability = {
        enabled = bool
        endpoints = {
          {customized property} = {
            address = "string"
            endpointType = "string"
            resourceId = "string"
            scopeId = "string"
          }
        }
      }
      outboundIdentity = {
        type = "string"
        userAssignedIdentity = "string"
      }
      provisioning = {
        endpoints = {
          {customized property} = {
            endpointType = "string"
            inboundCallerIdentity = {
              type = "string"
              userAssignedIdentity = "string"
            }
            resourceId = "string"
          }
        }
      }
      updating = {
        endpoints = {
          {customized property} = {
            endpointType = "string"
            inboundCallerIdentity = {
              type = "string"
              userAssignedIdentity = "string"
            }
            resourceId = "string"
          }
        }
      }
    }
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces

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:
Min length = 3
Max length = 64
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. NamespaceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.DeviceRegistry/namespaces@2026-11-02-preview"

InboundCallerIdentity

Name Description Value
type The identity type. 'SystemAssigned'
'UserAssigned' (required)
userAssignedIdentity The resource ID of the user-assigned managed identity. Required when type is UserAssigned. string

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. UserAssignedIdentities

Management

Name Description Value
endpoints Dictionary of management endpoints. ManagementEndpoints

ManagementEndpoint

Name Description Value
address The endpoint address to connect to. string (required)
endpointType Type of connection used for management endpoint. string (required)
resourceId The messaging endpoint Azure resource Id. string (required)
scopeId The scope ID for the management endpoint. string (required)

ManagementEndpoints

Name Description Value

Messaging

Name Description Value
endpoints Dictionary of messaging endpoints. MessagingEndpoints

MessagingEndpoint

Name Description Value
address The endpoint address to connect to. string
endpointType Type of connection used for messaging endpoint. string
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity
provisioning The provisioning configuration for this messaging endpoint. MessagingEndpointProvisioning
resourceId The messaging endpoint Azure resource Id. string

MessagingEndpointProvisioning

Name Description Value
allocationWeight The allocation weight for this messaging endpoint. int
availability The availability status of the messaging endpoint. 'Available'
'Disabled'

MessagingEndpoints

Name Description Value

NamespaceObservability

Name Description Value
enabled Whether observability features are enabled. When omitted during create or
replace, the effective value is false. On PATCH, omission preserves the
current value. Setting this property to false prevents new Live Data
sessions while preserving the configured endpoints.
bool
endpoints Event Grid MQTT endpoints keyed by custom location resource ID. The key is
the full ARM resource ID of the Azure Custom Location for one AIO site.
On PATCH, omission preserves the existing endpoint map. Supplying this
property replaces the complete endpoint map.
NamespaceObservabilityEndpoints

NamespaceObservabilityEndpoints

Name Description Value

NamespaceProperties

Name Description Value
management Assigned and unassigned management endpoints. Management
messaging Assigned and unassigned messaging endpoints. Messaging
observability The observability configuration associated with this namespace.
On create or replace, this property replaces the complete observability
configuration. Omitting it removes any existing configuration. On PATCH,
omitting it preserves the existing configuration.
NamespaceObservability
outboundIdentity The identity used for outbound calls from the ADR namespace. If not specified and the namespace has a system-assigned identity enabled, the system-assigned identity is used by default. OutboundIdentity
provisioning The provisioning endpoints associated with this namespace. NamespaceProvisioning
updating The device update endpoints associated with this namespace. NamespaceUpdating

NamespaceProvisioning

Name Description Value
endpoints Dictionary of provisioning endpoints. NamespaceProvisioningEndpoints

NamespaceProvisioningEndpoints

Name Description Value

NamespaceUpdating

Name Description Value
endpoints Dictionary of device update endpoints. NamespaceUpdatingEndpoints

NamespaceUpdatingEndpoints

Name Description Value

ObservabilityEndpoint

Name Description Value
address The Event Grid namespace MQTT hostname. string (required)
endpointType The Azure resource type of the observability endpoint. 'Microsoft.EventGrid/namespaces' (required)
resourceId The full Azure resource ID of the Event Grid namespace. string (required)
scopeId The Azure IoT Operations instance scope ID used for MQTT authentication and Live Data topic construction. string (required)

OutboundIdentity

Name Description Value
type The identity type. 'SystemAssigned'
'UserAssigned' (required)
userAssignedIdentity The resource ID of the user-assigned managed identity. Required when type is UserAssigned. string

ProvisioningEndpoint

Name Description Value
endpointType Type of provisioning resource. 'Microsoft.Devices/provisioningServices' (required)
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity (required)
resourceId The provisioning endpoint Azure resource Id. string (required)

TrackedResourceTags

Name Description Value

UpdatingEndpoint

Name Description Value
endpointType Type of device update resource. 'Microsoft.DeviceUpdate/updateInstances' (required)
inboundCallerIdentity The identity the linked resource uses to call the ADR namespace. InboundCallerIdentity (required)
resourceId The device update endpoint Azure resource Id. string (required)

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value