Iotedge: IoT Edge Deployments - not working with boolean Target Condition

Created on 17 Sep 2018  路  4Comments  路  Source: Azure/iotedge

Expected Behavior

IoT Edge Deployments should be applied to all devices matching Target Conditions with boolean tags. According to this: "All values in JSON objects can be of the following JSON types: boolean, number, string, object."

Current Behavior

Example:
If my edge device twin has the following json tags:

...
"tags": {
    "inPortugal": true
  }
...

Even though the Portal tells me that the Target Condition will be applied to my device
image

In the end the Deployment is never applied to the edge device. It works well if I use string:

...
"tags": {
    "inPortugal": "yesitis"
  }
...

image

Related issue: https://github.com/MicrosoftDocs/azure-docs/issues/14815

bug checkedin customer-reported iotedge

All 4 comments

Thanks for the issue report! I followed up with the IoT Hub service team to help investigate this. I'll post again here when I know more.

The IoT Hub service team has confirmed its a bug.

This has been fixed in the IoT Hub service. It is scheduled to be deployed at the beginning of October.

This fix has been deployed to IoT Hub. Closing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ejectbutton picture ejectbutton  路  4Comments

AndyLiTaiwan picture AndyLiTaiwan  路  5Comments

Lexmark-pcarey picture Lexmark-pcarey  路  4Comments

mill5james picture mill5james  路  3Comments

emilm picture emilm  路  6Comments