Open rido-min opened 2 years ago
The response is from the certification service, the az iot product test
command group is not doing any device verification client side.
If you can provide more details on the arguments passed into the commands and with use of --debug
, we can determine if the service calls are constructed correctly, but if everything checks out the next step is to engage the certification service team.
for completness here is the response payload from the CLI
C:\code\temp\aics_cli> az iot hub invoke-device-method -n ridox --device-id memmon23 --method-name getRuntimeStats --method-payload '2'
{
"payload": {
"diagnosticResults": {
"command: ": "1",
"machine name": "RIDOSBOOK3",
"os version": "Microsoft Windows NT 10.0.22000.0",
"reconnects: ": "0",
"telemetry: ": "11",
"twin receive: ": "0",
"twin sends: ": "4"
}
},
"status": 200
}
full command invocation and debug traces below
az iot product test task create --type QueueTestRun --test-id 35346649-1627-4e57-b701-c45e7231a0fa --wait --debug
I'm validating a PnP device using a command with the next response
The device returns a proper JSON object,
When running the
az iot product test
I got