Open ericmitt opened 4 years ago
I ran: az iotcentral app monitor-events --app-id "4683e79d-1cef-446f-bec3-b17f8ab56c3f" az iotcentral app: 'monitor-events' is not in the 'az iotcentral app' command group. See 'az iotcentral app --help'.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @iluican @jlian
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @iluican @jlian
Hi ericmitt, It's likely that the az CLI IoT extension is not up to date. You'll need to make sure that you have the latest extension. Run "az extension list-available --output table" to get a list of extensions and see what version you have. You can determine what the latest version is from here (at the time of writing, it was 0.8.4): https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-list?view=azure-cli-latest To update the extension, run: "az extension update --name azure-cli-iot-ext" Once you update, I suspect that your problem will be solved. Good luck!
az extension update --name azure-cli-iot-ext does not install anything. I'm at version 0.7.1 it is the latest. Still have the same issue. C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.9>az iotcentral app monitor-events --app-id "4683e79d-1cef-446f-bec3-b17f8ab56c3f" az iotcentral app: 'monitor-events' is not in the 'az iotcentral app' command group. See 'az iotcentral app --help'.
Actually if you look at the list of latest extensions, the IoT extension is at v0.8.5. https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-list?view=azure-cli-latest
If you are trying to run the extension update and nothing is happening, then you need to force the update to the latest version. I'm at the latest version myself right now so I can't test to see how to do that.
The other thing is to check the version az. Make sure that's at the latest version and if not, update that then try the extension update.
The current version of the Azure CLI is 2.0.76. Instructions for installing/updating the CLI is here: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
I want to monitor event for central as I do for IotHub. the doc say use az iot central app monitor-events. But the central commands looks to be missing? Bug or I miss something here?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.