This post should be read in conjunction with the Myriota Connector – Azure IoT Central Downlink Methods post. Funnily enough that was the last “feature” post in this series (April 2024), and this post removes pretty much everything it (and several preceding ones) added. Over the last couple of days, I have removed all Azure IoT Central support from my Myriota Azure IoT Identity Translation Gateway as the service has been retired. There had been questions about Azure IoT Central in MVP PGIs and public forums and the “silence was deafening”.
“evolving” is management bullshit
Microsoft’s recommended destination is Azure IoT Hub plus the Device Provisioning Service (DPS), along with the newer Azure Device Registry. My Myriota Azure IoT Connector has always supported a “plain” Azure IoT Hub + DPS path, so the Azure IoT Central support was dead weight that nobody starting today could even use.
I’m lazy (optimised time utilisation) so I deleted the application type enum and went from there
public enum ApplicationType
{
Undefined = 0,
IoTHub,
IoTCentral
}
The connector still supports DPS path, but only for “plain” Azure IoT Hub.
public class AzureIotHub
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public AzureIotHubConnectionType ConnectionType { get; set; }
public string ConnectionString { get; set; } = string.Empty;
public AzureDeviceProvisioningService DeviceProvisioningService { get; set; }
public string DtdlModelId { get; set; } = string.Empty;
}
The Digital Twin Definition Language (DTDL) support was originally implemented so devices could be “automagically” provisioned with the capabilities defined in my Myriota Sense and Locate(also retired) Azure IoT Central template.

My Myriota Sense and Locate template had 4 commands and, in the Azure IoT, Central Downlink Methods post I focused on the fan speed command. My Myriota Connector only ever supported DirectMethods (you can’t wait for hours/days to get feedback) which provided immediate confirmation of the result of queuing a Myriota Control Message. I also replaced Newtonsoft JSON with System.Text.Json and “flattened” the appsettings file into logical groupings.
{
"AzureIoTHub": {
"ConnectionTypeS": "DeviceConnectionString",
"ConnectionTypeD": "DeviceProvisioningService",
"ConnectionString": "",
"DeviceProvisioningService": {
"GlobalDeviceEndpoint": "global.azure-devices-provisioning.net",
"GroupEnrollmentKey": "",
"IDScope": ""
},
"DtdlModelId": "dtmi:myriotaconnector:nTracker;1"
},
"Methods": {
"Density": {
"Formatter": "Density.cs",
"Payload": ""
},
"EnableMovementDetection": {
"Formatter": "Default.cs",
"Payload": ""
},
"FanSpeed": {
"Formatter": "FanSpeed.cs",
"Payload": ""
},
"LightsGoOff": {
"Formatter": "LightsOffOn.cs",
"Payload": "{\"Light\": false}"
},
"LightsGoOn": {
"Formatter": "LightsOffOn.cs",
"Payload": "{\"Light\": true}"
},
"MovementTrigger": {
"Formatter": "Acceleration.cs",
"Payload": ""
},
"TemperatureAlerts": {
"Formatter": "TemperatureAlerts.cs",
"Payload": ""
},
"TemperatureTarget": {
"Formatter": "TemperatureTarget.cs",
"Payload": ""
},
"WarningMessage": {
"Formatter": "Default.cs",
"Payload": ""
}
},
"PayloadFormatters": {
"DownlinkContainer": "payloadformattersdownlink",
"DownlinkFormatterDefault": "default.cs",
"UplinkContainer": "payloadformattersuplink",
"UplinkFormatterDefault": "Tracker.cs"
},
"myriota": {
"BaseUrl": "https://api.myriota.com",
"APIToken": "",
"DownlinkEnabled": false
}
}
Why it was so cheap to remove
What surprised me was how little of the connector the Azure IoT Central removal affected. The heavy lifting in the connector:
- The myriotaUplinkWebhook application which deserialises the message from the Myriota Cloud API, “unpacks” the escaped JSON payload and sticks it on an Azure Storage queue.
- The Uplink message processor Azure Function output bindings.
- The uplink/downlink payload formatters (FanSpeed.cs etc.) which are loaded from Azure Storage Blobs and cached.
- The downlink logging refactor and the requestId GUID based diagnostic logging.
None of this was ever Azure IoT Central specific, it was plumbing which translated Myriota Terminal messages to an Azure IoT Hub or Azure IoT Central depending on configuration. With Central gone the Identity Translation gateway pattern still stands, it just talks to Azure IoT Hub.
The Azure IoT Central specific code lived at the edges, device client instantiation, method dispatch and DPS provisioning configuration, which is where it should have been. This is the payoff of building a connector with the transport specific code isolated.
Migrating from Azure IoT Central
If you followed along with the earlier posts and built something with Azure IoT Central, Microsoft has an Azure IoT Central migration playbook which maps existing IoT Central scenarios onto Azure services you run yourself.
From a Myriota Connector point of view the migration is reasonably straightforward:
- Create an Azure IoT Hub and configure the Device Provisioning Service (DPS), with an individual enrollment (or an enrollment group) for your Myriota Terminals. My connector was already doing DPS provisioning, so only the destination changes.
- Repoint the connector configuration at the Azure IoT Hub (the settings class properties which used to contain the Azure IoT Central application URL, scope ID etc. are gone).
- Replace commands (like the fan speed command from my template) with Azure IoT Hub Direct Methods, this was covered in the Myriota Connector – Azure IoT Hub Downlink Methods post.
- Rebuild any dashboards, rules and exports you had in the IoT Central application with your own tooling.
Closing thoughts
It’s a bit over three years from the Azure IoT Central Downlink Methods post in April 2024 to the removal in December 2026. The platform feature I built last lasted the shortest, everything around it, the payload formatters, the webhook, the message processors and the diagnostic logging, survives because none of it was ever Azure IoT Central specific.
The connector is now Azure IoT Hub plus the Device Provisioning Service (DPS), only, which honestly is where I should have left it. Next up I need to have a look at the Azure Device Registry(ADR) and Microsoft Fabric to see if it is worth adding support for them.
















