hands-on lab

Integrate Services with Azure Function Apps

Beginner
1h 15m
2,379
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.
Lab 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

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
About the author
Avatar
Logan Rakai
Lead Content Developer - Labs
Students
214,237
Labs
222
Courses
9
Learning paths
56

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 an Azure Function App in the Portal
Creating an Azure Function in the Portal
Testing the Azure Function
Logging and Monitoring Azure Functions