Level 200About 120 minutesAdapted November 2026

Environment strategy and governance

Take the role of a Power Platform lead and build a Safe Innovation Zone: a governed environment group where each maker gets a personal developer environment and consistent rules are applied automatically. The official module is nine labs. Work through them in order, because later labs build on earlier ones.

IGOE AI learning resource. This is an independent adaptation of a Microsoft workshop lab, not official Microsoft courseware and not a promise of course inclusions.

Adapted from the official lab

Original Power CAT lab

Adapted from Managed Governance: Environment Strategy and Governance in Microsoft's Apps and Agents workshop (Power Series labs), built by Microsoft's Power CAT team. Source: https://microsoft.github.io/apps-agents-workshop/labs/lab.html?path=managed-platform-governance%2FREADME.md&branch=main.

The lab documentation is licensed under CC BY 4.0. Copyright Microsoft Corporation. The licence text is in the repository LICENSE-DOCS file.

IGOE AI adapted it into this UK follow-along checklist, including wording changes, a progress checklist, and this page layout. This is not an official Microsoft page and is not endorsed by Microsoft.

0 of 0 steps complete

What you will build

A governed environment group with connector policy, sharing limits, additional rules, maker welcome content, environment routing, a test of sharing limits, a default pipeline, and a default-environment cleanup path, following the official nine labs.

  • Time needed: About 120 minutes.
  • Who it is for: Power Platform administrators and makers with admin access.
  • Environment: You need tenant-level Power Platform administrator access. Prefer a test or demo tenant rather than a live customer tenant. Official guidance notes that some preview features appear in the US region first.

Licences and prerequisites

The Power Platform administrator role in Microsoft Entra ID, and access to the Power Platform admin center at admin.powerplatform.microsoft.com. For the pipeline lab, you create a pipelines host and install the Power Platform Pipelines package as part of the lab. All target environments used in pipelines must be Managed Environments. For the cleanup lab, at least one app must exist in your default environment so the advisor recommendation can appear. The official module also discusses test-tenant options. Follow the source lab for those options; this page does not add pricing. Shared workshop prerequisites: labs/prereqs.md. Shared sample setup: solutions/README.md.

Labs that use generative AI can look different from the screenshots. If the result varies, complete the task from the intended outcome and the UI you see, as the official workshop notes.

Follow the lab

Work through the official steps below as a checklist. Tick each step as you finish it. Your progress is saved in this browser on this device only. Use the reset button to start again. Each step has a stable address such as https://igoe.ai/learn/apps-agents-workshop/environment-governance/#step-1 so a video can link to it.

In this module you take on the role of your organisation’s Power Platform Lead. Your job is to build a Safe Innovation Zone, a governed environment group where every maker gets a personal developer environment with consistent rules applied automatically. Across nine labs you stand it up one guardrail at a time, turning ungoverned sprawl into a place where makers can move fast while risk stays contained.

Labs in this module

Lab Description
Create an environment group Create the Safe Innovation Zone and understand environment groups
Configure connector policy Set up advanced connector policies to control which connectors makers can use
Configure sharing limits Restrict how broadly canvas apps can be shared
Configure additional rules Set up solution checker, usage insights, backup retention, and apply all rules
Configure maker welcome Embed onboarding guidance directly in Power Apps
Configure environment routing Route new makers to the Safe Innovation Zone
Test sharing limits Verify that sharing limits and routing work as expected
Configure default pipeline Set up a deployment pipeline for the Safe Innovation Zone
Clean up default environment Migrate apps out of the default environment

Prerequisites

If you don’t have a tenant yet, either use the Customer Digital Experiences (CDX) Portal, or use the Microsoft 365 Developer Program to request a new one. This YouTube video provides guidance on how to get a tenant for free or at a minimal cost. Keep in mind that frontier and preview features become available in the US region first. It is also recommended for demo tenants to set the Release preferences in the M365 admin center to Targeted release for everyone. Navigate to the M365 admin center, select Show all to expand the left navigation pane, expand Settings, select Org settings, select the organisation profile tab, and then select Release preferences.

Business use case

Scenario: You are the Power Platform Lead for your organisation, and you have inherited a problem. Adoption took off faster than anyone planned, and almost all of it landed in one shared default environment, tens of thousands of apps, flows, and agents with no owner, no guardrails, and no visibility into what is running or why. Recently, a maker shared an app full of sensitive data with far more people than intended, and no one caught it until afterward. Leadership’s mandate is clear: bring it under control, but don’t slow the makers down.

To put the scale in perspective, Microsoft’s own default environment has over 100,000 users, 65,000 canvas apps, 12,000 cloud flows, and 5,000 agents, and that number keeps climbing. Managing risk and compliance at that scale becomes nearly impossible without a structured approach.

Over the next nine labs, you build the answer: an environment strategy that shifts your organisation from “everyone builds everywhere” to “everyone builds safely”, empowering innovation while keeping risk under control:

  • Organizing environments into governed groups with consistent rules applied at scale.
  • Controlling what can be built, how broadly it can be shared, and which connectors are available.
  • Routing makers away from the default environment and into secure, personal developer environments.
  • Standardizing deployment practices with default pipelines across environment groups.
  • Cleaning up the default environment by migrating apps to designated managed environments.

The importance of environment strategy

  • Compliance and risk management: Apply connector policies and sharing limits consistently, eliminating ungoverned development.
  • Operational efficiency: Route makers automatically, no manual intervention from IT required.
  • Cost control: Restrict sharing to prevent broad, accidental exposure that drives unnecessary licensing costs.
  • Maker enablement: Provide embedded onboarding guidance so every maker starts in a secure, well-governed workspace from day one.

What you learn

By the end of this module, you can:

  • Create and configure environment groups with governance rules.
  • Set up advanced connector policies, sharing limits, and additional rules.
  • Embed maker welcome content directly in Power Apps.
  • Route makers to governed developer environments instead of the default environment.
  • Configure a default deployment pipeline for an environment group.
  • Migrate apps out of the default environment using manual and automated approaches.

Ready to get started? Go through the labs table above in order because the labs partially build on each other.

01-create-environment-group

Every system needs a foundation, and yours is a single group of environments that share one set of rules. You’ll build it in this lab and name it the Safe Innovation Zone, a governed home where makers can build freely while the same guardrails are applied to every environment in the group automatically. Before you can apply one rule across many environments, you need something to apply it to, so creating the group is your first move.

Environment groups are containers that help you organize and manage multiple Power Platform environments at once. Instead of configuring each environment individually, you can sort environments by business unit, project, location, or other criteria, and then apply governance to the whole group in one place. The Safe Innovation Zone you create here is one such group.

Why use environment groups?

  • Bulk governance. Apply governance rules to thousands of environments simultaneously, eliminating manual repetition.
  • Consistency. Every environment within the group adheres to the same settings.
  • Security. Only tenant administrators can change group rules, and overrides are not permitted.

There are many ways to manage groups of environments within your tenant. For example, global organizations can create an environment group for each geographic region to ensure compliance with legal and regulatory requirements. You can also organize environment groups by department or other criteria.

Environment groups concept diagram showing grouped environments
Figure: Environment groups concept diagram showing grouped environments.

Create a new environment group

New group creation pane
Figure: New group creation pane.

Newly created environment group open to its own page in the admin center
Figure: Newly created environment group open to its own page in the admin center.

What to secure

You now have a group, but an empty group protects no one. Securing the Safe Innovation Zone means deciding, one rule at a time, what makers can build, how far their work can spread, and how it can be accessed. The remaining labs configure each of these controls.

  • What can be built? Decide which connectors, data sources, and features are available. By restricting access to trusted components, makers can safely experiment without risking sensitive data.
  • How broadly can things be shared? The number of people who can access an app affects both risk and cost. Clear sharing limits ensure apps are only accessible to approved users.
  • How can it be accessed? Control how apps are accessed, such as limiting usage to specific channels.

Additional resources

Next lab

Your group exists. Now give it its first rule, continue with Configure connector policy to decide which connectors your makers can reach.

02-configure-connector-policy

The first guardrail answers the question what can makers build?, and that starts with the connectors they can reach. Every connector is a door to data, and the maker who overshared sensitive information walked through one of them. Here you decide which doors stay open.

Previously, Data Loss Prevention (DLP) policies were used to govern which connectors could be used in apps and flows. However, DLP policies had limitations, they could not block certain connectors, and the interaction between overlapping policies was difficult to reason about, often producing unexpected results for administrators.

Advanced connector policies within environment groups resolve these issues:

  • One policy per group, eliminating overlap and confusion.
  • A strict allowlist: every connector that is not explicitly allowed is blocked, including any connectors Microsoft adds to the platform later.
  • Ability to block any connector, including those previously considered “unblockable” by DLP policies.
  • Predictable, clear results, no more relying on user complaints to discover issues.

Advanced connector policies currently govern certified connectors only. Custom connectors and HTTP connectors aren’t supported yet and still need classic data policies (DLP) in the meantime. In a group of personal developer environments this rarely matters, but keep it in mind for production governance.

Configure the advanced connector policy

Rules tab with the Add rules command
Figure: Rules tab showing the Add rules command.

Rule selection pane with Advanced connector policies
Figure: Rule selection pane with Advanced connector policies.

You can select multiple rules here and configure them in one pass. In this module you add them one at a time, so each guardrail and its effect stay clear.

Advanced connector policy pane with the default connectors allowed
Figure: Advanced connector policy pane with the default connectors allowed.

Confirmation message warning about the impact of the policy
Figure: Confirmation message warning about the impact of the policy.

Rule selection pane with the Add command
Figure: Rule selection pane with the Add command.

Rules tab showing the added rule with an asterisk and a confirmation ribbon
Figure: Rules tab showing the added rule with an asterisk and a confirmation ribbon.

Do not select Apply changes yet. Configure all rules first (connector policy, sharing limits, and additional rules), then apply them together. This avoids multiple apply cycles and ensures all changes take effect at once.

After applying the changes, allow some time for them to propagate to all environments in the group before testing them.

Additional resources

Next lab

You have decided what makers can build with. Next, decide how far their work can travel, continue with Configure sharing limits.

03-configure-sharing-limits

This is the rule that addresses the incident that started it all. A maker shared an app full of sensitive data with far more people than intended, and no one noticed until afterward. Sharing limits make that mistake impossible by capping how far any single app can spread, before it spreads.

Setting strict sharing limits is important to maintaining security and controlling costs. By restricting access, you ensure that apps within the Safe Innovation Zone remain available only to the right individuals, preventing broad or accidental sharing.

Sharing limits are enforced when users try to share an app. They don’t affect users who already have access to an app before the rule takes effect. However, if an app is out of compliance with the new limits, only unsharing is allowed until the app is compliant again.

Set sharing controls for canvas apps

Sharing controls for canvas apps rule in the rule selection pane
Figure: Sharing controls for canvas apps rule in the rule selection pane.

Sharing controls configuration with a limit of 2 individuals
Figure: Sharing controls configuration with a limit of 2 individuals.

Do not select Apply changes yet if you plan to configure additional rules. Apply all changes together after completing Configure additional rules.

Additional resources

Next lab

The core guardrails are in place. Now round out the group with a few supporting rules, then apply them all at once, in Configure additional rules.

04-configure-additional-rules

You have configured the headline guardrails one at a time, but so far none of them are live. This lab adds the finishing rules, backup retention, solution checker, usage insights, and then does the thing that makes all of your work real: a single Apply changes that pushes every rule out across the group at once.

This lab covers optional rules for the Safe Innovation Zone and the final step of applying all rules across environments.

The rules below are listed in alphabetical order to make them easier to find when scrolling through the rules list in the admin center. You can configure all of them or skip to Step 4: Apply all changes if you only need to apply the rules from previous labs.

These labs cover the rules we consider most relevant to organizations, but they are only a subset of what environment groups can govern. While you’re in the rule selection pane, take a moment to explore the other available rules, for example, generative AI settings, AI prompts, release channel, unmanaged customizations, Power Apps component framework, and content security policy. See Rules for environment groups for the full list.

Backup retention

The backup retention period defines how long Dataverse data is kept in backups. Since this group only contains developer environments without production data, keep the 7-day default.

For groups with production environments, you could increase the retention period up to a maximum of 28 days depending on data criticality. The extended retention (7, 14, 21, or 28 days) applies to production managed environments only.

Backup retention rule configuration panel
Figure: Backup retention rule configuration panel.

Solution checker

This environment group is for personal productivity and early development, so it is normal for makers to import solutions with errors. To avoid blockers or false warnings, keep the solution checker set to Warn only.

If this environment group contained production environments, it would be important to prevent imports with errors by setting the solution checker to Block mode. In Warn mode, the import continues even when highly critical issues are found, the maker is warned and a summary email is sent. In Block mode, the import is canceled before any changes reach the environment.

Solution checker enforcement set to Warn
Figure: Solution checker enforcement set to Warn.

If certain solution checker rules aren’t relevant for your organisation, for example, a rule that would take significant effort to fix across existing solutions, you can exclude them from enforcement using the Excluded Rules dropdown in the configuration panel. The remaining rules stay enforced. Keep in mind that only critical severity rules block a solution from being imported.

Usage insights

These environments in the Safe Innovation Zone do not contain enterprise applications and are not highly utilized, so you may want to exclude them from the weekly email digest.

Usage insights rule with the checkbox unticked
Figure: Usage insights rule with the checkbox unticked.

Apply all changes

Now that all rules have been configured (connector policy, sharing limits, and additional rules), apply them so all changes take effect at once.

Apply changes command in the command bar
Figure: Apply changes command in the command bar.

Confirmation that rules were applied to all environments
Figure: Confirmation that rules were applied to all environments.

Rules that have unapplied changes appear in bold with an asterisk (*) next to them. After applying the changes, all asterisks should be cleared.

Allow some time for the changes to propagate to all environments in the group before testing them.

Additional resources

Next lab

The guardrails are live. But makers won’t see the rules, they’ll just hit them. Give them context before they do by greeting them on arrival in Configure maker welcome.

05-configure-maker-welcome

Guardrails that arrive with no explanation feel like friction. The fix is to greet makers the moment they start building, so the rules read as guidance rather than obstacles. A welcome message is how you turn governance into onboarding, and how you answer the most common questions before they ever reach your inbox.

Embedding best practices, training resources, and governance reminders directly where makers work, in Power Apps, helps IT scale guidance without repeatedly answering the same questions. Every employee receives a personalized onboarding experience as soon as they begin building.

  • Educate at scale. Instantly share training resources and company standards.
  • Reinforce governance. Remind makers about sharing limits, connector usage, and policies.
  • Enable self-service. Provide links for requests and support, reducing emails and meetings.

Configure the maker welcome message

```
Contoso

Note. The sample Contoso logo URL in the official markup currently returns 404, because the labs/01-plan-designer folder is not in the workshop repository. Use another public image, or leave the logo out.

## Welcome to Contoso Power Apps

You’ve landed in your own personal developer environment, a safe space to build, test, and learn.


### Get started


### Know the guardrails


Happy making!, The Contoso Power Platform Team
```

This is sample content using the Contoso brand. Replace the company name, logo URL, and the contoso.example placeholder links with your organisation’s actual resources before deploying to production.

Sample welcome content markup entered in the text box
Figure: Sample welcome content markup entered in the text box.

Preview of the maker welcome content
Figure: Preview of the maker welcome content.

Under the welcome message, makers can choose not to see it again on future visits, and can always find it later under Learn > From your org. If an admin updates the welcome content and reapplies the group rules, makers may see the refreshed message again on their next visit.

The configuration panel also lets you require makers to acknowledge your usage policies before they start building: check Include consent button and log maker activity and paste your organisation’s terms and conditions URL into the Terms and conditions field. This turns the welcome experience into a lightweight acknowledgment gate.

The welcome content text box is limited to 1,500 characters, so keep your message focused, link out to internal sites for anything longer. A Reset form option is available next to See preview if you want to start over.

Additional resources

Next lab

The group is fully equipped, rules, guidance, and all. But makers still land in the default environment by default. The last piece is to send them somewhere better. Continue with Configure environment routing.

06-configure-environment-routing

You have built a well-governed group, but it stays empty until makers actually land in it. This is the switch that sends every new maker to the right place. Instead of everyone starting in the shared default environment, routing gives each maker their own personal developer environment inside the Safe Innovation Zone, automatically, with no request to file and no action from IT.

After creating your Safe Innovation Zone, the next step is to ensure that new makers begin their work within this environment rather than the default one. Environment routing automatically provisions a personal developer environment for each maker and places it in the specified environment group.

Environment routing is available for Power Apps, Copilot Studio, and Power Automate (both cloud flows and desktop flows). This lab focuses on Power Apps. You can extend routing to other products using the same steps.

Create a routing rule

Environment routing command at the top of the Environment groups page
Figure: Environment routing command at the top of the Environment groups page.

The same routing configuration is also reachable via Manage > Tenant settings > Environment routing, both paths open the same pane. Environment routing is a tenant-level setting, so wherever you open it from, the rules you create apply tenant-wide.

Checking a product box alone doesn’t route anyone. Routing only takes effect once at least one rule exists, if no rule is created, environment routing stays switched off.

Turn on environment routing for Power Apps and create a new rule
Figure: Turn on environment routing for Power Apps and create a new rule.
5. Complete the following fields:
- Name: Safe Innovation Zone
- Apply routing to: Everyone (select specific security groups if you want to create multiple routing rules for different environment groups)
- Save work in: Safe Innovation Zone
6. Select Save.

Environment routing rule configuration dialog
Figure: Environment routing rule configuration dialog.

Environment routing saved successfully
Figure: Environment routing saved successfully.

When you define multiple routing rules (up to 25), their order matters: when a maker accesses a portal, the rules are evaluated top to bottom and the first matching rule is applied. Use the arrow icons to change rule priority. If no rule matches, or routing isn’t turned on, the maker lands in the default environment. With the single Everyone rule you created here, every maker is routed to the Safe Innovation Zone.

A few useful facts about routed environments: makers are routed to their own existing developer environment if they already have one they own; newly created environments arrive with the group’s rules applied from the start; and makers get the admin role in their environment. If environment creation fails for any reason, the maker is routed to the default environment instead.

Additional resources

  • Environment routing (Microsoft Learn), How environment routing automatically directs makers into their own personal developer environments within an environment group, including multi-rule routing.

Next lab

Everything is configured, but configured isn’t the same as working. Step into a maker’s shoes and prove the guardrails actually hold in Test sharing limits.

07-test-sharing-limits

This is where the work pays off. You now switch sides, from the Power Platform Lead who built the guardrails to a maker who runs straight into them. You provision a personal environment, build an app, and then deliberately try to overshare it, exactly the way the incident happened. If your group is doing its job, the platform stops you before the app can spread.

Once the Safe Innovation Zone is configured with environment routing, you can verify that sharing limits and routing work as expected.

It may take up to an hour for the new sharing limits to become active. You can complete this test at the end of the module if needed.

Verify environment routing

Since environment routing is set to Everyone, you can test in your current browser session, a private or incognito window is not required.

If you are prompted to select a country/region on first sign-in, complete that step before proceeding.

Create an app and attempt to overshare

Create an app to track employee requests

If the Copilot option is not visible on the home screen, go to Apps > New app > Start with Copilot.

Copilot generating tables for a new app
Figure: Copilot generating tables for a new app.

Employee Requests

Save dialog for naming the app
Figure: Save dialog for naming the app.

Verify sharing restrictions

It may take a couple of minutes for the newly published app to appear under My Apps. Refresh the page if you don’t see it right away.

Sharing with security groups is blocked
Figure: Sharing with security groups is blocked.

Sharing limit tooltip showing maximum reached
Figure: Sharing limit tooltip showing maximum reached.

The guardrails held. Makers are routed to their own personal developer environment, sharing is capped at 2 individuals, and security group sharing is blocked, which means the oversharing incident that started this module can no longer happen here.

Additional resources

  • Limit sharing (Microsoft Learn), How sharing limits restrict canvas app sharing with security groups and cap the number of individuals an app can be shared with.

Next lab

Makers can now build safely. The next question is how their work moves to production without becoming a new source of risk. Standardize that path in Configure default pipeline.

08-configure-default-pipeline

A maker’s app is safe inside its developer environment, but eventually the good ones need to reach production, and an unmanaged hop from “my environment” to “live” is exactly how ungoverned sprawl starts all over again. A default pipeline gives every maker in the group the same clear, repeatable path to production, so moving work forward stays consistent and under your control.

Implementing a default deployment pipeline rule for environment groups standardizes application lifecycle management (ALM) processes at scale. This approach enforces consistent pipeline settings across all environments, reducing manual configuration and human error. By applying governance rules centrally, organizations simplify compliance and ensure predictable deployments.

Prerequisites

Before starting this lab, ensure:

  • You are a Tenant administrator with access to environment groups in the Power Platform admin center.
  • All environments used in pipelines have a Microsoft Dataverse database.
  • All target environments used in a pipeline are enabled as Managed Environments.

The default deployment pipeline rule additionally requires a pipelines host with the Power Platform Pipelines package installed and at least one configured pipeline, but you don’t need those up front: building them is exactly what Steps 1 and 2 of this lab are for.

Only the target environments of a pipeline must be Managed Environments, the pipelines host and development environments don’t need to be. Two things help you stay compliant here: source and target environments used in default pipelines are enabled as Managed Environments automatically, and under Deployments > Settings you can turn on automatic conversion of pipelines environments to Managed Environments per host.

Don’t have a target environment yet? Create one before you start. In the Power Platform admin center, go to Environments and create a new Production or Sandbox environment in the same region as your development environments. If your tenant is short on capacity, a Developer environment is fine for this lab.

Understanding pipeline hosts

Before you create anything, it helps to know what a pipeline host is. A pipeline host is a special-purpose environment that acts as the control center for your deployment pipelines, it stores all pipeline configuration, security settings, and run history in one place. The host itself doesn’t receive deployed solutions; it’s where pipelines are defined and governed. Because it holds every pipeline and its run history, the host is treated as a long-lived, production-grade environment (deleting it deletes all of that data).

There are two kinds of host, and choosing between them is really a choice about who controls deployments:

  • Platform host, A built-in, tenant-wide host that Microsoft provisions automatically the first time someone opens the Pipelines page. It lets individual makers spin up their own personal pipelines with no admin setup. Convenient, but decentralized: each maker manages their own, and you have little central oversight.
  • Custom host, An environment you create with the Power Platform Pipelines application installed. It gives you, as the Power Platform Lead, a single admin-controlled place to define pipelines, decide who can run them, and keep run history and data residency under central governance.

Because the whole point of the Safe Innovation Zone is consistent, centrally governed deployments, not ad-hoc pipelines owned by individual makers, you create a custom host in the steps that follow. The default deployment pipeline rule you set up later points every environment in the group at the pipeline this host defines, so the host is the foundation everything else builds on.

It is best practice to create the host environment in the same region as your development, QA, and production environments to ensure optimal performance and compliance.

Create a custom host

Deployments page showing the New custom host option
Figure: Deployments page showing the New custom host option.

If your tenant does not have capacity for a new production database, you can select environment type Sandbox or, as a last resort, Developer to complete this lab. A Developer environment works for hands-on practice, but it is not a suitable permanent host, it is intended for individual experimentation, not as a shared, production-grade control center. For any real deployment, use a dedicated production environment as the host.

Power Platform Pipelines card on the Dynamics 365 apps page
Figure: Power Platform Pipelines card on the Dynamics 365 apps page.

The page has a New experience toggle at the top. These steps describe the new card-based experience. If you see a classic list view instead, select Power Platform Pipelines in the list and then select Install from the command bar.

Install app side panel with environment selection
Figure: Install app side panel with environment selection.

Installation progress shown in the environment's Dynamics 365 apps list
Figure: Installation progress shown in the environment’s Dynamics 365 apps list.

The environment list in the side panel shows every environment, including ones where Power Platform Pipelines is already installed. Selecting such an environment reinstalls the solution. If you’re unsure whether your host already has it, check first: go to Manage > Environments, select the host environment, open Dynamics 365 apps, and look for Power Platform Pipelines with the status Installed.

You only need the deployment pipelines application in the pipeline host environment. You do not need to install it in any environments where apps are being developed, tested, or used in production.

Deployment Pipeline Configuration app in the Apps list
Figure: Deployment Pipeline Configuration app in the Apps list.

Set up a new deployment pipeline

Creating a new deployment pipeline record
Figure: Creating a new deployment pipeline record.

Pipeline record with the Deployment stages tab and New Deployment Stage button
Figure: Pipeline record with the Deployment stages tab and New Deployment Stage button.

Deployment stage configuration with target environment
Figure: Deployment stage configuration with target environment.

To find the Environment ID, open the Power Platform admin center, select Manage > Environments, and choose your target environment. The Environment ID appears in the Details section, copy it and paste it into the EnvironmentId field.

The option Development Environment in the EnvironmentType selection menu refers to the source of a deployment pipeline, that is, the environment where makers regularly develop (their own environment in a Safe Innovation Zone). It is not to be confused with the environment types Sandbox, Production, Development, and Trial.

Configured pipeline with a deployment stage
Figure: Configured pipeline with a deployment stage.

Custom host visible in the Deployments section
Figure: Custom host visible in the Deployments section.

Configure the default pipeline for the Safe Innovation Zone

Default deployment pipeline rule configuration
Figure: Default deployment pipeline rule configuration.

Changes applied successfully with the Default deployment pipeline rule showing Applied
Figure: Changes applied successfully with the Default deployment pipeline rule showing Applied.

For the purposes of this rule, “development environments” are environments of type Developer or Sandbox, the chosen pipeline is only associated with environments of these types, which prevents production environments from being unintentionally treated as development sources. Allow up to 10 minutes for the rule to apply across the group.

Ensure that all makers who will run the pipeline have access to the pipelines host. The easiest way is to create a Microsoft Entra team on the pipelines host mapped to a security group containing your makers, so they gain just-in-time access with the Deployment Pipeline User role.

Step 4: Validate the pipeline under solutions (optional)

This step requires an environment that was automatically created through environment routing. Within that environment, create a solution that includes at least a test application (create a solution in the environment where you tested the sharing limits of canvas app Employee Requests in an earlier lab section, and add the existing canvas app to this solution).

Once the solution is created, navigate to it and verify that the pipeline is visible and enabled for the maker.

Pipeline visible under solutions in the maker environment
Figure: Pipeline visible under solutions in the maker environment.

Additional resources

Next lab

New work now flows into safe environments and out through a governed pipeline. That handles the future, but the original mess is still sitting in the default environment. Confront it in Clean up default environment.

09-clean-up-default-environment

Your guardrails protect everything built from now on, but they don’t touch what is already there. The default environment is still crowded with the apps and flows that accumulated before any of this existed, the original problem leadership asked you to solve. This final lab is the cleanup: you triage what’s there and migrate the apps worth keeping into governed, managed environments where they belong.

Think of the default environment as the attic of your tenant: for years, everything with nowhere else to go ended up there, apps, flows, and connectors with no owner and no guardrails. Every one of them is a small, unmanaged risk, and together they’re the reason the oversharing incident was possible in the first place. Since you switched on environment routing, nothing new lands there anymore. What remains is deciding, app by app, what happens to the backlog: keep it and move it somewhere governed, quarantine it, or delete it.

There’s a payoff beyond risk reduction. Once the clutter is gone, the default environment can finally settle into the narrow role it’s best suited for: ad hoc personal productivity with Microsoft 365 products, quick, individual helpers, not a home for anything shared, business-critical, or long-lived. Everything of substance belongs in governed environments.

Want to restrict the default environment even further? A recommended hardening approach is to enable it as a Managed Environment and apply the same kinds of controls you built for the Safe Innovation Zone: very strict sharing limits, and an advanced connector policy configured directly on the environment that allows only the bare minimum of connectors. Because the environment is managed, even connectors that classic DLP could never block can be locked down. You can’t remove access to the default environment, but you can make it a place where very little can go wrong. See Secure the default environment for the full set of recommendations.

The move-apps recommendation is currently a preview feature. During the preview, only canvas apps and SharePoint forms that don’t use any shared connectors or resources can be moved, the recommendation only shows the apps and forms that are eligible.

App sharing is not carried over during migration. The app is recreated in the destination environment with its permissions stripped, so after the move you must add the users to the target environment and reshare the app with them. If you leave the original app in place (the None option), users can still open it but see a banner indicating that the app has moved.

You have two ways to work through the backlog, and this lab shows both:

  • Manual cleanup using the Power Platform admin center, which allows you to review, move, or remove apps one by one.
  • Automated cleanup using Power Automate, which enables bulk processing and migration of apps based on recommendations. See Reference: Automated cleanup below.

Review recommendations

You can’t clean up what you can’t see, so the first move is reconnaissance. The platform has already done the hard part for you: the admin center’s recommendations flag exactly which production-grade apps are sitting in the default environment and are eligible to move. Your job here is to pull up that list, understand it, and get it in front of the people who’ll help you act on it.

The “Improve environment hygiene” recommendation may not appear on new or clean tenants that have no apps in the default environment. If this is the case, you can skip this section.

To see all recommendations available in the platform, regardless of whether they apply to the current tenant, visit the Recommendations page URL.

Recommendations page in the Power Platform admin center
Figure: Recommendations page in the Power Platform admin center.

Recommendation details in the side panel
Figure: Recommendation details in the side panel.

Download the app list as CSV
Figure: Download the app list as CSV.

Downloaded app list opened for review
Figure: Downloaded app list opened for review.

Sharing recommendations via Microsoft Teams
Figure: Sharing recommendations via Microsoft Teams.

Move an app to a managed environment

Now the triage becomes action. You pick one app from the list and walk it through the guided migration wizard, out of the ungoverned attic and into a managed environment where your rules apply. Along the way you make the call that matters for every migration: what happens to the original left behind.

Selecting an app to view details
Figure: Selecting an app to view details.

App details panel showing usage and ownership information
Figure: App details panel showing usage and ownership information.

From the details screen, you can open the app itself using the Go to app link, provided you have access to it (for example, the app is shared with you directly, or you are a system administrator in that environment). This is a quick way to see what you’re about to move.

Move button to start the migration wizard
Figure: Move button to start the migration wizard.

Destination environment selection in the migration wizard
Figure: Destination environment selection in the migration wizard.

The list of available destinations only contains Managed Environments, unmanaged environments aren’t offered, because the whole point of the move is to bring the app under governance. Remember also that sharing is not preserved, you reshare the app in the destination after the move completes.

Select Move to submit the migration.

Reviewing the move and choosing what happens to the original app
Figure: Reviewing the move and choosing what happens to the original app.

As an alternative to deleting, select None and then modify the original app by adding an initial screen with a hyperlink directing users to the app’s new location. Rename the original app to include the suffix “(Moved)” to clearly indicate its status.

Move request received confirmation in the wizard
Figure: Move request received confirmation in the wizard.

Migration complete confirmation with a tick next to the app
Figure: Migration complete confirmation with a tick next to the app.


Reference: Automated cleanup (Power Automate)

This section is a reference lab you can complete in your own time, it isn’t part of the guided workshop session. Treat the flow as a working example rather than an absolute recipe: it shows one way to automate the cleanup, and you’re encouraged to expand and adapt it to fit your organisation’s own approval processes, environments, and cleanup criteria.

Moving one app through a wizard is fine; moving three hundred is not a job for clicking. For cleanups at scale, you can create a Power Automate flow that retrieves the apps flagged by the Advisor recommendation and migrates each one into a preselected destination environment, one managed environment that you choose up front. The flow does exactly what the manual wizard did in Step 2, but driven by the recommendation’s own data and repeated automatically for every flagged app.

The destination and selection logic are the parts you’d most likely adapt for your organisation: as written, the flow consolidates every flagged app into your one designated managed environment, but you could just as easily match each app to its owner’s personal developer environment, route different apps to different environments based on ownership or department, or filter the flagged app list against a pre-approved set of app IDs to migrate only a subset.

Flow overview

Move Apps from Default - Bulk

Manual trigger for the cleanup flow
Figure: Manual trigger for the cleanup flow.

To be able to follow along, switch to the Classic workflow designer if the New designer is opened automatically. Select Switch without saving if prompted to save the workflow before switching to classic designer.

This is the backend/API name for the advisor recommendation you opened in Step 1 (“Improve environment hygiene by moving the production apps out of the default environment”).

Get recommendation resources action with the recommendation selected
Figure: Get recommendation resources action with the recommendation selected.

List environments as admin action
Figure: List environments as admin action.

Several actions expose a token named value, make sure you pick the one under Get recommendation resources, not the ones from List Environments as Admin or Get recommendations.

Apply to each loop
Figure: Apply to each loop.

Filter array action with the environments array in the From field
Figure: Filter array action with the environments array in the From field.

Selecting the ID field for filtering
Figure: Selecting the ID field for filtering.

Filter matching the designated destination environment by ID
Figure: Filter matching the designated destination environment by ID.

Watch the look-alikes again: a lowercase body token also appears under List Environments as Admin. Pick the capitalized Body under Filter array, the filtered list, not the unfiltered one.

Second Apply to each using filtered results
Figure: Second Apply to each using filtered results.

Compose action with the environment ID from Filter array as input
Figure: Compose action with the environment ID from Filter array as input.


Congratulations! You completed Module 1. You walked in with an ungoverned default environment and a fresh oversharing incident, and you walked out with a Safe Innovation Zone: makers routed into governed environments, rules that hold under pressure, a standardized path to production, and the original mess cleared out. The guardrails are built, but building them is only half the job. In Module 2, you gain the visibility to confirm they’re working and to catch whatever slips through.

Further reading

What is likely to go wrong

SymptomLikely causeWhat to try
You cannot find the sample app, tables or orders.The Northwind Traders solution is missing, or you are in the wrong environment.Check the environment picker, then import and seed the sample using the official solutions README.
A feature or preview button is missing.The environment region, early release setting, or a required role is not in place.Compare your environment with the official prerequisites for this lab, including early release and Copilot Studio Authors where the source lab requires them.
A connector or flow asks for a licence.The account is missing a required licence, such as Outlook for the supervised-agents lab, or a premium connector.Use a licensed test account in the sandbox, or follow the official trial steps if the source lab includes them. Do not run this in production to work around a licence gap.
A flow, workflow or agent run fails on the first test.A connection is not signed in, or sample data does not match the filter in the step.Open connections and sign in, then check the record values against the official filter or test data.
Generated wording or a chart looks different from a screenshot.Generative AI results vary, as the official workshop says.Judge the result against the intended outcome and continue if the task is complete.

Open the original Power CAT lab if a UI name has changed, and use what you see on screen rather than inventing a missing click.

Join the free monthly webinar. A 40-minute live taster on Microsoft Teams.

See where your organisation stands

Complete the short AI and automation scorecard. Your answers stay in your browser. Nothing is sent or stored, and there is no email sign-up.