azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

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

Open designncode7 opened this issue 8 years ago • 1 comments

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.

designncode7 avatar Sep 17 '18 11:09 designncode7

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

axellejamous avatar Oct 05 '18 11:10 axellejamous