Closed sebsmgzz closed 1 year ago
Hi @sebsmgzz , to delete a message endpoint first the routes and msg enrichments associated with the endpoint need to be deleted. You can use the az iot hub message-enrichment delete
command to delete existing enrichments.
After ensuring the removal of these associations, please let us know if deleting the message endpoint works.
Hi @digimaun, you are correct. The endpoint had both, a message route and enrichment associations, after deleting does, the command deletes the endpoint as expected. I am running an automated script which isn't taking that into consideration. Thanks for the help.
Cool very glad you got things working. Will close this issue.
Describe the bug When trying to run the command to delete a message-endpoint, the CLI throws an error and fails. Then I go to the portal to very if the endpoint was deleted, and the endpoint is still visible in the corresponding part of the portal.
To Reproduce
Expected behavior The command should fail and the endpoint should be gone after running the command.
Example