question

WaqasIlyas-1712 avatar image
0 Votes"
WaqasIlyas-1712 asked SatishBoddu-MSFT commented

Create enrollment group for IoT Central through CLI

Hi

Is it possible with the current azure cli (2.33) and iot extension (0.13) to create enrollment groups via CLI?

I can't find that option in the documentation.

azure-iot-central
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @WaqasIlyas-1712 Thanks for the great query on this topic!

We have an update from the Product team on this query!!!
"The ability to create enrollment groups via REST APIs will be available in the coming months and then will fast follow with an update to the CLI to enable this in there as well. but the exact ETA or roadmap is not yet published on this."

1 Vote 1 ·

1 Answer

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered SandervandeVelde42 commented

Hello @WaqasIlyas-1712 ,

Enrollments groups are offered in the Azure IoT Central portal.

Can you check out:

 az iot central device compute-device-key

It says:

Generate a derived device key from a group-level SAS key.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the response, but I am trying to create a new enrollment group with X.509 attestation, and add+verify a root certificate. All through the CLI

I can do all of this for Azure DPS, but I am trying to figure out how to do this with Azure IoT Central.

0 Votes 0 ·

Hello @WaqasIlyas-1712 ,

Azure IoT Central is a SaaS solution taking away a lot of the complexity of building a complete IoT Platform.

It hides Azure resources like the IoT Hub and DPS behind a portal and CLI. So this limits you if you have special needs.

I'm afraid these steps are not offered by the Azure IoT Central CLI. Did you check this resource too?

You can leave a message at the Azure IoT Central Feedback page.



0 Votes 0 ·