title: create azure IOT hub device using .Net
body: <p>I want to create IOT hub for a client. I have created IOT Hub using rest API but not able to find the way to create device in it. I am using Rest API to create IOT hub. It gets created But when I am trying to create device, I got unauthorized exception. I am using <a href="https://docs.microsoft.com/en-gb/rest/api/iothub/deviceapi/putdevice" rel="nofollow noreferrer">this api</a>.</p>