Scenarios
Real-world use cases with step-by-step technology recommendations.
Table of contents
- How to Use This Guide
- Scenario 1: HR Knowledge Base Bot
- Scenario 2: Invoice Processing Automation
- Scenario 3: Customer Support Agent with Enterprise Knowledge
- Scenario 6: Privacy-First / Offline Field Agent
- Scenario 7: Agentic DevOps (End-to-End Lifecycle)
- Scenario 8: Legacy App Modernization
- Scenario Comparison Matrix
- Next Steps
How to Use This Guide
Use scenarios as a guided learning path: they show how the same Microsoft portfolio components combine in different ways depending on constraints (data boundary, governance, skills, time-to-production). If you’re not sure where to start, use the Decision Framework to pick a build style and trust boundary, then use Evaluation Criteria to sanity-check complexity and readiness.
Each scenario follows this structure:
- Business Context: The problem to solve
- Key Requirements: Must-have capabilities
- Recommended Technologies: Best-fit Microsoft AI technologies
- Implementation Steps: High-level approach
- Alternative Approaches: Other valid options
Scenario 1: HR Knowledge Base Bot
Business Context
Employees need instant answers to HR questions (policies, benefits, PTO) without waiting for HR staff responses. HR team maintains documentation in SharePoint but also depends on Workday and ServiceNow to view status or create tickets.
Key Requirements
- Access company HR policies and procedures
- Available in Microsoft Teams (where employees work)
- Stay within M365 trust boundary (sensitive HR data)
- Connect HR knowledge with Workday/ServiceNow/SAP workflows
- No coding resources available (HR team manages)
- Quick time to production (weeks not months)
Recommended Technologies
Primary Solution: Employee Self-Service agent for Microsoft 365 Copilot
| Component | Technology | Purpose |
|---|---|---|
| Agent Platform | Employee Self-Service managed solution in Copilot Studio | Prebuilt HR + IT agent with guardrails, instructions, telemetry |
| Knowledge Sources | SharePoint knowledge connectors with filtering | Serve curated HR policies and official answers |
| HR/IT Transactions | Workday, ServiceNow, SAP SuccessFactors extension packs | Read/write employee data and tickets with packaged Power Platform flows |
| Deployment | Microsoft 365 Copilot (Teams, Outlook) | Keeps experiences inside M365 tenant and Entra ID |
| Governance | Power Platform ALM (dev/test/prod) | Enforces DLP, approvals, and monitoring |
Why This Stack:
- Employee Self-Service (ESS) combines Copilot Studio hosting, knowledge sources, and out-of-box HR/IT instructions so makers can configure without code while staying in Microsoft 365 Copilot (An introduction to Employee Self-Service, Nov 5 2025).
- Extension packs expose managed flows and connectors for Workday, ServiceNow, and SAP SuccessFactors so agents can retrieve employee context or open tickets instead of staying knowledge-only (Integrate Workday with your Employee Self-Service deployment, Nov 12 2025; Integrate ServiceNow HRSD and ITSM with Employee Self-Service, Nov 5 2025).
- Governance guidance (official-source badging, SharePoint filtering, telemetry, ALM) helps HR own the solution within the M365 trust boundary while still allowing third-party APIs through allowlisted connectors (Customize the Employee Self-Service agent, Nov 5 2025; SharePoint advanced filtering for Employee Self-Service, Nov 5 2025).
- Licensing is straightforward: employees with Microsoft 365 Copilot can use ESS at no extra cost, while other audiences draw from Copilot Studio prepaid or Pay-as-you-go meters (plan this during prerequisites) (Prerequisites to deploy the Employee Self-Service agent, Nov 5 2025).
Implementation Steps
- Prepare Environment & Prerequisites (1-2 days)
- Confirm Microsoft 365 Copilot licensing or Copilot Studio prepaid/Pay-as-you-go coverage
- Provision dev/test/prod Power Platform environments and allow required connectors per DLP policies
- Assign Global Admin, Power Platform Admin, security, and HR owners for the rollout (Prerequisites to deploy the Employee Self-Service agent, Nov 5 2025)
- Install Employee Self-Service Solution (1 day)
- Import ESS managed solution from Copilot Studio into dev
- Add Workday/ServiceNow/SAP extension packs as needed to unlock packaged flows (An introduction to Employee Self-Service, Nov 5 2025)
- Connect to Microsoft 365 Copilot channel in Teams for testing
- Configure Knowledge & Systems (3-4 days)
- Audit SharePoint HR site, tag authoritative pages, and configure knowledge sources with KQL filtering (SharePoint advanced filtering for Employee Self-Service, Nov 5 2025)
- Configure Workday reports (RaaS), ServiceNow OAuth apps, and SAP credentials for the extension packs (Integrate Workday with your Employee Self-Service deployment, Nov 12 2025; Integrate ServiceNow HRSD and ITSM with Employee Self-Service, Nov 5 2025)
- Customize instructions, welcome experience, and official-source badges for HR tone (Customize the Employee Self-Service agent, Nov 5 2025)
- Test & Govern (3-5 days)
- Build golden prompts, regression suites, and telemetry dashboards
- Pilot with HR stewards, validate ticket creation, and review safety rails
- Document handoff procedures for sensitive topics or low confidence responses (Customize the Employee Self-Service agent, Nov 5 2025)
- Deploy & Monitor (1 day)
- Promote managed solution to production via ALM pipeline (Employee Self-Service agent deployment overview, Nov 5 2025)
- Publish to Microsoft 365 Copilot, announce in Teams, and watch telemetry for the first 30 days
Time to Production: 2-3 weeks (depends on connector entitlement)
Ongoing Maintenance: HR team updates SharePoint content, monitors connectors, and evolves prompts via ESS telemetry
Alternative Approaches
If you cannot adopt ESS yet:
- Stay with Copilot Studio + SharePoint knowledge connectors for a knowledge-only bot, then graduate to ESS once Power Platform environments and connector allowlists are ready.
If you need bespoke orchestration:
- Use M365 Agents SDK or Azure AI Foundry Agent Service for custom routing, non-supported HRIS integrations, or multi-channel experiences beyond Microsoft 365 Copilot. Incorporate Azure AI Search BYOK when data spans on-premises or third-party stores (Agentic retrieval overview, May 2025).
Scenario 2: Invoice Processing Automation
Business Context
Accounts Payable team manually processes 500+ supplier invoices per month. Need to extract data (vendor, amount, line items) and update ERP system automatically.
Key Requirements
- Extract structured data from PDF/image invoices
- Validate against purchase orders
- Route for approval if amount > $10K
- Update ERP system (SAP, Dynamics, etc.)
- Low-code solution for finance team to manage
Recommended Technologies
Primary Solution: AI Builder + Power Automate + Dataverse
| Component | Technology | Purpose |
|---|---|---|
| Document Processing | AI Builder (Invoice Model) | Prebuilt OCR + extraction |
| Workflow | Power Automate | Orchestration and approvals |
| Data Storage | Dataverse | Temporary invoice data |
| Integration | Power Platform Connectors | Connect to ERP |
Why This Stack:
- AI Builder invoice model: Prebuilt, high accuracy for invoices (Streamline document processing with AI Builder)
- Power Automate: Visual workflow designer for finance team
- Dataverse: Stores extracted data before ERP update
- 1,400+ connectors: Likely has ERP connector
Implementation Steps
- Set Up AI Builder Model (1 day)
- Activate AI Builder in Power Platform environment
- Test prebuilt invoice model with sample invoices
- Verify extraction accuracy (vendor, date, amount, line items)
- Create Dataverse Tables (1 day)
- Create “Invoice” table (vendor, amount, status, etc.)
- Create “Invoice Line Item” table (description, quantity, price)
- Set up relationships
- Build Power Automate Flow (3-5 days)
- Trigger: Email arrives with invoice attachment or SharePoint folder
- Action 1: AI Builder processes invoice
- Action 2: Store extracted data in Dataverse
- Action 3: Validate against PO (if applicable)
- Action 4: If amount > $10K → approval workflow
- Action 5: Update ERP via connector
- Action 6: Notify AP team via Teams
- Handle Exceptions (2-3 days)
- Build fallback for low-confidence extractions
- Manual review queue in Power Apps
- Error handling and retries
- Test & Deploy (1 week)
- Test with historical invoices
- Pilot with one supplier
- Gradually expand to all invoices
Time to Production: 3-4 weeks
Cost Savings: 80-90% reduction in manual data entry
Alternative Approaches
If invoices are non-standard:
- Use Azure Document Intelligence custom models (Document Intelligence invoice model GA, Nov 30, 2024)
- Train on company-specific invoice formats
- More complex setup, higher accuracy
If you need multimodal processing:
- Use Azure AI Content Understanding (Preview) (What’s new in Azure AI Content Understanding, May 2025)
- Process images, scanned docs, handwritten invoices
- More advanced understanding
Scenario 3: Customer Support Agent with Enterprise Knowledge
Business Context
Support team handles 1,000+ tickets per month with repetitive questions. Company knowledge spread across SharePoint, Confluence, Salesforce, and internal databases. Need AI agent to deflect simple questions and assist support agents.
Key Requirements
- Answer questions from multiple knowledge sources
- Available on company website and Teams
- Escalate complex issues to human agents
- Track customer satisfaction
- Developers available for custom integrations
Recommended Technologies
Primary Solution: Copilot Studio + Azure AI Search (BYOK)
| Component | Technology | Purpose |
|---|---|---|
| Agent Platform | Copilot Studio | Multi-channel agent deployment |
| Knowledge Retrieval | Azure AI Search | Unified index across data sources |
| Deployment | Web widget + Teams | Customer-facing and internal |
| Integrations | Custom actions (Azure Functions) | Ticket creation, CRM lookups |
Why This Stack:
- Azure AI Search: Indexes multiple disparate sources (SharePoint, Confluence, databases, etc.) with agentic retrieval preview (What’s new in Azure AI Search, May 2025)
- Copilot Studio BYOK: Connects to Azure AI Search for advanced RAG
- Multi-channel: Same agent on website and Teams
- Custom actions: Extend with ticket creation, order lookups
Implementation Steps
- Build Azure AI Search Index (1-2 weeks)
- Deploy Azure AI Search service
- Create indexers for each data source (SharePoint, Confluence, SQL)
- Configure knowledge agent objects and semantic ranking (Agentic retrieval overview)
- Test retrieval quality
- Build Copilot Studio Agent (1-2 weeks)
- Create agent with generative answers
- Configure BYOK to connect Azure AI Search
- Test answer quality and citations
- Add topics for specific workflows (create ticket, track order)
- Build Custom Actions (1-2 weeks)
- Azure Function: Create ticket in Zendesk/ServiceNow
- Azure Function: Look up customer in CRM
- Register as custom actions in Copilot Studio
- Deploy Multi-Channel (1 week)
- Publish to website (JavaScript widget)
- Publish to Teams for internal support agents
- Configure authentication (SSO for Teams, anonymous for web)
- Monitor & Improve (Ongoing)
- Track resolution rate and customer satisfaction
- Review unresolved questions
- Add new topics and refine prompts
Time to Production: 6-8 weeks
Expected Impact: 50-70% ticket deflection on common questions
Alternative Approaches
If you need full control:
- Build with M365 Agents SDK or Azure AI Foundry (Azure AI Foundry Agent Service GA, May 2025)
- Custom evaluation metrics
- More complex deployment
If budget is limited:
- Start with Copilot Studio + SharePoint only (no Azure AI Search)
- Expand data sources gradually
Scenario 6: Privacy-First / Offline Field Agent
Business Context
Field technicians need to analyze schematics and summarize repair logs while working in remote locations with intermittent connectivity. The data is highly sensitive (IP) and cannot leave the device for cloud inference due to strict regulatory compliance.
Key Requirements
- Offline Capability: Must function without internet access.
- Zero Data Exfiltration: Inference must happen locally on the device.
- Low Latency: Instant analysis of text/images.
- Cost Efficiency: High volume of queries shouldn’t incur cloud token costs.
Recommended Technologies
Primary Solution: Windows AI Foundry (Phi-4-mini + Windows ML)
| Component | Technology | Purpose |
|---|---|---|
| Local Model | Phi-4-mini (via Foundry Local) | High-quality reasoning on-device (3.8B params) |
| Runtime | Windows ML (ONNX) | Hardware-accelerated inference (NPU/GPU) |
| App Framework | Windows App SDK | Native Windows application |
| Data Access | Local File System | Secure access to schematics/logs |
Why This Stack:
- Privacy: Data never leaves the device; meets strict compliance.
- Offline: Full functionality without connectivity.
- Cost: Zero cloud inference costs; leverages client hardware.
- Performance: NPU acceleration ensures low latency.
Implementation Steps
- Model Selection: Use
foundry model listto select Phi-4-mini. - App Integration: Use Windows App SDK to integrate the model via Windows ML.
- Optimization: Use AI Toolkit for VS Code to quantize/optimize the model for the target device.
- Deployment: Package the app with the model (or download on first run).
Scenario 7: Agentic DevOps (End-to-End Lifecycle)
Business Context
A software development team is bogged down by routine maintenance, technical debt, and production firefighting. They spend more time fixing bugs and writing boilerplate tests than innovating.
Key Requirements
- Autonomous Coding: Delegate complex tasks (refactoring, testing) to an AI agent.
- Asynchronous Work: Agent works in the background without blocking the developer.
- Production Monitoring: AI proactively detects and diagnoses production issues.
- Self-Healing: Automated root cause analysis and fix suggestions.
Recommended Technologies
Primary Solution: GitHub Copilot Coding Agent + Azure SRE Agent
| Component | Technology | Purpose |
|---|---|---|
| Developer Agent | GitHub Copilot Coding Agent | Autonomous coding, testing, and refactoring |
| Operations Agent | Azure SRE Agent | Production monitoring, alert response, RCA |
| Platform | GitHub | Unified workflow (Issues, PRs, CI/CD) |
| IDE | VS Code (Agent Mode) | “Peer programmer” for complex local tasks |
Why This Stack:
- Coding Agent: Moves beyond “autocomplete” to “autonomy”. It can take a GitHub Issue (“Fix the login bug”) and independently write code, run tests, and open a PR.
- SRE Agent: Connects production reality back to development. It detects an outage, analyzes logs, identifies the root cause, and can even assign a fix task to the Coding Agent.
- Unified Flow: The entire lifecycle (Code -> Deploy -> Monitor -> Fix) is orchestrated by agents working together.
Implementation Steps
- Enable Agents: Activate GitHub Copilot Coding Agent and Azure SRE Agent (Preview).
- Configure SRE Agent: Connect to Azure Monitor and Kubernetes clusters.
- Delegate Tasks: Developers assign routine refactoring and test coverage tasks to the Coding Agent via GitHub Issues.
- Monitor & Respond: SRE Agent watches production. Upon alert, it performs RCA and logs findings.
- Review & Merge: Developers review the PRs created by the Coding Agent (either for features or SRE fixes) and merge.
Scenario 8: Legacy App Modernization
Business Context
An enterprise has hundreds of legacy Java and .NET applications running on outdated frameworks. Manual upgrades are cost-prohibitive and risky. Security vulnerabilities in old dependencies are a major risk.
Key Requirements
- Scale: Upgrade hundreds of apps/repos.
- Accuracy: Handle complex dependency chains and breaking changes.
- Safety: Ensure the upgraded app still compiles and passes tests.
- Speed: Reduce timeline from years to months.
Recommended Technologies
Primary Solution: GitHub Copilot App Modernization
| Component | Technology | Purpose |
|---|---|---|
| Modernization Agent | GitHub Copilot App Modernization | Specialized agent for Java/.NET upgrades |
| Platform | GitHub | Repository hosting and CI/CD |
| Validation | GitHub Actions | Automated testing of upgraded code |
Why This Stack:
- Specialized Knowledge: The agent is specifically trained on migration patterns (e.g., .NET Framework to .NET 8, Java 8 to 17).
- Plan & Execute: It doesn’t just write code; it generates a comprehensive upgrade plan, executes it across thousands of files, and summarizes the changes.
- Risk Reduction: Automated remediation of security vulnerabilities during the upgrade process.
Implementation Steps
- Assessment: Point the App Modernization agent at the legacy repository.
- Plan Generation: Review the AI-generated upgrade plan (identified dependencies, breaking changes).
- Execution: Authorize the agent to execute the plan. It modifies project files, code, and configurations.
- Validation: Agent runs local builds/tests.
- Review: Developer reviews the massive PR (often touching hundreds of files) and merges.
Scenario Comparison Matrix
| Scenario | Complexity | Time to Prod | Skill Level | Key Technology |
|---|---|---|---|---|
| HR Knowledge Base | Low | 2-3 weeks | Maker | Employee Self-Service + Workday/ServiceNow packs |
| Invoice Processing | Low-Medium | 3-4 weeks | Maker | AI Builder + Power Automate |
| Customer Support | Medium | 6-8 weeks | Professional dev | Copilot Studio + Azure AI Search (agentic retrieval) |
| Privacy-First Field Agent | Medium | 4-8 weeks | Professional dev | Windows AI Foundry (Local Phi-4-mini) |
| Agentic DevOps | High | 4-6 weeks | Professional dev | GitHub Copilot Coding Agent + Azure SRE Agent |
| Legacy App Modernization | High | 3-6 months | Professional dev | GitHub Copilot App Modernization |
| Copilot-to-Copilot Mesh | Medium | 3-4 weeks | Maker + light dev | Copilot Studio A2A + MCP tools |
| Financial Reconciliation (Multi-Agent) | High | 4-6 weeks | Pro dev | Foundry Agent Service + Cosmos DB threads |
| Multi-Channel Corporate Assistant | Medium | 3-5 weeks | Pro dev | M365 Agents SDK (Teams/Outlook/M365 Chat) |
Next Steps
Need to evaluate your situation?
→ Evaluation Criteria to assess requirements
Need detailed technology comparison?
→ Feature Comparison for side-by-side analysis
Need visual decision guidance?
→ Visual Framework for decision tree diagrams
Need implementation patterns?
→ Implementation Patterns for architecture guidance
Last Updated: December 2025
Next: Visual Framework - Walk the decision trees to choose the right path