StudyToCert

All certifications / AI-200 / Lessons

Microsoft Certified: Azure AI Cloud Developer Associate AI-200 (replaced AZ-204) · Domain 3: Connect to and consume Azure services

Configuration and deployment: app settings, local.settings.json, host.json, identity-based connections, `func azure functionapp publish`

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

A function app needs settings, such as where its storage is and how to reach other services. In Azure these live in app settings, which work like labeled sticky notes your code can read. On your own computer, a file called local.settings.json plays the same role, but it stays on your computer and is not uploaded. A different file, host.json, holds rules for the whole app, like logging and timeouts, and it is uploaded with your code. Instead of storing passwords, the app can sign in with its own Azure identity. To publish, you run one command that packages and uploads your project. It is like packing for a trip: some things go in the suitcase, and some stay home.

It is Friday at Kestrel Travel, and the new booking processor works perfectly on Dana's laptop. She runs func azure functionapp publish, watches it succeed, and goes to get coffee. When she returns, the function app in Azure is throwing a missing-setting error and the Service Bus queue is filling up. Nothing in the code changed between her laptop and the cloud. Something in the configuration did not make the trip. Which file stayed behind, which one went with the code, and how should the app have connected to Service Bus in the first place?

A function app reads its configuration from several places, and knowing which file does what prevents a lot of "works locally, fails in Azure" problems. The short version: app settings in Azure and local.settings.json on your machine hold per-environment values, host.json holds app-wide runtime behavior and travels with your code, and identity-based connections let you drop secrets entirely.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study AI-200 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the AI-200 study plan