An SDK has been developed to make your work with multiple devices easier.
If you using a number of devices with a number of your instances then those numbers of devices will need to be accessed to find the serial number of each.
A query may be formed if you're working with multiple devices (in a master configuration) to make sure that those connections are made.
Learn more about azure by checking this Azure course out!