AZ CLI Deleting IoT Hub Routing Endpoint Failure
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az iot hub routing-endpoint delete
Errors:
EndpointName:MMSHealth is not from a valid type. If you contact a support representative please include this correlation identifier: 14f2f36c-04f3-4ce1-b8d5-8e9845db4ca9, timestamp: 2019-09-25 15:56:05Z, errorcode: IH400108.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
az iot hub routing-endpoint delete -g {} --hub-name {} --endpoint-name {} --subscription {} --debug --verbose
Expected Behavior
Environment Summary
Windows-10-10.0.18985-SP0
Python 3.6.6
Shell: powershell.exe
azure-cli 2.0.74
azure-cli-iot-ext 0.7.1
Extensions:
alias 0.5.2
azure-cli-iot-ext 0.7.1
azure-devops 0.12.0
interactive 0.4.3
storage-preview 0.2.7
vm-repair 0.1.1
webapp 0.2.19
Additional Context
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
This error comes from the service (as opposed to CLI itself) when the routing endpoint type isn't one of the valid types.
Can you post the command that you actually used?
$iothubend = az iot hub routing-endpoint list --endpoint-type eventhub --hub-name $iothubname ` -g $resgroup --subscription $subname | ConvertFrom-Json
I thought the error came from delete, not list?
@iluican can you get someone to look at this?
@digimaun
@Azure/azure-iot-cli-triage
@Spyntek Can you update the extension to use azure-iot? Can you still reproduce the error with the updated extension?
@Spyntek Apologies for the delayed response. This GitHub issue has been open for quite some time. Could you please let us know if you still facing this issue and need assistance? Awaiting your reply.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!