我尝试了下面的代码来为Azure IoT Central生成SAS密钥。
az iot central device compute-device-key --pk {primaryKey} --device-id {deviceid}
但是它给出了下面的错误。

请让我知道如何使用PowerShell生成Azure IoT Central的SAS密钥
发布于 2022-06-14 13:13:52
您需要更新您的天青-物联网的Azure CLI分机。您还可能需要更新Azure本身。
az extension update --name azure-iot
https://github.com/Azure/azure-iot-cli-extension#installation
https://stackoverflow.com/questions/72617151
复制相似问题