hands-on lab

Exploring IOT Hub Service and Devices Using Azure Portal

Up to 1h
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Azure IoT Hub is a managed service that enables reliable and secure bi-directional communications between millions of IoT devices and a solution back end. It helps you to establish reliable bi-directional communication with these devices and to ingest, store, and analyze data from them. You can also monitor your devices remotely and scale deployments as needed.

Organizations can leverage the IoT Hub service to build and deploy scalable and reliable IoT solutions. It helps lower the cost of IoT solutions by eliminating the need to develop a custom IoT platform. It also helps reduce the management burden by handling tasks such as provisioning, monitoring, and scaling IoT devices.

In this hands-on lab, you will learn how to create an IoT Hub and register a device. You will also learn how to send messages to the device using a Raspberry PI simulator.

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Understand the basic concepts of IoT Hub
  • Create an IoT Hub
  • Register a device
  • Send messages to the device using a Raspberry PI simulator

Intended audience

  • Candidates for Azure Developer Associate certification (AZ-204)
  • Data Engineers
  • DevOps Engineers
  • Machine Learning Engineers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • Azure IoT Hub

The following content can be used to fulfill the prerequisites:


June 12th, 2024 - Resolved IoT Hub creation issue

August 28th, 2023 - Resolved IoT Hub deployment issue

Environment before

Environment after

About the author

Learning paths

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Creating Azure IoT Hub Resource Using Azure Portal
Creating IoT Hub Device and Simulate Message Queue