# Azure IoT Hub - not working and cannot update

**URL:** https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360
**Category:** General
**Created:** [5 July 2018 13:35 UTC](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360 "2018-07-05T13:35:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![PK-MO](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@PK-MO](https://discourse.nodered.org/u/PK-MO)
#### Post date: [5 July 2018 13:35 UTC](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360/1 "2018-07-05T13:35:39Z")

</div>

I'm a bit stuck here and would appreciate any help that I can get. I simply cannot send data up to Azure - even using the standard example found here: [https://flows.nodered.org/node/node-red-contrib-azureiothubnode](https://flows.nodered.org/node/node-red-contrib-azureiothubnode)

I copy the example code into NR and paste the connection string - primary key, which I copy directly from Azure. I deploy the code in NR. If I deploy again, I encounter a Disconnected icon below the Azure IoT Hub node.

I do notice that there is an update available for this node- but I cannot find how to install it

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/adb76252af2fe501e151c34f8ca8f6afa53694a0.png)

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [5 July 2018 17:29 UTC](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360/2 "2018-07-05T17:29:36Z")

</div>

i’m guessing you installed it using the command line? and either used sudo or -g

Easiest way is probably to try to delete it and then reinstall it using the option in node-red

---

<div class="post-metadata">

### Author: ![PK-MO](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@PK-MO](https://discourse.nodered.org/u/PK-MO)
#### Post date: [5 July 2018 17:34 UTC](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360/3 "2018-07-05T17:34:40Z")

</div>

I’m using a gateway manufactured by Hilscher which does not let me run CLI on the operating system:  
[https://www.hilscher.com/products/product-groups/gateways/for-the-control-cabinet-ip20/real-time-ethernet-gateways/nt-151-re-re/](https://www.hilscher.com/products/product-groups/gateways/for-the-control-cabinet-ip20/real-time-ethernet-gateways/nt-151-re-re/)?

is there a way to run CLI within node red? I cannot for the life of me find it.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [5 July 2018 17:41 UTC](https://discourse.nodered.org/t/azure-iot-hub-not-working-and-cannot-update/1360/4 "2018-07-05T17:41:12Z")

</div>

i’d ask them how they installed it then.
