hands-on lab

Integrate Services with Azure Function Apps

Difficulty: Beginner
Duration: Up to 1 hour and 15 minutes
Students: 2,646
Rating: 4.2/5
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.

Description

Azure Functions are Microsoft's primary serverless compute service. With Azure Functions you gain development agility by focusing on your code and not worrying about maintaining servers. You will observe these benefits as well as the simplicity of using Azure Function's event-driven model to integrate Azure services. 

The Function you create in this Lab will integrate Azure Blob Storage with Azure Table Storage. Any time a blob is uploaded to a Blob Storage container, a corresponding row in Table Storage will be created. The function highlights the concepts of triggers and bindings and demonstrate how easy it is to integrate services with Azure Functions.

Learning Objectives

  • Understand key Azure Function topics including Function Apps, Functions, triggers, and bindings
  • Create Azure Function Apps and Azure Functions in the Azure Portal
  • Write an Azure Function in C# to integrate Azure services using triggers and bindings
  • Learn the different ways to monitor and log Azure Functions including using Application Insights
  • Configure key Azure Function App settings

Intended Audience

  • Anyone interested in integrating services with code
  • Anyone responsible for managing Function Apps such as Operations or DevOps engineers
  • This Lab is recommended for AZ-101 and AZ-203 examinees

Prerequisites

  • Knowledge of the Serverless computing/Function as a Service paradigm, preferably in Azure
  • Basic knowledge of Azure Storage is beneficial but not required

You can take the Introduction to Azure Functions Course to satisfy the prerequisites.

Updates

August 21st, 2024 - Updated function version

June 11th, 2024 - Updated the instructions and screenshots to reflect the latest UI

May 7th, 2024 - Updated the instructions and screenshots to reflect the latest UI

January 8th, 2024 - Updated instructions to enable Application Insights

November 11th, 2023 - Resolved deployment issue

October 4th, 2023 - Updated instructions and screenshots to reflect the latest UI

August 3rd, 2023 - Resolved intermittent deployment issue

May 18th, 2023 - Updated instructions and screenshots to reflect the latest UI

June 16th, 2022 - Resolved issue regarding Application Insights

May 09, 2022 - Updated instructions and screenshots to reflect the latest UI

February 28th, 2022 - Updated instructions and screenshots to reflect the latest UI

March 27th, 2021 - Updated to the latest Portal experience, resolved an issue causing the lab storage account not being selectable when creating the function app

 

Environment before

Environment after

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Creating an Azure Function App in the Portal
Creating an Azure Function in the Portal
Testing the Azure Function
Logging and Monitoring Azure Functions