Skip to content
End-to-end IoT workshop focusing on a real-time asset tracking scenario.
JavaScript CSS HTML
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Update Twitter card Nov 8, 2019
step-001-connecting-a-device Fixed broken link to section 2 from section 1 Nov 6, 2019
step-002-setting-up-data-pipeline spelling Nov 3, 2019
step-003-anomaly-detection spelling Nov 3, 2019
step-004-map-visualization Fix issue #1. Nov 4, 2019
.gitignore Spellcheck Nov 3, 2019
LICENSE Initial LICENSE commit Nov 9, 2019
LICENSE-CODE Initial LICENSE-CODE commit Nov 9, 2019 Add Contributing and Legal Notices section Nov 9, 2019
_config.yml Merge branch 'master' of… Nov 8, 2019
package-lock.json Initial check-in Nov 3, 2019

Azure IoT Workshop: Real-time asset tracking for international company Contoso Art Shipping

Contoso Intro image

Introduction and Scenario

Contoso Art Shipping Inc. is a company specialized in shipping artwork. They are losing money as their customers are generally dissatisfied with their service – more and more parcel are getting damaged due to adverse weather conditions and improper handling, which causes a tremendous increase in insurance claims, as well as associated personnel costs to follow up on said claims.

Contoso already have an ERP in place and they have built a mobile application that allows to show “basic” tracking information, essentially the parcel pick-up date and estimated delivery date.

They realize they need to be more precise on the location of the parcels, conditions during travel, and their overall ability to detect that goods are getting tampered during transport – they ship ~50,000 shipments a month with the issues mentioned above costing them an estimated $2 per shipment on average, i.e over $1M every year.

Contoso Art Shipping's requirements in a nutshell

  • Track in real-time the physical location and condition of their parcels
  • Efficiently store this data so that it can be accessed and queried
  • Get alerts when abnormal conditions are detected…
  • …and visualize them on a map
  • Integrate with their existing business applications
  • Scale from a very small deployment to something much bigger


In this workshop, you will be building Contoso Art Shipping's IoT solution.

  1. Connecting an asset tracking device to Azure IoT
  2. Setting up a data pipeline
  3. Anomaly detection
  4. Map visualization - Where are my parcels?

The last part will showcase how to feed your insights (we'll learn how to trigger events on sudden temperature variations on our asset tracking devices) into Contoso's ERP and mobile application. It will be shown through a demo, as time constraints don't allow for this part to be included in this one-day workshop.

Supporting slide deck

You can follow along using the following slide deck.


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at

Privacy information can be found at

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.

You can’t perform that action at this time.