Skip to content

Welcome to the comprehensive guide for Azure Developer CLI (azd)! This repository is designed to help developers at all levels from students to professional developers learn and master Azure Developer CLI for efficient cloud deployments.

License

Notifications You must be signed in to change notification settings

Joe-joey1/AZD-for-beginners

Β 
Β 

Repository files navigation

AZD For Beginners: A Structured Learning Journey

AZD-for-beginners

GitHub watchers GitHub forks GitHub stars

Azure Discord Azure AI Discord

Getting Started with This Course

Follow these steps to begin your AZD learning journey:

  1. Fork the Repository: Click GitHub forks
  2. Clone the Repository: git clone https://github.com/microsoft/azd-for-beginners.git
  3. Join the Community: Azure Discord Communities for expert support
  4. Choose Your Learning Path: Select a chapter below that matches your experience level

Multi-Language Support

Automated Translations (Always Up-to-Date)

Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Estonian | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Korean | Lithuanian | Malay | Marathi | Nepali | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Tamil | Thai | Turkish | Ukrainian | Urdu | Vietnamese

Course Overview

Master Azure Developer CLI (azd) through structured chapters designed for progressive learning. Special focus on AI application deployment with Azure AI Foundry integration.

Why This Course is Essential for Modern Developers

Based on Azure AI Foundry Discord community insights, 45% of developers want to use AZD for AI workloads but encounter challenges with:

  • Complex multi-service AI architectures
  • Production AI deployment best practices
  • Azure AI service integration and configuration
  • Cost optimization for AI workloads
  • Troubleshooting AI-specific deployment issues

Learning Objectives

By completing this structured course, you will:

  • Master AZD Fundamentals: Core concepts, installation, and configuration
  • Deploy AI Applications: Use AZD with Azure AI Foundry services
  • Implement Infrastructure as Code: Manage Azure resources with Bicep templates
  • Troubleshoot Deployments: Resolve common issues and debug problems
  • Optimize for Production: Security, scaling, monitoring, and cost management
  • Build Multi-Agent Solutions: Deploy complex AI architectures

πŸ“š Learning Chapters

Select your learning path based on experience level and goals

πŸš€ Chapter 1: Foundation & Quick Start

Prerequisites: Azure subscription, basic command line knowledge
Duration: 30-45 minutes
Complexity: ⭐

What You'll Learn

  • Understanding Azure Developer CLI fundamentals
  • Installing AZD on your platform
  • Your first successful deployment

Learning Resources

Practical Exercises

# Quick installation check
azd version

# Deploy your first application
azd init --template todo-nodejs-mongo
azd up

πŸ’‘ Chapter Outcome: Successfully deploy a simple web application to Azure using AZD


πŸ€– Chapter 2: AI-First Development (Recommended for AI Developers)

Prerequisites: Chapter 1 completed
Duration: 1-2 hours
Complexity: ⭐⭐

What You'll Learn

  • Azure AI Foundry integration with AZD
  • Deploying AI-powered applications
  • Understanding AI service configurations

Learning Resources

Practical Exercises

# Deploy your first AI application
azd init --template azure-search-openai-demo
azd up

# Try additional AI templates
azd init --template openai-chat-app-quickstart
azd init --template agent-openai-python-prompty

πŸ’‘ Chapter Outcome: Deploy and configure an AI-powered chat application with RAG capabilities


βš™οΈ Chapter 3: Configuration & Authentication

Prerequisites: Chapter 1 completed
Duration: 45-60 minutes
Complexity: ⭐⭐

What You'll Learn

  • Environment configuration and management
  • Authentication and security best practices
  • Resource naming and organization

Learning Resources

Practical Exercises

  • Configure multiple environments (dev, staging, prod)
  • Set up managed identity authentication
  • Implement environment-specific configurations

πŸ’‘ Chapter Outcome: Manage multiple environments with proper authentication and security


πŸ—οΈ Chapter 4: Infrastructure as Code & Deployment

Prerequisites: Chapters 1-3 completed
Duration: 1-1.5 hours
Complexity: ⭐⭐⭐

What You'll Learn

  • Advanced deployment patterns
  • Infrastructure as Code with Bicep
  • Resource provisioning strategies

Learning Resources

Practical Exercises

  • Create custom Bicep templates
  • Deploy multi-service applications
  • Implement blue-green deployment strategies

πŸ’‘ Chapter Outcome: Deploy complex multi-service applications using custom infrastructure templates


🎯 Chapter 5: Multi-Agent AI Solutions (Advanced)

Prerequisites: Chapters 1-2 completed
Duration: 2-3 hours
Complexity: ⭐⭐⭐⭐

What You'll Learn

  • Multi-agent architecture patterns
  • Agent orchestration and coordination
  • Production-ready AI deployments

Learning Resources

Practical Exercises

# Deploy the complete retail multi-agent solution
cd examples/retail-multiagent-arm-template
./deploy.sh

# Explore agent configurations
az deployment group show --resource-group <rg-name> --name <deployment-name>

πŸ’‘ Chapter Outcome: Deploy and manage a production-ready multi-agent AI solution with Customer and Inventory agents


πŸ” Chapter 6: Pre-Deployment Validation & Planning

Prerequisites: Chapter 4 completed
Duration: 1 hour
Complexity: ⭐⭐

What You'll Learn

  • Capacity planning and resource validation
  • SKU selection strategies
  • Pre-flight checks and automation

Learning Resources

Practical Exercises

  • Run capacity validation scripts
  • Optimize SKU selections for cost
  • Implement automated pre-deployment checks

πŸ’‘ Chapter Outcome: Validate and optimize deployments before execution


🚨 Chapter 7: Troubleshooting & Debugging

Prerequisites: Any deployment chapter completed
Duration: 1-1.5 hours
Complexity: ⭐⭐

What You'll Learn

  • Systematic debugging approaches
  • Common issues and solutions
  • AI-specific troubleshooting

Learning Resources

Practical Exercises

  • Diagnose deployment failures
  • Resolve authentication issues
  • Debug AI service connectivity

πŸ’‘ Chapter Outcome: Independently diagnose and resolve common deployment issues


🏒 Chapter 8: Production & Enterprise Patterns

Prerequisites: Chapters 1-4 completed
Duration: 2-3 hours
Complexity: ⭐⭐⭐⭐

What You'll Learn

  • Production deployment strategies
  • Enterprise security patterns
  • Monitoring and cost optimization

Learning Resources

Practical Exercises

  • Implement enterprise security patterns
  • Set up comprehensive monitoring
  • Deploy to production with proper governance

πŸ’‘ Chapter Outcome: Deploy enterprise-ready applications with full production capabilities


πŸŽ“ Workshop Overview: Hands-On Learning Experience

Interactive Workshop Materials

Comprehensive hands-on learning with browser-based tools and guided exercises

Our workshop materials provide a structured, interactive learning experience that complements the chapter-based curriculum above. The workshop is designed for both self-paced learning and instructor-led sessions.

πŸ› οΈ Workshop Features

  • Browser-Based Interface: Complete MkDocs-powered workshop with search, copy, and theme features
  • GitHub Codespaces Integration: One-click development environment setup
  • Structured Learning Path: 7-step guided exercises (3.5 hours total)
  • Discovery β†’ Deployment β†’ Customization: Progressive methodology
  • Interactive DevContainer Environment: Pre-configured tools and dependencies

πŸ“š Workshop Structure

The workshop follows a Discovery β†’ Deployment β†’ Customization methodology:

  1. Discovery Phase (45 mins)

    • Explore Azure AI Foundry templates and services
    • Understand multi-agent architecture patterns
    • Review deployment requirements and prerequisites
  2. Deployment Phase (2 hours)

    • Hands-on deployment of AI applications with AZD
    • Configure Azure AI services and endpoints
    • Implement security and authentication patterns
  3. Customization Phase (45 mins)

    • Modify applications for specific use cases
    • Optimize for production deployment
    • Implement monitoring and cost management

πŸš€ Getting Started with the Workshop

# Option 1: GitHub Codespaces (Recommended)
# Click "Code" β†’ "Create codespace on main" in the repository

# Option 2: Local Development
git clone https://github.com/microsoft/azd-for-beginners.git
cd azd-for-beginners/workshop
# Follow the setup instructions in workshop/README.md

🎯 Workshop Learning Outcomes

By completing the workshop, participants will:

  • Deploy Production AI Applications: Use AZD with Azure AI Foundry services
  • Master Multi-Agent Architectures: Implement coordinated AI agent solutions
  • Implement Security Best Practices: Configure authentication and access control
  • Optimize for Scale: Design cost-effective, performant deployments
  • Troubleshoot Deployments: Resolve common issues independently

πŸ“– Workshop Resources

Perfect for: Corporate training, university courses, self-paced learning, and developer bootcamps.


πŸ“– What is Azure Developer CLI?

Azure Developer CLI (azd) is a developer-centric command-line interface that accelerates the process of building and deploying applications to Azure. It provides:

  • Template-based deployments - Use pre-built templates for common application patterns
  • Infrastructure as Code - Manage Azure resources using Bicep or Terraform
  • Integrated workflows - Seamlessly provision, deploy, and monitor applications
  • Developer-friendly - Optimized for developer productivity and experience

AZD + Azure AI Foundry: Perfect for AI Deployments

Why AZD for AI Solutions? AZD addresses the top challenges AI developers face:

  • AI-Ready Templates - Pre-configured templates for Azure OpenAI, Cognitive Services, and ML workloads
  • Secure AI Deployments - Built-in security patterns for AI services, API keys, and model endpoints
  • Production AI Patterns - Best practices for scalable, cost-effective AI application deployments
  • End-to-End AI Workflows - From model development to production deployment with proper monitoring
  • Cost Optimization - Smart resource allocation and scaling strategies for AI workloads
  • Azure AI Foundry Integration - Seamless connection to AI Foundry model catalog and endpoints

🎯 Templates & Examples Library

Featured: Azure AI Foundry Templates

Start here if you're deploying AI applications!

Template Chapter Complexity Services
Get started with AI chat Chapter 2 ⭐⭐ AzureOpenAI + Azure AI Model Inference API + Azure AI Search + Azure Container Apps + Application Insights
Get started with AI agents Chapter 2 ⭐⭐ Azure AI Agent Service + AzureOpenAI + Azure AI Search + Azure Container Apps + Application Insights
Multi-agent workflow automation Chapter 5 ⭐⭐⭐ AzureOpenAI + Azure AI Agent Service + Semantic Kernel + Azure CosmosDB + Azure Container Apps
Generate documents from your data Chapter 4 ⭐⭐⭐ AzureOpenAI + Azure AI Search + Azure AI Services + Azure CosmosDB
Improve client meetings with agents Chapter 5 ⭐⭐⭐ AzureOpenAI + Azure AI Search + Azure CosmosDB + Azure SQL Database
Modernize your code with agents Chapter 5 ⭐⭐⭐ AzureOpenAI + Azure Agent Service + Semantic Kernel + Azure CosmosDB + Azure Container Apps
Build your conversational agent Chapter 4 ⭐⭐⭐ AI Language + AzureOpenAI + AI Search + Azure Storage + Azure Container Registry
Unlock insights from conversational data Chapter 8 ⭐⭐⭐ AzureOpenAI + AI Search + Semantic Kernel + Azure Agent Service + AI AI Content Understanding
Multi-modal content processing Chapter 8 ⭐⭐⭐⭐ AzureOpenAI + Azure Content Understanding + Azure CosmosDB + Azure Container Apps

Featured: Complete Learning Scenarios

Production-ready application templates mapped to learning chapters

Template Learning Chapter Complexity Key Learning
openai-chat-app-quickstart Chapter 2 ⭐ Basic AI deployment patterns
azure-search-openai-demo Chapter 2 ⭐⭐ RAG implementation with Azure AI Search
ai-document-processing Chapter 4 ⭐⭐ Document Intelligence integration
agent-openai-python-prompty Chapter 5 ⭐⭐⭐ Agent framework and function calling
contoso-chat Chapter 8 ⭐⭐⭐ Enterprise AI orchestration
retail-multi-agent-solution Chapter 5 ⭐⭐⭐⭐ Multi-agent architecture with Customer and Inventory agents

Learning by Example Type

Simple Applications (Chapters 1-2)

Database Integration (Chapter 3-4)

Advanced Patterns (Chapters 4-8)

External Template Collections


πŸ“š Learning Resources & References

Quick References

Hands-On Workshops

External Learning Resources


πŸŽ“ Course Completion & Certification

Progress Tracking

Track your learning progress through each chapter:

  • Chapter 1: Foundation & Quick Start βœ…
  • Chapter 2: AI-First Development βœ…
  • Chapter 3: Configuration & Authentication βœ…
  • Chapter 4: Infrastructure as Code & Deployment βœ…
  • Chapter 5: Multi-Agent AI Solutions βœ…
  • Chapter 6: Pre-Deployment Validation & Planning βœ…
  • Chapter 7: Troubleshooting & Debugging βœ…
  • Chapter 8: Production & Enterprise Patterns βœ…

Learning Verification

After completing each chapter, verify your knowledge by:

  1. Practical Exercise: Complete the chapter's hands-on deployment
  2. Knowledge Check: Review the FAQ section for your chapter
  3. Community Discussion: Share your experience in Azure Discord
  4. Next Chapter: Move to the next complexity level

Course Completion Benefits

Upon completing all chapters, you will have:

  • Production Experience: Deployed real AI applications to Azure
  • Professional Skills: Enterprise-ready deployment capabilities
  • Community Recognition: Active member of Azure developer community
  • Career Advancement: In-demand AZD and AI deployment expertise

🀝 Community & Support

Get Help & Support

Community Insights from Azure AI Foundry Discord

Recent Poll Results from #Azure Channel:

  • 45% of developers want to use AZD for AI workloads
  • Top challenges: Multi-service deployments, credential management, production readiness
  • Most requested: AI-specific templates, troubleshooting guides, best practices

Join our community to:

  • Share your AZD + AI experiences and get help
  • Access early previews of new AI templates
  • Contribute to AI deployment best practices
  • Influence future AI + AZD feature development

Contributing to the Course

We welcome contributions! Please read our Contributing Guide for details on:

  • Content Improvements: Enhance existing chapters and examples
  • New Examples: Add real-world scenarios and templates
  • Translation: Help maintain multi-language support
  • Bug Reports: Improve accuracy and clarity
  • Community Standards: Follow our inclusive community guidelines

πŸ“„ Course Information

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Microsoft Learning Resources

Our team produces other comprehensive learning courses:


πŸ—ΊοΈ Course Navigation

πŸš€ Ready to Start Learning?

Beginners: Start with Chapter 1: Foundation & Quick Start
AI Developers: Jump to Chapter 2: AI-First Development
Experienced Developers: Begin with Chapter 3: Configuration & Authentication

Next Steps: Begin Chapter 1 - AZD Basics β†’

About

Welcome to the comprehensive guide for Azure Developer CLI (azd)! This repository is designed to help developers at all levels from students to professional developers learn and master Azure Developer CLI for efficient cloud deployments.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 85.3%
  • HTML 14.7%