Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Azure icon
Labs

Monitor and Troubleshoot an IoT Solution

In this lab, you start out with a predeployed IoT solution based on Azure IoT Hub. Unfortunately, the solution includes several incorrect configurations and bugs that not only prevent you from accessing key components, but also prevent telemetry from flowing properly from your IoT device to the desired destinations in the solution. In order to complete this lab, you will need to conduct root-cause analysis and apply changes to the hub infrastructure in order to create a working IoT solution. All work takes place in the Azure portal and assumes you know the basics of portal navigation. ### Prerequisites Before taking on this lab, you should have a pretty solid understanding of Azure IoT Hub infrastructure and device management, as well as familiarity with telemetry routing and Event Grid.

Azure icon
Lab platform
Lab Info
Level
Advanced
Last updated
Sep 22, 2025
Duration
1h 30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create and Connect a Simulated Device to Azure IoT Hub
    1. Log in to the Azure portal using the lab credentials in an InPrivate or incognito window.
    2. Navigate to the only IoT Hub already deployed in the lab subscription.
    3. Attempt to create a new device. You will be blocked from the device explorer, and you will need to identify the source of the problem. There will be a pop-up message on the screen providing you with a hint of what needs to be fixed before you can access the device registry. If you missed the pop-up, select "Retry" to view it. Your first troubleshooting task is to resolve this problem.
    4. Once you have applied the fix, create a new device, and copy the Primary Connection String.
    5. Use this link to open the device simulator in a new browser tab or window.
    6. In the code pane, find and modify the connection string using the Primary Connection String you copied from the new device registration.
    7. Run the code and confirm that the device is sending telemetry data.
    8. Let the code continue to run, and return to the Azure portal to verify that data is flowing to the hub.
  2. Challenge

    Identify and Fix Problem with Data Flow to the Storage Queue
    1. Once you have verified that data is flowing to the hub, confirm that an Event Grid topic and subscription are integrated with the hub.
    2. Navigate to the storage queue to check the flow of data. You should confirm that no data is flowing through the Event Grid subscription to the queue. This is your next troubleshooting challenge.
    3. Identify the root cause(s) of this problem and apply the fixes.
    4. Verify that data is flowing to the storage queue. You may need to wait a few minutes and refresh to see data arriving.
  3. Challenge

    Identify and Fix Problem with Data Flow to the Blob Container
    1. Once you have verified that data is flowing to the hub, confirm that a custom route, with a storage endpoint, is defined on the hub. (Ignore the other route created by Event Grid.)
    2. Navigate to the Blob Storage container called iot-device-telemetry to check the flow of data. You should confirm that no data is flowing through the hub message route to the blob container. This is your final troubleshooting challenge.
    3. Identify the root cause(s) of this problem and apply the fixes.
    4. Verify that data is flowing to the storage queue. You may need to wait a few minutes and refresh to see data arriving.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight