IoT & Edge

IoT Hub

Microsoft.Devices

Resource types
15 of 19 supported
Data plane
2 types emulated
API versions
37 newest 2026-11-01
Ships as
Plugin 2026.11
Plan
Standard and above

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for the Microsoft.Devices plugin are shown below. You can click into a type to see more information.

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.Devices is 2026-11-01. All 37 versions it supports are listed below.

Stable20

2026-11-01 2026-08-31 2023-06-30 2022-12-12 2022-02-05 2021-07-02 2021-07-01 2021-03-31 2020-08-31 2020-08-01 2020-06-15 2020-04-01 2020-03-01 2019-11-04 2019-03-22 2018-04-01 2018-01-22 2017-07-01 2017-01-19 2016-02-03

Preview17

2026-06-01-preview 2026-03-01-preview 2025-08-01-preview 2025-02-01-preview 2023-06-30-preview 2023-03-01-preview 2022-11-15-preview 2022-04-30-preview 2021-07-02-preview 2021-07-01-preview 2021-03-03-preview 2021-02-01-preview 2020-08-31-preview 2020-07-10-preview 2019-07-01-preview 2019-03-22-preview 2018-12-01-preview

Features

  • Device registry: create, update, disable and delete devices with symmetric keys. Each device gets a twin and reports its live connection state.
  • Device-to-cloud telemetry over AMQP, MQTT and HTTPS, keeping the properties the device set and adding IoT Hub's system properties.
  • Built-in Event Hub-compatible endpoint: read telemetry with any Event Hubs consumer, across the hub's partitions and the consumer groups you create on it.
  • Device twins over HTTPS and MQTT: tags and desired properties from the service, reported properties from the device, with If-Match enforced.
  • Direct methods over HTTPS and MQTT.
  • Device queries: SELECT * FROM devices with equality filters on device ID, status, connection state, tags and twin properties.
  • Shared access policies, with each policy's rights checked. A device's SAS token only works for that device, and a disabled device is refused.
  • Microsoft Entra authentication on the service APIs over HTTPS, with roles such as IoT Hub Data Contributor, IoT Hub Registry Contributor and IoT Hub Twin Contributor.
  • Azure IoT device and service SDKs, plus locally iothub commands to create devices, send and peek at telemetry, and update twins.
  • Event Grid events for DeviceCreated, DeviceDeleted, DeviceConnected, DeviceDisconnected and DeviceTelemetry.
  • Chaos Engineering can throttle, fail, slow down or drop requests, refuse MQTT connections, report a disabled device or an exceeded quota, cut open connections, or simulate an outage. Team

Limitations

IoT Hubs

  • Device queries only support SELECT * FROM devices with equality filters at this time. Anything else returns HTTP 400.
  • disableLocalAuth, publicNetworkAccess and IP filter rules are stored but not enforced at this time.
  • Jobs, device import and export, file upload, module identities and manual failover aren't supported at this time.
  • Message routing isn't emulated at this time. Routes and custom endpoints can be set on a hub, but telemetry always goes to the built-in endpoint, and testing routes or checking endpoint health returns HTTP 501 Not Implemented.
  • MQTT is version 3.1.1 only, and there's no MQTT or AMQP over WebSockets at this time.
  • Only symmetric key authentication is supported at this time. Devices can't authenticate with X.509 certificates.
  • Over AMQP, twins and direct methods are only served on the $iothub/... addresses, so the .NET device SDK's AMQP twin and method links are refused. Use MQTT for twins and direct methods.
  • Reported properties don't carry a $version, and there's no per-property $lastUpdated at this time.
  • Services can't send cloud-to-device messages at this time. Devices can listen for them over AMQP and MQTT, but nothing will arrive.

Provisioning Services

  • Device Provisioning Service instances can be created and managed, but device registration and enrollments aren't emulated.

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.