Azure / iotedgedev

The Azure IoT Edge Dev Tool greatly simplifies your Azure IoT Edge development process. It has everything you need to get started and helps with your day-to-day Edge development.
https://aka.ms/iotedgedev
Other
160 stars 71 forks source link

Running `iotedgedev iothub setup` with all default values results in error #534

Closed EliiseS closed 2 years ago

EliiseS commented 2 years ago

Steps to Reproduce:

  1. Not logged in into azure cli
  2. run iotedgedev iothub setup
  3. select subscription (ms internal subscription) // not sure if this made a difference

Expected

Create iot hub with the selected default values

Actual

=================================
======== SETTING IOT HUB ========
=================================

Setting IoT Hub to 'iotedgedev-iothub-d278b7'...

Checking if 'iotedgedev-iothub-d278b7' IoT Hub exists...

Could not locate the iotedgedev-iothub-d278b7 in iotedgedev-rg.
Creating 'iotedgedev-iothub-d278b7' in 'iotedgedev-rg' with 'F1' sku...

Creating IoT Hub. Please wait as this could take a few minutes to complete...
ERROR: Could not create the IoT Hub iotedgedev-iothub-d278b7 in iotedgedev-rg with sku F1.

ERROR: ERROR: (400016) Invalid PartitionCount 4 - value must be between 2 and 2. If you contact a support representative please include this correlation identifier: cf2e50d2-0ba3-4e2f-b10d-12e38678e6de, timestamp: 2022-04-14 09:43:45Z, errorcode: IH400016.
Code: 400016
Message: Invalid PartitionCount 4 - value must be between 2 and 2. If you contact a support representative please include this correlation identifier: cf2e50d2-0ba3-4e2f-b10d-12e38678e6de, timestamp: 2022-04-14 09:43:45Z, errorcode: IH400016.

Error: Could not create IoT Hub iotedgedev-iothub-d278b7 in iotedgedev-rg
Enter the IoT Hub Name (Creates a new IoT Hub if not found): [iotedgedev-iothub-d278b7]: ^[[A^[[B^[[B^[[B^[[B^[[B^[[B
roel4ez commented 2 years ago

ping @EliiseS