This lab is currently in Beta, content may be updated as we refine the material
LABINTERMEDIATE

Build a Platform Agent on Azure with Azure OpenAI and Azure MCP Server

Build a C# ReAct agent on Azure OpenAI with Microsoft Agent Framework 1.6.1, give it Azure MCP Server tools, deploy it to AKS with ACR admin credentials and an AOAI API key secret, and trace every step in Application Insights.

75 minutes
ai/azure
Build a Platform Agent on Azure with Azure OpenAI and Azure MCP Server - Platform Engineering Hands-On Lab Icon
Share this Lab

Lab Overview

🛠 Lab from the AI Platform Engineering on Azure course. Doubles as the Azure-variant slot for the AI Platform Engineering Bootcamp Week 4. Course landing page: https://academy.tekanaid.com/courses/ai-platform-engineering-azure Bootcamp landing page: https://academy.tekanaid.com/bootcamps/ai-platform-engineering-bootcamp

🟡 Beta lab. Hands-on instructions, check scripts, and solve scripts are in place.

This lab is your end-to-end introduction to the Azure-native agent stack. You will provision a real Azure OpenAI resource and deploy a `gpt-4o-mini` model, scaffold a C# ReAct agent with the Microsoft Agent Framework 1.6.1 package set, attach the Microsoft-first-party Azure MCP Server so the agent can answer questions like "what resource groups do I have?" by calling Azure's management plane, containerize and deploy the agent to AKS using ACR admin credentials for image pull and an AOAI API key Kubernetes Secret, and wire Application Insights so every think-act-observe step shows up as a trace. By the end you will have shipped the Azure-flavored version of the bootcamp's `ai-platform-assistant` pattern with the four Azure-specific building blocks: Azure OpenAI model, Azure MCP Server tools, AKS deployment, and Application Insights observability.

What You'll Learn

Provision an Azure OpenAI resource and deploy a gpt-4o-mini model from the Azure CLI

Scaffold a C# console agent with the Microsoft Agent Framework 1.6.1 package set (Microsoft.Agents.AI + sister packages)

Build a ReAct loop with the Microsoft.Agents.AI.Workflows package and connect to Azure OpenAI via the AsAIAgent extension

Wire the Azure MCP Server (Azure.Mcp 1.0) into the agent over stdio and expose read-only Azure tools

Containerize the agent, push to Azure Container Registry via ACR admin credentials, and deploy to AKS using a Kubernetes Secret for AOAI API key access

Instrument with Application Insights and reason about prompt-injection and out-of-scope behavior from the captured traces

Prerequisites

basic-csharp-dotnet

azure-cli-fundamentals

kubernetes-basics

docker-basics

understanding-of-react-agents-and-mcp

Technologies Covered

aiazureazure-openaimcpcsharpmicrosoft-agent-frameworkaks

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

Buying for a team? Private corporate training is available for up to 15 learners.View team training
MonthlyQuarterly
Try Premium free for 7 days →

Just exploring? Start free below. Want the full experience? Try Premium free for 7 days (card required, $0 today).

Pro

All courses, with lab scripts to run on your own machine

$59/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Full access to all courses
  • Lab scripts to download and run on your own machine (hosted labs not included)
  • Progress tracking
  • Certificate of completion
  • Community access
  • Bootcamp participation
  • New content access
Recommended

Premium

Full access, including unlimited hosted labs

$99/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Everything in Pro
  • Unlimited hands-on labs, fully hosted on TeKanAid Academy (nothing to set up)
  • Lab AI Assistant
  • Accelerator bootcamps with live office hours
  • Priority support

Prefer a single course?

Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.

Browse Courses

Just exploring? Start free, no account needed

Three free ways to start. All bridge into the paid Premium catalog when you're ready.

Not ready to commit? The crash course is email-only. No academy account required.

Ready to Get Started?

Start this hands-on lab and build real-world Platform Engineering skills

Get Access Now