Skip to main content

Toggle Deployment Slots on an Azure Function App Using AZ CLI

Hands-On Lab


Photo of

Training Architect





In this lab, we use Azure CLI to create multiple slots in an Azure Function App Service, then deploy two different versions of an app to each slot. Once that is finished, we run the app in each slot, swap the two slots, and then run the apps again. Finally we verify that the output has swapped.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.