We (company I work for) implemented the Azure IoT SDK in a raspberry Pi and it worked fine. I dont see any issues using it on the Onion. You have to use an SD card or some type of extra storage though on the Onion as the pieces to make it work are fairly large.