hands-on lab

Analyzing IoT Data Using Azure Stream Analytics

Up to 30m
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.


Lab Overview

Azure Stream Analytics is a fully-managed service for analyzing real-time streaming data. A common use case for Stream Analytics is analyzing Internet of Things (IoT) device data. Stream Analytics accepts streaming input data sources from a variety of sources in Azure, including IoT Hubs. In this Lab, you will develop a Stream Analytics query that analyzes Internet of Things (IoT) sensor data to identify if there have been any IoT device failures.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Create Stream Analytics jobs
  • Develop and test Stream Analytics queries

Lab Prerequisites

You should be familiar with:

Lab Environment

After completing the Lab instructions, the environment should look similar to:


December 19th, 2023 - Updated screenshots & instructions to match the latest UI.

October 13th, 2022 - Added check to validate stream analytics job creation.

July 18, 2022 - Updated screenshots & instructions for the latest UI experience.

September 22nd, 2021 - Updated screenshots and instructions to reflect the latest UI experience.

About the author

Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Learning paths

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Creating a Stream Analytics Job
Configuring a Stream Analytics Job to Query for IoT Data
Executing the Stream Analytics IoT Query