A sample solution to synchronize IoT devices between Azure IoT Hub and an external registry. Supports having both sides as master