Azure-cli: generate-sas-token cannot be used with az iot hub command

Created on 17 Sep 2018  Â·  1Comment  Â·  Source: Azure/azure-cli

This error is generated:
az iot hub: 'generate-sas-token' is not in the 'az iot hub' command group. See 'az iot hub --help'.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Documentation IotHub Service Attention

Most helpful comment

I had the same issue. All other commands listed in doc generate the same error.

To fix this you have to install the Azure CLI IoT extension:
az extension add --name azure-cli-iot-ext

>All comments

I had the same issue. All other commands listed in doc generate the same error.

To fix this you have to install the Azure CLI IoT extension:
az extension add --name azure-cli-iot-ext

Was this page helpful?
0 / 5 - 0 ratings