← Back to articles M365

Microsoft 365 Copilot Agent Evaluations Tool Now in Public Preview

Microsoft 365 Copilot Agent Evaluations Tool Now in Public Preview

What's Changing

Microsoft has announced the public preview of the Microsoft 365 Copilot Agent Evaluations tool—a command-line interface (CLI) that enables developers to measure and improve the quality of custom agents built for Microsoft 365 Copilot. Available starting today, the free preview tool automates agent testing through Node.js-based workflows and integrates directly with CI/CD pipelines, allowing teams to establish quality gates before agent deployment.

Preview Status This is a public preview feature. Functionality and pricing are subject to change before general availability. Feedback from this preview will directly influence the production roadmap.

Who's Affected & When

Affected Tenants: All Microsoft 365 organizations with Microsoft 365 Copilot licenses. The tool is available immediately to any tenant where a Microsoft 365 administrator explicitly enables it.

License Requirements: Users must hold an active Microsoft 365 Copilot license. The Evaluations tool itself is free during the public preview period.

Rollout Timeline: No mandatory rollout date has been announced. Organizations can opt in to the public preview now via the Microsoft 365 Developers hub. General availability (GA) date is not yet specified.

Regional Availability: The tool operates within a single Microsoft 365 tenant. Multi-tenant evaluation is not currently supported. Azure OpenAI endpoint accessibility depends on your network and regional deployment.

Action Required Now If your organization builds custom declarative agents using the Microsoft 365 Agents Toolkit, request your tenant administrator to enable the Agent Evaluations tool at the organizational level. This is a prerequisite before the CLI can function.

Architecture & How It Works

DEVELOPER WORKSTATION Agent Evaluations CLI Node.js 24.12.0+ Declarative Agents Test Prompts Evaluator Config MICROSOFT 365 TENANT Deployed Agent Microsoft 365 Agents Toolkit Active Conversations Response Generation Context Retention AZURE OPENAI LLM Evaluators Coherence Groundedness Token Usage Scoring Models Test Prompts Responses EVALUATION OUTPUTS CODE-BASED ExactMatch Binary comparison Expected output PartialMatch Fuzzy matching Partial correctness Lightweight, fast No external calls LLM-BASED Coherence Logic + clarity LLM-based scoring Groundedness Context alignment Reference validation Requires Azure OpenAI Non-deterministic SCORECARD HTML Report Evaluation summary Quality metrics CI/CD Integration Artifact storage Quality gates Team sharing Versioning required
Agent Evaluations architecture: Developer submits test prompts via CLI to a deployed agent. Responses are scored using code-based evaluators (fast, local) or LLM-based evaluators (slower, requires Azure OpenAI). Results are compiled into an HTML scorecard suitable for CI/CD integration.

What This Means for Your Environment

For Development Teams: You now have an automated way to continuously test agent quality without manual testing. Integration into pull request workflows enables quality gates—preventing agents with low coherence or groundedness scores from deploying to production.

For Platform Admins: You must explicitly enable the tool at the tenant level before any developer can use it. This requires:

  • Admin consent for the Agent Evaluations tool in your tenant
  • Configuration of an Azure OpenAI endpoint (if using LLM-based evaluators)
  • Monitoring of Azure OpenAI token consumption to manage costs

For Compliance & Security: The tool runs locally via CLI and communicates with your Azure OpenAI endpoint. No evaluation data is stored externally. However, test prompts and agent responses traverse Azure OpenAI during LLM-based scoring.

Critical Gotcha: Azure OpenAI Misconfiguration LLM-based evaluators (Coherence, Groundedness) will silently fail if your Azure OpenAI endpoint is unreachable or misconfigured. The CLI may not surface the error clearly. Always test LLM evaluators with a small dataset first. Verify your endpoint is accessible from your tenant network and firewall rules are in place.

For Infrastructure Teams: Node.js 24.12.0 or higher is required to run the CLI. The tool integrates with CI/CD pipelines (GitHub Actions, Azure Pipelines, etc.) and outputs HTML artifacts. Plan for automated archival of scorecard reports for audit and version-control purposes.

Prerequisites & Setup

Requirement Details Mandatory
Microsoft 365 Copilot License Per-user subscription required for all evaluators
Node.js Version 24.12.0 or higher; older versions have async/await compatibility issues
Deployed Agent Active agent in Microsoft 365 Agents Toolkit running on the tenant
Admin Consent Tenant administrator must explicitly enable Agent Evaluations tool
Azure OpenAI Endpoint Required ONLY for LLM-based evaluators (Coherence, Groundedness) If using LLM evaluators
Network Access CLI must reach Azure OpenAI endpoint; verify firewall rules If using LLM evaluators
GitHub Repo Optional: samples at microsoft/m365-copilot-eval

Action Items

For Immediate Implementation (This Week):

  1. Request Admin Enablement
    Contact your tenant administrator or M365 service owner. Ask them to enable the Agent Evaluations tool at the organizational level. Provide this context: the tool is free during public preview and required for agent quality testing.
  2. Audit Node.js Versions
    Check your development and CI/CD environments. Run node --version. If you have Node.js below 24.12.0, schedule an upgrade. Confirm compatibility with your existing agent projects before updating.
  3. Identify Your Azure OpenAI Endpoint
    If you plan to use LLM-based evaluators, locate your Azure OpenAI resource in the Azure Portal. Obtain the endpoint URL and verify it is accessible from your development network. Test connectivity from at least one machine.
  4. Clone the Sample Repository
    Visit github.com/microsoft/m365-copilot-eval and review sample evaluation configurations. This will help you understand expected CLI syntax and evaluator setup before running against your production agents.

For Planning & Documentation (Next 2–3 Weeks):

  1. Design Evaluation Baselines
    Define what "quality" means for your agents. Establish baseline evaluation runs with representative test prompts. Create a reference scorecard to compare future agent versions against.
  2. Set Up CI/CD Integration
    Add evaluation steps to your pull request validation workflows. Example: require Coherence score ≥ 0.8 and Groundedness ≥ 0.75 before merge. Configure artifact storage for HTML scorecards.
  3. Monitor Azure OpenAI Costs
    Enable cost tracking on your Azure OpenAI endpoint. LLM-based evaluators consume tokens. Establish usage alerts to prevent unexpected cost overages during large-scale evaluation runs.
  4. Document Evaluator Selection
    Create a team standard: which evaluators are required for each agent type? Code-based only for simple agents, LLM-based for complex conversational agents? Document this in your development guidelines.
Pro Tip: Start Small Before running full evaluations against production agents, test with 5–10 representative prompts. This validates CLI setup, Azure OpenAI connectivity, and evaluator configuration without incurring large token costs or long run times.

Known Limitations & Caveats

PUBLIC PREVIEW Feature Set Subject to Change GA date not specified Feedback will influence roadmap Pricing may change at GA Free during preview only LLM NON-DETERMINISM Scores Vary Across Runs Identical prompts may score differently on each evaluation Affects CI/CD quality gates Code-based evaluators: stable SINGLE TENANT ONLY No Multi-Tenant Support Agents operate within one tenant scope only No shared evaluations across multiple tenants AZURE OPENAI RISK Outage Blocks Evaluations LLM evaluators fail if endpoint unavailable Token limits affect large batches Region availability critical
Four critical limitations to understand before deploying Agent Evaluations in production: public preview status (features may change), LLM non-determinism (scores are probabilistic), single-tenant scope (no cross-org evaluation), and Azure OpenAI dependency (endpoint availability is critical).
ExactMatch Evaluator Fragility The code-based ExactMatch evaluator performs binary string comparison. Whitespace, punctuation, capitalization, or minor formatting differences will cause failures. Use PartialMatch for fuzzy comparison, or design ExactMatch tests only for highly deterministic outputs (e.g., structured JSON responses).
Silent LLM-Based Evaluator Failures If your Azure OpenAI endpoint is misconfigured, the CLI may not surface a clear error message. Coherence and Groundedness scoring may appear to complete but return invalid or missing scores. Always validate endpoint connectivity and model availability before running large evaluation batches.

Quick Reference: Key Evaluator Types

Evaluator Type Use Case Speed Accuracy External Dependency
ExactMatch (Code-Based) Deterministic outputs; structured data; JSON responses Instant Binary (pass/fail) None
PartialMatch (Code-Based) Fuzzy validation; keyword presence; semantic matching Instant Fuzzy (0–100%) None
Coherence (LLM-Based) Response clarity; logical consistency; readability Seconds per prompt Semantic (LLM-judged) ✓ Azure OpenAI
Groundedness (LLM-Based) Context alignment; factual accuracy; citation validation Seconds per prompt Semantic (LLM-judged) ✓ Azure OpenAI

Integration with CI/CD & DevOps

The Agent Evaluations CLI is designed for automation. Its outputs—HTML scorecards—are suitable for artifact storage in Azure Pipelines, GitHub Actions, or Jenkins. You can implement quality gates by:

  1. Add Evaluation Step to Pipeline
    In your PR validation workflow, invoke the CLI with your test-prompt configuration file after agent code is committed.
  2. Define Score Thresholds
    Set minimum acceptable scores for each evaluator. Example: Coherence ≥ 0.8, Groundedness ≥ 0.75. Fail the build if scores drop below thresholds.
  3. Archive Scorecards
    Store HTML reports as pipeline artifacts. Create a versioned folder structure to compare agent quality across iterations and releases.
  4. Monitor Trends
    Track average scores per agent version over time. Identify regressions before they reach production.
Handling Non-Determinism in CI/CD Because LLM-based evaluators are non-deterministic, avoid using absolute score thresholds in CI/CD gates. Instead, use relative thresholds: require new agent scores to be within 5% of the baseline, or allow a 10% variance between runs. Alternatively, combine LLM evaluators with stable code-based evaluators to create a more reliable gate.

Feedback & Support

This is a public preview feature actively seeking feedback. Report issues, suggest features, and share success stories via the microsoft/m365-copilot-eval GitHub repository. Your input will directly influence the general availability roadmap and final feature set.

For technical questions, consult the Microsoft 365 Developer Blog and official documentation at /microsoft365/copilot/agent-evaluations/overview.

Summary: Next Steps Start with Step 1 (request admin enablement) and Step 2 (verify Node.js version) this week. By next week, clone the sample repository and run a test evaluation against a non-production agent. Allocate 2–3 weeks to design CI/CD integration and establish baseline scorecards.

Was this article helpful?

🎓 Ready to go deeper?

Practice real MD-102 exam questions, get AI feedback on your weak areas, and fast-track your Intune certification.

Start Free Practice → Book a Session
Souhaiel Morhag
Souhaiel Morhag
Microsoft Endpoint & Modern Workplace Engineer

Souhaiel Morhag is a Microsoft Intune and endpoint management specialist with hands-on experience deploying and securing enterprise environments across Microsoft 365. He founded MSEndpoint.com to share practical, real-world guides for IT admins navigating Microsoft technologies — and built the MSEndpoint Academy at app.msendpoint.com/academy, a dedicated learning platform for professionals preparing for the MD-102 (Microsoft 365 Endpoint Administrator) certification. Through in-depth articles and AI-powered practice exams, Souhaiel helps IT teams move faster and certify with confidence.

Related Articles

Popular on MSEndpoint