MSBA-312 · Lesson 1 of 12 · 22 min
Environment and tenant strategy
▶ Video coming soon A video version of this lesson is on the way.
On Monday, October 5, 2026, Celestine Nwachukwu-Hale opened the monthly meeting of Quillfield Insurance Brokers' AI council with a slide that had only four lines on it. Each line was an AI solution already running in production: the HR Leave Assistant, the Policy Service Assistant with its Claims Questions child agent, the certificates-mailbox agent that drafted certificates of insurance for broker review, and the submission review agent that Ngozika Pellerano's data science team had built in Microsoft Foundry. Under the list she had written two more names in grey: the claims first-notice design and the Commercial Submission Desk, both being designed by Bram Oosterhuis. "Two years ago we had none of these," she said. "Next year we might have fifteen. I want to know who runs them, how they change, how we know they are working, and what happens at two in the morning when one of them is not."
That question is the subject of this course. *Designing Agentic AI Business Solutions* (MSBA-310) covered how an architect decides what to build, and *Multi-Agent Orchestration, MCP and Agent-to-Agent Integration* (MSBA-311) covered how several agents cooperate. This course covers what happens after the design is approved: how solutions are deployed, tested, evaluated, secured, released, monitored and improved, and how an organization governs a growing portfolio of them. It follows Bram through October and November 2026 as he writes Quillfield's AI operating model, and it maps to the deploy domain of Microsoft's AB-100 exam, Agentic AI Business Solutions Architect.
Where deployment sits in AB-100
The AB-100 study guide, with skills measured as of November 16, 2026, has three domains: plan AI-powered business solutions (35 to 40 percent), design AI-powered business solutions (30 to 35 percent) and deploy AI-powered business solutions (20 to 25 percent). The November change raised the weight of planning and design and lowered deployment, but the deploy domain is still a fifth to a quarter of the exam and it is the domain where architects most often lack hands-on experience. It has four groups of skills: analyze, monitor and tune AI-powered business solutions; manage the testing of AI-powered business solutions; design the ALM process for AI-powered business solutions; and design responsible AI, security, governance, risk management and compliance.
Read those groups carefully, because the verbs matter. The exam rarely asks an architect to click through a configuration. It asks you to recommend a process and tools, design an ALM process, validate compliance and analyze vulnerabilities. This course takes the same stance. It explains enough of each tool to make sound recommendations, and it spends most of its time on the decisions: which environments, which gates, which metrics, which owners.
| Skill group in the study guide | Main lessons in this course |
|---|---|
| Analyze, monitor and tune AI-powered business solutions | 9 Monitoring and incident response; 10 Continuous improvement from analytics |
| Manage the testing of AI-powered business solutions | 3 Testing strategies for AI; 4 Evaluation and red teaming |
| Design the ALM process for AI-powered business solutions | 1 Environment and tenant strategy; 2 Solutions, pipelines and source control; 8 Release management |
| Design responsible AI, security, governance, risk management and compliance | 5 Responsible AI Standard; 6 Security reviews and threat modelling; 7 Compliance and audit; 12 Portfolio governance |
Why environment strategy comes first
Every later practice in this course depends on having somewhere safe to build, somewhere realistic to test and somewhere controlled to run. That is the job of environment strategy: deciding which isolated containers exist for AI solutions, what each one is for, who may work in each, and how solutions move between them. For an organization using Copilot Studio, Power Platform, Dynamics 365 and Foundry, there are two different kinds of container to plan, and they do not line up neatly.
On the Microsoft 365 and Power Platform side, the container is the Power Platform environment. Copilot Studio agents, agent flows, Dataverse tables, connections and Dynamics 365 apps all live in an environment, and an environment has its own security roles, data policies, capacity allocation and settings. On the Azure side, Foundry work lives in a Foundry resource with one or more projects, inside an Azure resource group and subscription. Foundry projects hold agents, model deployments, connections, evaluations and traces. Azure role-based access control, Azure Policy and cost management attach to the subscription and resource group hierarchy, not to Power Platform environments.
An architect's environment strategy has to cover both worlds and connect them, because a single business solution often spans both. Quillfield's submission review agent runs in a Foundry project, but the Policy Service Assistant reaches it as a connected agent from Copilot Studio, and the Commercial Submission Desk design in MSBA-311 adds more of these links. If the Copilot Studio test environment calls the Foundry production project, the test is neither safe nor meaningful.
Power Platform environments for agents
Microsoft's ALM guidance for Copilot Studio, which MSBA-242 covered in detail for a single agent, recommends at least separate development, test and production environments, with the production environment of type production and the others usually sandboxes. Each environment should have an Entra ID security group assigned so that only the intended people can enter it, and production environments should be Managed Environments, which unlock governance features such as sharing limits, usage insights, pipelines and solution checker enforcement. Power Platform pipelines require their target environments to be managed, with developer environments the exception.
At portfolio scale, the question changes from "which environments does this agent need?" to "how do we organize environments for every agent?" There are three common patterns. In environment per solution, each significant solution gets its own development, test and production environments. Isolation is strong, data policies can be tailored, and one team's mistakes cannot affect another, but the number of environments grows quickly and shared components such as connectors must be deployed many times. In environment per business area, solutions for one part of the business share a set of environments: an "Agents" set for conversational agents, an "Automation" set for flows, a "Claims" set for the claims department. In shared platform environments, a central team runs one set for everything. Most organizations end up with a mixture: shared sets for small, low-risk solutions and dedicated sets for large or sensitive ones.
Environment groups help at this scale. An environment group is a container in the Power Platform admin center that lets administrators apply rules to many Managed Environments at once, such as sharing controls, solution checker enforcement and generative AI settings. Rasmus Okonjo, Quillfield's Power Platform administrator, had created per-agent environments for the Policy Service Assistant during MSBA-242. In October Bram asked him to place them, with the HR Leave Assistant's environments, in an environment group called "Agents", and the automation environments in a second group, so that a single rule change applied to every agent environment.
The default environment needs its own decision. Every licensed user can create things there, and it is where many pilots start. Microsoft's guidance is to treat it as a personal productivity space rather than a place for shared solutions, to rename it so that its purpose is clear, to apply a restrictive data policy, and to route makers who need more to a proper environment. Quillfield had found two experimental agents in the default environment in the summer. Rather than deleting them, Rasmus contacted their makers, moved one into the Agents development environment as a solution and retired the other.
| Pattern | Strengths | Weaknesses | Good fit |
|---|---|---|---|
| Environment per solution | Strong isolation, tailored policies and capacity, clear ownership | Many environments, shared components duplicated, more admin work | Large, sensitive or externally facing solutions |
| Environment per business area | Fewer environments, shared connectors, area-level ownership | One area's change can affect its neighbours; policies must suit all | Several related agents with one business owner |
| Shared platform environments | Simplest to run, central control | Weak isolation, noisy capacity, unclear ownership | Small, low-risk departmental agents |
| Default environment | Already exists, open to all makers | Hard to govern, mixed purposes | Personal productivity only |
Foundry resources, projects and subscriptions
Foundry gives architects a different set of building blocks. A Foundry resource is the top-level Azure resource that provides access to models, the Agent Service and related tools; inside it, projects separate work so that each team or solution can have its own agents, files, evaluations and connections. Agents in Foundry are versioned: each saved version is immutable, requests can target a specific version, and a version can be published as an agent application with a stable endpoint. Model deployments sit at the resource level and are shared by its projects.
The natural Foundry equivalent of dev, test and production is therefore not a single project with three versions, but separate projects, and often separate resources and subscriptions, for each stage. Putting production in its own subscription allows stricter Azure Policy, tighter role assignments, separate budgets and a clean audit boundary. Putting development and test together in a non-production subscription keeps costs visible and allows wider access for builders. Model deployments should be duplicated at each stage with the same model and version, so that a test result predicts production behaviour.
When Bram reviewed Ngozika's setup, he found one Foundry project used for everything: experiments, the evaluation runs that gated releases and the production submission review agent. It worked, but it meant that a data scientist trying a new model version was one click away from the agent that account executives depended on. Kwabena Lindqvist, the Azure cloud engineer who looked after Quillfield's subscriptions, created a production subscription with its own resource group and Foundry resource, and moved the production agent there as a new project. The original project became the development project, and a third project for test was added beside it.
Tenants and isolation
Above environments and subscriptions sits the Microsoft Entra tenant. Most organizations use a single tenant for everything, and that is usually right: users, licences, Microsoft 365 data, Power Platform environments and Azure subscriptions share one identity system. A small number of organizations use a separate tenant for development, which gives complete isolation but means separate accounts, separate licences and deployments that cannot use Power Platform pipelines, which do not cross tenants.
Inside a single tenant, two controls limit the blast radius. Tenant isolation in Power Platform restricts connections to and from other tenants, which matters when connectors could reach a partner's or carrier's systems. And tenant settings in the Power Platform admin center govern who can create environments, whether makers can create trial or developer environments, and which generative AI features are enabled. Bram's recommendation for Quillfield was the usual one: a single production tenant, tenant isolation on, environment creation restricted to administrators, and developer environments allowed for named makers in a security group.
Dynamics 365 environments
Dynamics 365 adds its own environments. Customer engagement apps such as Dynamics 365 Customer Service and Sales run in Power Platform environments with Dataverse, so they follow the same environment strategy as Copilot Studio, and their AI features (Copilot in the app, agents for case management or service) are configured per environment. For Dynamics 365 finance and supply chain apps, Microsoft has been moving environment management from Lifecycle Services to Power Platform environments managed in the Power Platform admin center, so many customers now plan development, sandbox and production environments for those apps in the same place as everything else, while some older deployments are still managed the earlier way. An architect designing AI features in those apps needs test environments that contain realistic data, because features such as summaries, forecasting or document processing behave very differently on empty data.
Quillfield does not use Dynamics 365, so its strategy has no finance or customer engagement environments. The capstone in Lesson 12 does, and shows how the same principles extend to them.
Data in each environment
AI solutions depend on data more than most applications, so the strategy must say what data each environment holds. Production data in development is the most common shortcut and the most common audit finding. For Quillfield, Bram set three rules. Development uses synthetic policies and clients generated from BrokerDesk's test fixtures. Test uses a masked copy of a small slice of production data, refreshed monthly by Pascal Wojtyniak's integration team, with names, addresses and policy numbers replaced. Production data stays in production. Knowledge sources follow the same pattern: SharePoint test sites hold copies of policy wordings and procedures, not links to the production libraries.
There are two exceptions to plan for. Evaluation in production (Lesson 4) runs against live traffic by design, so its results must be protected like production data. And some problems only appear with real data, so the strategy should describe a controlled way to reproduce a production issue, such as a time-limited, logged access grant to a named engineer, rather than leaving people to invent one at two in the morning.
Worked problem
Choosing environments for a new agent
Ngozika proposes a Foundry agent that drafts loss-run summaries for account executives. It will be reached from Copilot Studio through the Policy Service Assistant and will read loss-run PDFs from a SharePoint library. Which environments and projects should it use?
Show solution
- Copilot Studio side: add the connection to the existing Agents development, test and production environments, because the business owner and channel are the same as the Policy Service Assistant.
- Foundry side: build in the development project in the non-production subscription; evaluate in the test project; publish only from the production project in the production subscription.
- Model deployments: deploy the same model and version in each Foundry stage.
- Data: point development at synthetic loss runs, test at a masked library, and production at the live library, using an environment variable for each location.
- Record each stage pairing in the solution's operating record so that the test Copilot Studio environment calls only the test Foundry project.
Answer: Reuse the Agents environment set on the Power Platform side, use separate Foundry projects per stage with production in its own subscription, keep data separated by stage and make the cross-platform pairing explicit.
Writing the strategy down
An environment strategy that lives in one administrator's head is not a strategy. Bram wrote Quillfield's as a three-page document with a table of environments and projects, the purpose of each, the security group for each, the data rules, the data policy assigned, the capacity allocation and the owner. Rasmus maintains it, and the AI council reviews it twice a year. It also defines how a new solution gets environments: the maker fills in a short request, Rasmus checks whether an existing set fits, and new sets are created only when the risk or scale justifies them.
The document also records who may do what in each environment. In development, makers have the Environment Maker role and can build freely. In test, only the pipeline's service identity and named testers may import or change solutions. In production, no person imports solutions by hand; changes arrive only through pipelines, and administrator access is limited to Rasmus and one deputy, with their actions audited. Those rules turn the environment layout into a control, not just a filing system.
Common mistakes
MistakeLetting each team create environments as needed and organizing them later.
InsteadDefine patterns, naming and request rules first, then create environments to fit them.
MistakeUsing one Foundry project for experiments, evaluation and production.
InsteadUse separate projects per stage, with production in its own subscription where possible.
MistakeTesting a Copilot Studio agent against a production Foundry agent or data source.
InsteadPair stages explicitly so that test calls test and production calls production.
MistakeCopying production data into development for realism.
InsteadUse synthetic data in development and masked data in test; reproduce production issues through a controlled, logged process.
MistakeLeaving shared solutions in the default environment.
InsteadTreat the default environment as personal space and move shared solutions into governed environments.
Summary and key terms
- The AB-100 deploy domain (20 to 25 percent as of November 16, 2026) covers monitoring and tuning, testing, ALM design, and responsible AI, security, governance and compliance.
- Environment strategy decides where AI solutions are built, tested and run, and who may act in each place.
- Power Platform environments hold Copilot Studio agents, flows, Dataverse and Dynamics 365 apps; Foundry resources and projects in Azure subscriptions hold Foundry agents and model deployments.
- Portfolios combine per-solution, per-business-area and shared environment sets; environment groups apply rules to many Managed Environments at once.
- Production Foundry work belongs in its own project and preferably its own subscription, with matching model versions at each stage.
- The strategy must define data rules, cross-platform stage pairing and access rules, and be written down and reviewed.
- Environment strategy
- The plan for which isolated environments exist for solutions, their purpose, access, data and the path between them.
- Managed Environment
- A Power Platform environment with premium governance features enabled, such as sharing limits and pipelines.
- Environment group
- A container in the Power Platform admin center used to organize Managed Environments and apply rules to them together.
- Foundry project
- A workspace inside a Foundry resource that holds agents, evaluations, files and connections for one team or solution.
- Stage pairing
- The explicit mapping of each Power Platform environment to the Foundry project and data sources at the same stage.
- Tenant isolation
- A Power Platform setting that restricts connections between your tenant and other tenants.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Why is a single Foundry project a weak production setup?
Show answer
Experiments, evaluations and production share one space, so a change or mistake made while experimenting can affect the live agent, and access and cost cannot be separated.
What are environment groups for?
Show answer
Organizing Managed Environments and applying governance rules, such as sharing or generative AI settings, to many of them at once.
What data should a test environment hold?
Show answer
A masked or synthetic copy that is realistic enough to test AI behaviour, never live production data.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.