
What the AI-103 exam measures, who it is written for, and how this course follows its five domains in the same order. You will see why planning and managing plus generative AI and agents carry more than half of the score, why Python and generally available features dominate the questions, and why notes written for AI-102 can mislead you. You also meet the bullet code in the corner of every lesson and the "On the exam" slide that closes each one.
The rules before the content: 120 minutes, a passing score of 700 out of 1,000, and the question types you may meet, from multiple choice and drag and drop to case studies and interactive tasks. You will learn how to use Microsoft Learn during the exam without running out of time, why a break locks the questions you have already seen, and a study plan built on section quizzes, two timed practice tests and the exam sandbox. Renewal is free every year.
Build your lab the current way: an Azure subscription with a budget alert, a resource group for the course, a Foundry resource and the senda-ai project, and a gpt-5-mini deployment on Global Standard with the default guardrail. Then your first keyless call from Python with azure-ai-projects 2.x, DefaultAzureCredential and the Responses API. The real run returns 268 output tokens, 192 of them reasoning tokens. You also learn why hub-based projects are now classic and why the exam prefers keyless access.
The company behind every example: Senda Outdoor, a Spanish mountain-gear chain with 27 stores and an online shop, building its AI on Microsoft Foundry in one project. You meet its five apps, a customer support agent, catalog images, review analysis, a store voice assistant and invoice extraction, and see which part of the exam each one covers. You follow how the support agent grows from a plain model call into a grounded, tool-using, monitored agent, and why the apps share one project, deployments and indexes.
How to pick between large models, small models, multimodal models, embedding models and Foundry Tools for each of Senda's tasks, from thousands of easy support questions to supplier invoices and in-store voice. A real demo sends the same review to gpt-5-mini twice: minimal reasoning effort costs 19 output tokens, medium costs 159 for the same answer. You also learn how model router picks a model for each prompt, its three routing modes, and the context-window catch.
A map from each job to the right service: Foundry Models and the Responses API for generation, Foundry IQ for grounding, Azure AI Search for vector and hybrid search, Foundry Agent Service for agents, Content Understanding for documents, images, audio and video, and Azure Speech with Voice Live for voice. You see how they fit together in one support request, and how to choose between prompt agents, hosted agents and Foundry workflows, which are in preview and retire on 1 December 2026.
How vector search works, shown with a real embeddings call: a question about shoes ranks waterproof boots first, with no words in common. You compare keyword, vector and hybrid retrieval with the semantic ranker, and decide where Senda's knowledge should live: file search, an Azure AI Search index or a Foundry IQ knowledge base. Then indexing: pull with an indexer and a skillset for integrated vectorization, or push from your own code, and why exact product codes still need keyword search.
The three things an agent adds to a model. Memory: the conversation for short-term context, and memory stores, in preview, for facts that last across sessions. Tools: function calling, OpenAPI, MCP with approval by default, code interpreter, web search, and the toolbox Microsoft recommends for attaching them. Knowledge: Foundry IQ or the Azure AI Search tool. You make each decision for Senda's support agent, and learn why read-only knowledge tools and action tools deserve different levels of control.
The Azure side of an AI solution: the Foundry resource, where deployments live, and its projects, where agents and connections live. You compare the basic agent setup with the standard setup, which keeps conversations in your own Cosmos DB, files in your Storage and vector stores in your Azure AI Search, and learn that an existing project cannot switch between them. Then Senda's production design: managed identity, Application Insights for traces, Sweden Central as the region, and the Foundry User role for developers.
The two questions behind every deployment: where data is processed and how you pay. You compare Global Standard, the recommended default, Data Zone for processing inside the EU or the US, and regional Standard; then pay per token, provisioned throughput units with spillover, and batch at half price within 24 hours. Finally the serverless API against managed compute in preview, plus the Developer type and instant access. Senda picks Data Zone Standard in the EU, and you learn why stored data never leaves your geography.
Deploy gpt-5-mini with custom settings: deployment name, type, version update policy, tokens-per-minute limit and guardrail, and why "no auto upgrade" stops working at retirement. Then create Senda's support agent in code with azure-ai-projects 2.x as a versioned prompt agent, open a conversation and get a real response. Without tools or knowledge, the agent guesses the return policy. You also learn the lifecycle from version to evaluation to publishing, and how threads, runs and assistants map to the new names.
A pipeline that provisions infrastructure, deploys a new agent version, tests it and only then promotes it. You see how azd pipeline config generates the workflow for GitHub Actions or Azure DevOps with federated credentials, and what azd provision and azd deploy do. A real smoke test checks three routing cases against gpt-5-mini and fails the job if any of them breaks; all three passed. Then evaluation gates, pinning production to the current version, and one environment per stage.
Where quota comes from: tokens per minute per subscription, region, model and deployment type, with quota tiers and requests per minute derived from it. A real call reads the usage and the rate-limit headers of the course deployment: 250 requests and 250,000 tokens per minute. Then the 429 error: why the limit checks an estimate that includes your maximum output, plus retry-after and backoff. Finally the cost levers: Global Standard, provisioned throughput, batch, cached input and smaller models.
Which signal answers which question: Time to Response and requests for performance, Blocked Volume and Harmful Volume Detected for safety events, evaluators for groundedness, and a fixed test set on a schedule for drift. You learn that platform metrics are collected automatically while resource logs need a diagnostic setting, where to send them, and which alerts Senda sets. Then continuous evaluation on live traffic versus scheduled evaluation, and the agent monitoring dashboard, which is in preview.
When a RAG app fails, check ingestion, the index and the search before blaming the model. A real indexer run over six Senda files reports success with zero failures, yet a password-protected PDF and a 17 MB scan are not searchable, and only the warnings say so. You read indexer status and history from Python, learn which search metrics to alert on and when to add replicas, and how the reranker score and the retrieval evaluators measure relevance.
Connect everything with identities instead of keys: a managed identity for the app, the project's own identity for search and storage, and local auth disabled so keys stop working. A real run calls the model with no key in the environment, and shows how DefaultAzureCredential can silently pick the wrong account. You compare the renamed Foundry roles, from Agent Consumer to Owner, and take the resource off the internet with a private endpoint, public access disabled and a virtual network for agent traffic.
How guardrails, formerly content filters, are built from risks, intervention points and actions, and why an agent's guardrail overrides its model's. You learn what the default guardrail, Microsoft.DefaultV2, blocks, how the blocking levels are named, and why document attacks are off by default. Then a real jailbreak against Senda's deployment: HTTP 400 with content_filter, jailbreak detected and filtered. Finally Prompt Shields for user and document attacks, and custom blocklists for exact terms.
The families of built-in evaluators, quality, RAG, risk and safety, agent and similarity, and how each one works: a judge model, a Foundry safety service, or a plain formula that needs a ground truth. A real cloud evaluation from Python scores three answers: the correct one gets 5 for groundedness, an invented 60-day return gets 2, an off-topic answer gets 1, and violence is 0 for all three. Then red teaming with the AI Red Teaming Agent, attack strategies and the attack success rate.
Three audit trails and the question each one answers: the activity log for configuration changes, resource logs for the calls, and traces for what an agent did step by step. A real OpenTelemetry trace in Application Insights shows a refund review span with the order ID and agent version, and both agent calls nested inside it. You also learn provenance with Content Credentials, citations and versions, and the approval workflow for MCP tool calls, where require approval defaults to always.
How much freedom an agent gets, advise only, approve first, or act and monitor, chosen by the cost of a mistake. You stack constraints: instructions, agent guardrails, tool allow-lists and a least-privilege agent identity. A real run with gpt-5-mini holds a 189-euro refund for a supervisor while the order lookup runs freely. Then tool-access controls on an MCP server, tested on Microsoft Learn's public server: allowed tools, approval per tool, and the Foundry Agent Consumer role.
Large, small, code and multimodal models, and the single way to call them all. You call gpt-5-mini through the project's OpenAI client with the Responses API, read the usage including reasoning tokens, and see a fluent but ungrounded answer about Senda's return policy. Then you send a photo of a size chart in the same call: the model reads the table and recommends EU 43. Finally, when to use the Responses API and when Chat Completions, and why the model parameter is your deployment name.
How an app finds the project and proves who it is: the project endpoint, DefaultAzureCredential and the Foundry User role. A real run with azure-ai-projects 2.x lists the project's three deployments and reads the senda-search connection to Azure AI Search. Then a keyless embeddings call on the OpenAI v1 endpoint, because the project endpoint does not route embeddings. You finish with which Python package does which job, and why options built on the retired azure-ai-inference package are wrong.
Retrieval augmented generation built in Python and run for real. You chunk, embed and index five Senda policies, retrieve with cosine similarity, and answer with grounding rules and citations. The worn boots question gets the real policy, the Canary Islands question gets the shipping times, and PayPal gets an honest "I don't know", with a low retrieval score as the warning. Then the production choice between Azure AI Search, the file search tool and Foundry IQ, and why you check retrieval before swapping the model.
A multistep pipeline for Senda's support inbox: classify an email with structured output and a Pydantic schema, route it with plain Python rules, look up the order with a tool, and draft a grounded reply. The real run extracts the intent, the order ID and the urgency, then shows the model guessing the meaning of an unclear tool field. You learn when to build an explicit pipeline and when to rely on a reasoning model's effort setting, and why business rules belong in code.
Which evaluator measures what: groundedness for fabrications, relevance for on-topic answers, coherence and fluency, similarity metrics against a ground truth, and the risk and safety evaluators. A real run with two model graders shows an invented 60-day return scoring 5 for relevance and 1 for groundedness. Then the built-in evaluators in a real cloud evaluation, with data mapping and a judge deployment, and when to evaluate: before release, as a pipeline gate, in production and with red teaming.
Define Senda's support agent: instructions with a role, goals and limits, and tool schemas that act as a contract with the model. Real runs show the model choosing an order lookup, a policy search or no tool at all for three messages, and create version 1 of senda-support in Foundry Agent Service with a conversation that stores its items. You compare three ways to track a conversation, a conversation, a previous response ID or client-side history, tested with a customer who gives her name and size.
Close the function-calling loop: the model asks, your code runs the function, and the output goes back with the call ID. A real two-turn run uses an order tool and a policy search, then works out an exchange deadline from "And until what date?". The same agent in Foundry Agent Service gets file search, a function tool and memory in preview. The real run recalls a past order but recommends the old size and invents an order number: a lesson in validating preview features.
Foundry's tool catalog grouped by job, and the question the exam keeps asking: which tool, and who runs the call? Real runs wire the Azure AI Search tool to the senda-policies index with a cited answer, an OpenAPI tool that returns the weather in Benasque, and Microsoft Learn's MCP server with an approval request before the call. You also see why the default hybrid query failed on a Free search service, and where API keys belong: in a project connection, never in the spec, or better, replaced by managed identity.
Where multi-agent systems live in 2026: Microsoft Agent Framework deployed as a hosted agent, Foundry workflows in preview until their December 2026 retirement, and the A2A tool for remote agents. You learn five patterns: sequential, concurrent, handoff, group chat and magentic. A real fan-out runs a sizing and a returns specialist in parallel and merges their notes, for 1,391 tokens and 18.7 seconds. Then a real sequential pipeline with Agent Framework, where a policy checker fixes a vague draft.
Set autonomy per action and enforce limits in code, not in the prompt. A real run sends four refund requests to gpt-5-mini: one is refunded automatically, a duplicate and an amount above the order total are blocked by code, and a 240-euro tent waits for a store manager. Then the built-in approval flow for MCP tools, tested both ways on Microsoft Learn's MCP server, and the layers that work together: guardrails, allow-lists, least privilege, approval and audit logs.
Agent evaluators in two groups: system evaluators, such as intent resolution and task adherence, judge the outcome, and process evaluators, such as tool call accuracy, judge the steps. You set up real continuous evaluation on Senda's deployed agent, which created 27 evaluation runs in nine minutes once the project identity had the Foundry User role. Then error analysis on six test questions: better tool descriptions and one instruction rule take the agent from four correct tool choices to six.
Tune the model you have before reaching for a bigger one. Two prompts on the same backpack question show how a role, grounding data, constraints and an output contract cut 291 words to 58. Then real measurements on gpt-5-mini: reasoning effort from minimal to high, from zero to 1,600 reasoning tokens for a similar answer; verbosity for length; and max output tokens, which includes reasoning and can return an empty response. You also see why temperature returns a 400 error on reasoning models.
Build a generate, critique and revise loop for Senda's catalog descriptions: a writer drafts, a separate critic checks five explicit rules and answers in a JSON schema, and a reviser fixes what failed. The real run goes from 186 words with invented features to a 26-word description that passes, in six model calls. You see a critic being too literal, why every loop needs a stop condition, and how to evaluate a reasoning model through its reasoning summary.
See inside each request. Server-side tracing for Foundry agents, and client-side tracing with OpenTelemetry and Application Insights, run for real with one trace tree for a whole support turn. Then you measure latency yourself with streaming: the first token arrived after 1.85 seconds at minimal effort and after more than 16 seconds at medium, with the cost per request from the usage object. Finally the safety signals on every response: guardrail annotations, Prompt Shields results and the content filter finish reason.
Combine a rules engine, your own router and Foundry's model router. Senda's real hybrid router answers order lookups from a regular expression and the orders table in under a millisecond with zero tokens, sends a simple return question to minimal effort, and escalates a tent recommendation to medium effort. Half the traffic never touches a model. You also learn to put rules after the model: schema validation, business checks and a fallback to a larger model or a person.
The GPT-image family in Foundry, which models are generally available and which need an application, and why answers built on DALL-E 3 are wrong since its retirement. You walk through a keyless image generation call and its base64 output, then the controls the exam asks about: size, quality, n, output format, transparent background and partial images, and reference images through the edits endpoint with input fidelity. The code is explained, not run: the course subscription had no image quota.
How inpainting works: the original image, a PNG mask of the same size where fully transparent pixels mark the area to change, and a prompt that describes the result. A real Pillow script builds and checks the mask for a product tag: 768 by 768, RGBA, about 31,000 pixels to edit. The edit call itself is explained but not run, for lack of image quota. You compare prompt-only edits, masks and multi-image composition, and learn the classic trap of an inverted mask.
Video generation with Sora 2, in preview, as an asynchronous job: create it, poll its status, then download within 24 hours. You walk through text to video with the videos methods of the OpenAI client, image to video with an input reference of matching size, and remix for one targeted change to a finished video. You also learn the limits: two concurrent jobs, pricing per second and no photorealistic or IP content. The code is shown, not run, because the course subscription had no Sora 2 quota.
Send Senda's product photos to gpt-5-mini as input image parts and get a catalog caption, alt text under 125 characters for screen readers, and one caption per image for two images in one request, all from real runs. A measured comparison of the detail setting shows low detail halving the input tokens with practically the same caption. You also learn which service fits image analysis today, and why Image Analysis 4.0 is deprecated and retires in September 2028.
Ground answers in what an image really shows. In a real run, the model quotes the weight from a backpack tag, explains that water-resistant is not waterproof, and replies "not visible" instead of inventing a pocket size. Then you locate regions with structured output: the boxes for the price tag and the front pocket overlap the right areas but are off by tens of pixels, so you treat them as approximate. For video, you learn how Content Understanding returns segments with timestamps.
How a Content Understanding analyzer turns video into transcripts, segments and fields, using your own model deployments. A real run of the prebuilt video search analyzer on a 28-second Senda video returns three segments with start times and summaries, after fixing a missing defaults setting that returned nothing and no error. You design a custom analyzer with generated and classified fields, and learn the difference between single-task, or standard, mode and pro mode, which is for documents only.
Three risks with images. Guardrails check both the prompt and the generated image, with extra default rules for public figures, protected artwork and profanity. In a real run, a sticky note in a return photo asks the assistant for a refund and a voucher: the model refuses and flags the injection, yet still promises a reply time no policy states, so your code must enforce the rules. Then defence in depth for image input, and catalog rules checked as numbered pass or fail results on two real photos.
Pull the product, store, topics and a summary out of a Spanish customer review into strict JSON with gpt-5-mini, run for real. You learn when the exam expects a language model with a schema and when Azure Language, whose core features are PII, language detection, named entities and health, while key phrases, summarization and sentiment are now legacy. Then the rules of strict structured outputs: every property required, nullable types for optional fields, unsupported keywords, and the Pydantic shortcut.
Detect sentiment, tone, safety issues and personal data, and pick the right tool for each. A real triage call with enum labels flags for human review a broken tent with a legal threat and a harness that opened during a fall, and redacts names, phones and emails. Then a real Azure Language PII detection run masks a name and a phone number with confidence scores and keeps the order number. Guardrails cover harmful content, and Prompt Shields cover jailbreaks and hidden instructions.
Three ways to translate Senda's reviews. A real call to the new Translator API, version 2026-06-06, shows neural translation turning a product name into a common word and missing that the size is tight, and the service rejecting gpt-5-mini as its language model for that version. Then your own gpt-5-mini flow with a glossary keeps product names and the customer's tone. You learn when Translator wins on volume and cost, document translation in synchronous and batch modes, and the storage trap.
A ladder of customizations to climb in order: instructions with domain rules, few-shot examples, a strict schema, grounding, and only then fine-tuning. A real call on a Spanish email from a harness supplier extracts the delivery note, the SKUs and an ISO date, and flags a compliance risk because a safety certificate is missing, ignoring the supplier's claim that the harnesses can be sold anyway. You then validate values in code, send risks to a human reviewer and keep an evaluation set for every prompt change.
Build the two ends of a voice assistant for Senda's stores with Azure Speech, keyless. You compare real-time, fast and batch transcription and the transcription models of the audio API. A real run recognizes a Spanish customer question from a file and shows that recognize once returns only the first sentence. Then the agent's answer is spoken by a Spanish neural voice into a wave file. You also learn SSML for pauses, speed and pronunciation, and why custom voice is a limited access feature.
Make speech native to the agent with the Voice Live API: noise suppression, echo cancellation, end-of-turn detection, interruptions and integration with Foundry agents, in preview. Teach recognition Senda's product names with custom speech, measured by word error rate, or with a phrase list for quick fixes. Then reason over audio directly: a real gpt-audio-mini call on a Spanish test call identifies the defect, the request for a refund and a frustrated caller, the tone a transcript alone would lose.
A French hiker in Senda's Benasque store and four options: standard speech translation, Live Interpreter, LLM speech in preview, and a cascade with a language model. A real run with a speech translation config and a translation recognizer returns the French text plus Spanish and English in one call, and again loses the second sentence with recognize once. You learn the format trap, a full locale for the source and plain language codes for the targets, and when a glossary justifies the cascade.
The two ways into Azure AI Search: pull with a data source, an indexer and a skillset, or push from your own code. You follow a RAG ingestion flow for scanned delivery notes: normalized images, OCR, Text Merge, Text Split, the embedding skill and a vectorizer, which together make integrated vectorization. A real script chunks and embeds Senda's returns policy into three vectors of 1,536 dimensions. Then images, audio and video, where Content Understanding runs first and you index its text.
Compare keyword, vector, hybrid and semantic ranking with real runs over six Senda products. Vector search finds the boot for a question with no exact word in common; a hand-made BM25 misses it, and Reciprocal Rank Fusion drops it to fifth place. Then a real hybrid plus semantic query in Azure AI Search, with an English analyzer, moves it up to second, with reranker scores on the 0 to 4 scale. You also learn why a hybrid score of 0.03 is perfectly normal.
The skill families of a skillset: built-in vision and text skills billed through a Foundry resource, skills that use your own deployments, custom Web API and AML skills, and utility skills. You follow the enrichment tree of a delivery note from OCR to merged text, and write a custom Web API skill that maps product codes to families, tested locally with the exact request shape an indexer sends. Then the registration settings, and why a missing output field mapping leaves the index field empty.
Three ways to give an agent knowledge: the Azure AI Search tool, a Foundry IQ knowledge base and file search. In a real run, an agent with a search tool and an order function plans its own steps and answers a worn-boots question with the warranty and a citation. Then Foundry IQ over MCP: the knowledge base itself works, but the agent call fails with 401 without a remote tool connection. Finally, when retrieval belongs in a fixed workflow step and when in an agent tool.
The Document Intelligence ladder: read, layout, prebuilt models such as invoices, and custom template, neural and classifier models. A real layout run on a scanned delivery note returns the lines table as HTML and reads the driver's handwritten remark correctly. Then the generative route: gpt-5-mini with a strict JSON schema extracts every field and converts the date to ISO, but gives no confidence scores. You finish with a validation pipeline that sends only the doubtful notes to a person.
How an analyzer works: your own model deployments, content extraction, and fields that are extracted, classified or generated, each with a confidence score and its source. You build a real custom analyzer for Senda's delivery notes: the supplier comes back with 0.88 confidence, and damage noted is inferred from a handwritten remark with 0.57, pointing at the regions it came from. You compare the analyzer families, and use Microsoft's rules to choose between Content Understanding and Document Intelligence.
This course contains the use of artificial intelligence.
AI-103, Developing AI Apps and Agents on Azure, is the exam for the Microsoft Certified: Azure AI Apps and Agents Developer Associate certification, the successor of AI-102. The exam does not ask for definitions. It describes a company and a requirement, and asks which model, service, setting or line of code you would choose. This course prepares you for exactly those decisions.
The course follows the official skills outline as of April 16, 2026, one section per domain, in the same order and with the same weights. Every lesson covers one or more official bullets, shows the code in Python, the language the exam expects, and ends with what the exam asks about it and the trap it likes to set. The exam is offered in English and several other languages, including Spanish. It uses the 2026 names throughout: Microsoft Foundry, Foundry Tools, Foundry Agent Service with the Responses API, guardrails and Foundry IQ, so you won't be misled by notes written for AI-102.
You learn with one realistic company, Senda Outdoor, a Spanish mountain-gear retailer with 27 stores and an online shop. Senda builds five AI apps in one Foundry project: a customer support agent that looks up orders and asks a human before refunding, catalog images, review analysis, a voice assistant for its stores, and extraction of supplier invoices and delivery notes. The demos run for real against Microsoft Foundry, and the results on screen are the real results, including the ones that went wrong: a memory that recalled the wrong size, an indexer that reported success while two files were not searchable, a critic that was too literal.
What you'll practise:
Planning: choosing models and Foundry services, retrieval options, agent memory and tools, infrastructure, deployment types, quotas, rate limits and cost
Operating: monitoring models and search indexes, managed identity and keyless access, private networking and the Foundry roles, CI/CD with the Azure Developer CLI
Responsible AI: guardrails, Prompt Shields, blocklists, evaluators, red teaming, tracing, approval workflows and agent governance
Generative AI and agents: the Foundry SDK, RAG end to end, structured outputs, prompt agents, function calling, memory, OpenAPI and MCP tools, multi-agent orchestration, prompt engineering and observability
Computer vision: image generation and editing, video generation, captions and alt text, visual question answering, Content Understanding for images and video, and prompt injection hidden in images
Text and speech: extraction, sentiment and PII, Azure Translator, Azure Speech, Voice Live, custom speech and speech translation
Information extraction: indexers and skillsets, vector, hybrid and semantic search, custom skills, Foundry IQ, Document Intelligence and Content Understanding analyzers
About 3.5 hours of video in 55 short lessons, five section quizzes and two full practice exams of 50 original questions each, with an explanation for every answer.
One limit, stated plainly: the three lessons on image and video generation explain the code and every option the exam asks about, but they were not run live. The course subscription had no image or video quota, and Microsoft declined two quota requests for lack of capacity in the region. Check image quota per region before you plan a project around it.
How this course is made: the instructor designs and reviews every lesson against the official skills outline and the current Microsoft documentation. The narration uses an AI voice, and the diagrams and animations are generated from the instructor's scripts. The demos were run for real against Microsoft Foundry. The quiz and practice exam questions are original and reviewed.
Who it's for: developers preparing for AI-103, AI-102 candidates moving to the new exam, and anyone who wants a structured, up-to-date tour of building AI apps and agents on Microsoft Foundry.