How to remove IoT Hub on Azure Stack Hub


IoT Hub on Azure Stack Hub is currently in preview, and is provided free during the preview period.

This article provides instructions on how to remove IoT Hub resource provider on Azure Stack Hub. This process takes around 37 minutes.


Once IoT Hub is uninstalled, all devices and data will be deleted. The operation is NOT recoverable.

Uninstalling IoT Hub

  1. Go to Marketplace management. IoT Hub will be in the list and marked as installed. Click on IoT Hub.

    Resource provider list

  2. Click Uninstall under IoT Hub, provide the resource provider name microsoft.iothub, then click Uninstall button under it.

    Uninstall IoT Hub and confirm

  3. Wait for the uninstall to complete. Before trying to install IoT Hub again, wait for at least 10 minutes.


The dependencies (eg. Event Hub) will NOT be uninstalled. Should you want to uninstall/ remove any of the dependencies from marketplace, you will need to do it separately.

Next steps

To reinstall, refer to install IoT Hub resource provider on connected Azure Stack.