Why can't create Iot Hub Resource Basic tier?

asked 2021-11-08T09:35:44.487+00:00
WisarootK 21 Reputation points

When creating Iot Hub Resource Basic tier using REST API version 2018-04-01. I'm getting response 400 Bad requests but another tier is not a problem.
Please advise me what caused this problem.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
680 questions
No comments
{count} votes

Accepted answer
  1. answered 2021-11-08T10:16:45.33+00:00
    Sander van de Velde 15,141 Reputation points Microsoft MVP

    Hello @WisarootK ,

    the API version of your REST API call is pretty old... 2018. Back then, the B tier probably did not exist yet, only F (free) and S (standard)...

    Can you try the currently documented api version?

    PUT https://fully-qualified-iothubname.azure-devices.net/configurations/{id}?api-version=2020-05-31-preview  
    

0 additional answers

Sort by: Most helpful