This error can occur when you have multiple applications reading from an endpoint using the default ($Default) consumer group. As a best practice, you should create a consumer group per consuming application. When you right-click and monitor in VS2019 or VS Code, it uses the default consumer group. So what you can do instead is use the az iot hub monitor-events command and use the -c flag to specify a consumer group you created. You can create one in the portal in the Built-in endpoints blade: enter image description here

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top