mylantech logo

Home

Predictivio

About Us

Careers

Blog

|

Schedule a Meeting

mylantech logo

Home

Services

Projects

Data & AI Engineers

Predictivio

About Us

Careers

Blog

|

Schedule a Meeting

AI & Automation

Copilot Studio in the Enterprise: How to Safely Transition Agents from Pilot to Production

Building an agent in Copilot Studio is quick. In an enterprise, the real work begins afterward: deploying agents into production securely, transparently, and cost-effectively, without causing sprawl. A progress report on establishing a central agent platform.

SG

Steven Glauer

AI Lead

PUBLISHED

READ TIME

12 min read

TOPIC

AI & Automation

Friendly enterprise robot in front of a secure, interconnected governance dashboard

Key Takeaways

Governance is the prerequisite for scaling. Without it, agents remain stuck in pilot status or get out of control.

Not every use case needs Copilot Studio. Often, code, a workflow, or a simple agent in Microsoft 365 Copilot is enough.

A central platform ensures that every use case takes the same path: three environments, blocked connectors, approvals, technical identity.

Deployment does not always work smoothly. After every deployment, you have to check whether everything has arrived.

The platform is evolving rapidly. Those who monitor it continuously and purposefully test new features build stably yet remain cutting-edge.

Many companies are experimenting with Microsoft Copilot Studio. Instead of developing an application with a custom frontend, model integration, and infrastructure, an agent is built from pre-built components—often in just a few hours.

Within an enterprise, this speed raises questions: Who is allowed to build agents? Which systems can they access? Who approves them for production? How much do they cost? This article shows how we answer these questions while setting up a central agent platform for a large insurance group. It is an interim status: We are still testing a few things, and we state that openly.

Why this matters now

AI agents are leaving the experimental phase. The question is no longer whether they work, but whether a company can operate them safely at scale.

Without clear rules, one of two things usually happens. Either many employees build agents in an uncoordinated way, leaving no one with an overview of what data flows where and at what cost. Or IT puts a stop to the entire topic out of fear of this exact loss of control. Both squander potential.

Thoughtful governance resolves this dilemma. Once environments, rules, and approval pathways are established, every new use case follows the same proven path. This makes every subsequent agent faster, not slower.

“The potential is there if the surrounding setup is right: a platform where use cases can emerge quickly, that can be monitored, and where someone first checks whether a use case makes sense at all.”

— Steven Glauer, AI Lead

Which path is the right fit?

The first governance decision is made before an agent is even built: Does the use case actually need one? Many presumed AI use cases can be solved faster, more reliably, and more cost-effectively with classic code. And not every agent needs to be built in Copilot Studio.

New Use Case

Can the result be clearly solved using rules?

YES

Code / Automation

no LLM needed

NO

Is the procedure fixed?

YES

Workflow

AI in individual steps only

NO

Does it require complex logic or data transformation?

YES

Custom Application

Code plus model integration

NO

Is a Q&A enough for a small group?

YES

Agent in M365 Copilot

without its own lifecycle

NO

Copilot Studio agent

with a controlled lifecycle

Four questions before the first build. The sequence saves development effort and running costs.

For simple Q&A agents used by individuals or small teams, an agent configured directly by users in Microsoft 365 Copilot is often sufficient. Microsoft calls this tool Agent Builder. Copilot Studio is worthwhile as soon as an agent is rolled out widely, requires workflows or integrations, and must move through a controlled lifecycle. A proven pattern: start small in Microsoft 365 Copilot and transition use cases with proven value to Copilot Studio.

Within Copilot Studio: Script or Goal

Within Copilot Studio, there are also two fundamentally different types of agents. Microsoft calls the runtime environments for these a “harness”. The difference can be described most simply like this: One agent follows a script, the other is given a goal.

Standard harness

“Follow the script”

• Fixed topics, rules, and procedures

• Predictable, consistent responses

EXAMPLE

Internal help desk for frequently asked questions

Billing: Fixed rates per function

Harness Microsoft Copilot

“Gets a destination”

• Plans steps independently and adapts them

• Works with files and multiple systems

EXAMPLE

Review invoices, route exceptions

Billing: pay-as-you-go, starting right from the build phase

predictable, cheaper

independent, more efficient

The Microsoft Copilot harness is the successor to the GitHub Copilot harness. Older documentation still uses this name.

Which variant fits depends on the process, not on which systems are connected. Connectors and MCP servers work in both. However, the choice has implications for costs, features, and deployment, which is why it belongs at the very beginning.

A look at a real portfolio

The portfolio of our client's investment division illustrates how important this distinction is:

staying on track

The majority is built as a custom application because custom logic, very large documents, or reconciliations with internal systems are required. In one case, Copilot's quality was not sufficient for extracting master data. In another, the existing standard assistant already covered the need. Sometimes the best platform decision is not to build anything new at all.

What goes wrong without governance

  • Open doors: In the Default Environment, any licensed user can build agents, and there are over 1,400 connectors. Without restrictions, it is almost impossible to trace what data flows where.

  • Agents without purpose: Some companies have restricted free agent building again because many agents were created without a clear purpose and failed to function reliably.

  • Orphaned agents: If the person who built an agent leaves the company, it often continues to run unnoticed—along with all its access permissions and costs.

  • Unprepared content: An agent immediately exposes outdated documents and permissions that exist only on paper. This must be resolved before going live.

  • Uncontrolled costs: A poorly constructed agent can quickly consume multiples of the necessary credits across many users.

  • Manual deployment: Manual works, but in an enterprise, the path to production must be traceable and approved.

“A process is needed: the business department describes what it wants, a technical person reviews it, and then it follows the standard path into production.”

— Steven Glauer, AI Lead

Our approach: a central platform

The core idea: Agents are treated like any other software. Instead of each team inventing its own approach, there is a central point of contact where all use cases are built, tested, and delivered according to the same blueprint.

Development (Dev)

WHO

Platform team with Maker role, access via Entra ID group

WHAT IS ALLOWED

Build and test agents, only approved connectors

TARGET

Working Draft

Acceptance (UAT)

WHO

Business Users and Platform Team

WHAT IS ALLOWED

Testing, no changes to the agent

TARGET

Approval by the business department

Production (Prod)

WHO

All eligible users

WHAT IS ALLOWED

Benefit: read-only access to the agent

TARGET

Stable operation

Deployment pipeline

Solution as an artifact · Review and evaluation · Approval before each stage · Post-deployment reconciliation

All deployments run through a service principal, not through personal accounts

Every use case and every new version takes the same path

Behind this concept are four building blocks:

  • Three separate environments: Building is done in Dev, accepted in UAT, and used in Prod. All three run as Managed Environments because several governance features require this. We work with a shared Dev environment for the platform team rather than one per developer.

  • Block connectors first, then approve: With over 1,400 connectors, individual evaluation is impossible. With Advanced Connector Policies, everything that is not explicitly approved is blocked—including newly added connectors. We start with a few basic connectors like SharePoint; others follow via a rapid approval process. Since October 2026, it has also been possible to define which knowledge sources makers are allowed to use in the first place.

  • Technical identity: Deployments run under a Service Principal. This ensures the pipeline continues to function when individuals leave the company and only has the permissions it needs.

  • Transparency: A central inventory in the Power Platform Admin Center displays all agents with owners and connectors, credit consumption is visible per environment and agent, and Microsoft Purview logs who used which agent and when.

In addition, there are three roles: Requirements Engineering to gather and prioritize requirements, Development, and a Run team for operations. In smaller companies, one person can take on all three.

Deployment in practice

Moving an agent from Dev to Prod can be handled in three ways. Which one fits depends on the environment: on company size, the existing setup, and how strictly deployments must be documented and monitored.

OPTION A

Existing CI/CD with Azure DevOps or GitHub

The solution is exported, versioned in the Git repository, and deployed via a pipeline, including the standard scans.

A good fit if release processes with approvals and test gates are already in place. This is the standard in large enterprises.

OPTION B

Power Platform Pipelines

Quickly set up, with approvals and a Service Principal. Target environments must be Managed Environments.

Works if no established approval process exists yet.

OPTION C

Manual Export and Import

The solution is manually transferred from one environment to the next.

Works well if you only have a few agents and no strict documentation requirements apply.

From the field: Deployment does not always work out of the box. For us, agents on the standard harness move reliably through the pipeline. With the Microsoft Copilot harness, however, individual settings were repeatedly missing after pipeline deployment, whereas manual export was complete. In an enterprise environment, manual is still not a solution because every deployment must be traceable. Our conclusion: Check after every deployment whether the agent in the target environment is configured as in Dev, and re-evaluate this with every platform update.

What to check after every deployment

Microsoft documents several gaps itself, and they apply to every path:

  • Importing does not publish the agent. This must be done separately afterward.

  • Application Insights, manual authentication, channel security, published channels, and sharing settings do not carry over and must be configured manually.

  • New topics, tools, or knowledge sources do not automatically end up in the solution and must be added prior to export.

Catching issues early

Two tools help detect errors before import:

  • Solution Checker: An integral part of Power Platform. It checks a solution against best-practice rules and can be configured in Managed Environments to warn or block during import. In custom pipelines, it runs via the command line or as a pre-built Azure DevOps and GitHub task.

  • Agent Review: Part of the Copilot Agent Kit, an open-source toolset from Microsoft on GitHub. It checks agents for typical vulnerabilities such as missing descriptions, excessive tools, or topics that contradict their own instructions, and can be integrated as a gate before deployment.

Both catch many errors. However, they do not show whether all settings actually arrived after import. Post-deployment verification remains necessary.

Staying on track: continuously monitoring the platform

Copilot Studio is evolving rapidly. Microsoft rolls out updates weekly, alongside two major release waves each year. The Microsoft Copilot harness in particular is receiving new capabilities at short intervals.

For production agents, this does not mean everything changes uncontrollably. A published agent remains as it is until a new version is deployed, and every version is traceable via Solutions. The model can also be fixed instead of automatically following the default model. Following a model switch by Microsoft, the previous model can still be used for up to 30 days. Still, changes cannot be completely ruled out: According to Microsoft, even fixed models and the orchestration underneath may receive updates.

Monitoring is therefore more important than clinging to fixed states. We treat this as an established process:

1

Watch

Updates, Features, Models, Roadmap

2

Testing

on a test agent in an early environment

3

Rate

fixed test sets against the current baseline

4

Share

for use cases, through the pipeline

and all over again, with every update

Goal: operate reliably while still building with the best available features

Two building blocks make this cycle practical:

  • Evaluation as a mandatory gate: Copilot Studio comes with test sets featuring multiple evaluation methods that can be triggered automatically. They run in the pipeline before each stage and additionally on a regular basis in operations. If quality drops below the defined threshold, the agent does not proceed. One limitation should be kept in mind: The built-in methods evaluate the answer, not whether the agent retrieved the correct documents.

  • Early-release environments: Microsoft offers environments that receive updates earlier. This reveals what changes before updates reach mission-critical agents.

From use case to agent

  1. Workshop: Clarify the current state, goals, and pain points of the business department.

  2. Review process and path: Does the process suit an agent, and if so, which variant?

  3. Define success criteria: Determine in advance when the use case is successful, and collect test cases. They later serve as a gate in the pipeline.

  4. Check data foundation: Is the content up-to-date, maintained, and properly permissioned? Starting with a few prioritized sources is often advisable.

  5. Clarify access rights: Knowledge sources are queried using the user's permissions. For tools, this can be switched to a technical account. This must be decided deliberately.

  6. Prioritize: Start with the use cases offering the greatest time savings with the least effort.

Real-world examples

The Copilot use cases from the portfolio follow recurring patterns, and each places unique demands on governance.

KNOWLEDGE ACROSS MULTIPLE SOURCES

Knowledge platform for investment guidelines

Why was a benchmark suspended for a mandate in a specific quarter? The agent provides the guideline, change history, and the relevant email discussion, each with its source cited.

Governance: Start with three prioritized sources instead of all at once. Fewer connectors, clearer permissions, faster to production.

SCHEDULED WORKFLOW

Sales signals from CRM and web

A scheduled workflow reads the CRM, supplements it with a web search, and reports events such as mergers to the responsible sales representatives.

Governance: Internal data meets external sources—which is precisely what connector policies regulate. The scheduled run requires a technical identity.

DAILY SUMMARY

Morning market briefing

Portfolio managers receive a briefing on their companies every morning, consolidated from broker emails, internal assessments, and news.

Governance: A daily run for many users consumes credits regularly. Limits and model selection directly affect costs.

MULTI-AGENT WITH REVIEW STAGE

Virtual research team

Specialized agents analyze the market, a coordinating agent consolidates the perspectives into trade ideas, and another reviews risks. The final decision is made by a human.

Governance: The more autonomously a system operates, the more important human decision-making, traceable sources, and robust evaluation become.

SELF-SERVICE VERIFICATION

Comparison of term sheet and contract

Copilot finds the matching clause for each point of the term sheet in the contract—which is often over 300 pages long—and marks it: matches, deviates, or unclear.

Governance: Work is performed on temporary copies; original files remain untouched.

Keeping costs under control

An agent on a platform costs more than a simple model API call. In return, orchestration, connectors, security, and operation are included, which would otherwise have to be built in-house. Billing is handled in Copilot Credits: $0.01 per credit based on consumption, or $200 for a monthly package of 25,000 credits.

The number of credits incurred depends primarily on the chosen path:

Path

Billing method

Agent in Microsoft 365 Copilot

Covered by the Microsoft 365 Copilot license. Without a license, credits apply when accessing enterprise data.

Copilot Studio, standard harness

Fixed rates per capability, e.g., 2 credits for a generative answer. Often no extra charge for employees with a Microsoft 365 Copilot license, provided the agent does not run autonomously. Reasoning models cost extra per token.

Copilot Studio, Microsoft Copilot harness

Billed based on actual usage, even during building and testing. Not included in the Microsoft 365 Copilot license.

Which limits actually halt usage

Control

Impact

Things to watch out for

Limit per agent

Stops the agent upon reaching the limit

Takes effect with a delay and does not stop flows called by the agent

Quota per environment

Stops the environment once exhausted

Only if it is not allowed to draw additionally from the tenant pool (which is the default setting)

Azure Budgets

Send alerts

Do not stop anything

Key cost levers

  • Code instead of LLMs where workflows are deterministic

  • The right harness, not automatically the most capable one

  • Lighter models where they suffice

  • Efficient agents that avoid invoking the wrong tools multiple times

  • Hard limits per agent and environment

A potential roadmap in seven steps

From initial idea to a scalable platform. Each step concludes with an outcome that serves as the foundation for the next.

  1. Start with a workshop. What can AI and Copilot Studio deliver today? Together, we determine where your team stands and where it wants to go.
    Outcome: a shared understanding and a target vision.

  2. Gather and evaluate use cases. The business departments contribute ideas; we evaluate them by value, effort, and risk, and verify which path fits best.
    Outcome: a use case backlog with clear business value per idea.

  3. Prioritize and select the pilot. Use cases are ranked by value relative to effort. The pilot delivers the highest value with manageable effort.
    Outcome: a roadmap featuring the pilot and project milestones.

  4. Set up the platform and rules of engagement. Environments, connector policies, roles, service principal, pipeline, and budgets, along with a clear strategy for testing, deployment, and documentation. We test the path from Dev to Prod once with a simple agent.
    Outcome: a platform where every subsequent agent is built quickly and securely.

  5. Implement the pilot. From initial draft to production, using test sets as quality gates before each stage.
    Outcome: the first production agent delivering measurable value.

  6. Secure operations. Continuous monitoring of usage, costs, and quality, regular evaluation, cleanup of orphaned agents, and keeping track of platform updates.
    Outcome: agents that run reliably with predictable costs.

  7. Scale incrementally. Further use cases from the roadmap, new connectors, and eventually selected business units acting as autonomous makers.
    Outcome: AI that scales with the company without chaotic sprawl.

Conclusion

Copilot Studio makes it easy to build agents. What separates a successful pilot from genuine business value is the foundation: the right path per use case, a central platform with clear rules, a verified path to production, and a vigilant eye on a platform that is constantly evolving.

This foundation takes time upfront. However, it pays off with every subsequent use case, as new agents reach production faster, more securely, and with full traceability.

Frequently Asked Questions

How much does Copilot Studio cost?

Which harness should you choose?

Should all employees be allowed to build agents?

Do users see more data than usual through an agent?

Can it be tracked who used which agent?

What does the EU AI Act mean for agents?

Sources

  1. Microsoft Learn: Harnesses in Copilot Studio. learn.microsoft.com

  2. Microsoft Learn: What’s new in Copilot Studio. learn.microsoft.com

  3. Microsoft Learn: Copilot Credits overview. learn.microsoft.com

  4. Microsoft Learn: Billing rates and management. learn.microsoft.com

  5. Microsoft Learn: Manage costs for agents powered by the Microsoft Copilot harness. learn.microsoft.com

  6. Microsoft Learn: Manage Copilot Credits and capacity for Copilot Studio. learn.microsoft.com

  7. Microsoft Learn: Establish an application lifecycle management strategy. learn.microsoft.com

  8. Microsoft Learn: Overview of pipelines in Power Platform. learn.microsoft.com

  9. Microsoft Learn: Solution checker enforcement in managed environments. learn.microsoft.com

  10. Microsoft Learn: Use the Agent Review Pipeline as a CI/CD gate. learn.microsoft.com

  11. Microsoft Learn: Advanced connector policies. learn.microsoft.com

  12. Microsoft Learn: Copilot Studio agent inventory. learn.microsoft.com

  13. Microsoft Learn: Audit logs for Copilot and AI applications. learn.microsoft.com

  14. Microsoft Learn: Manage the AI model lifecycle for Copilot Studio agents. learn.microsoft.com

  15. Microsoft Learn: Agent evaluation overview. learn.microsoft.com

SG

AUTHOR

Steven Glauer

Steven Glauer is AI Lead at mylantech. He is responsible for building AI platforms and agent solutions for clients in regulated industries.

Introductory Call

Similar Starting Point? Let’s Talk About It.

In 45 minutes, we’ll clarify which data sources are your bottleneck and what a realistic first production slice looks like.