MSBA-130 · Lesson 5 of 12 · 18 min

Environments and the admin center

▶ Video coming soon A video version of this lesson is on the way.

When Rupert first signed in to the Power Platform admin center for Lumenvale, he found what most organizations find: one environment called "Lumenvale Community Colleges (default)", containing 63 apps and 141 flows that staff had built over four years with their Microsoft 365 licences. Some were useful and well maintained. Some belonged to people who had left. Three flows were still emailing a former employee's personal address every week. "This," he told the group, "is what happens when the only environment is the default one."

What an environment is

An environment is a container for Power Platform resources: apps, flows, Copilot Studio agents, connections, custom connectors, gateways and, optionally, a Dataverse database. Every environment sits in one region (geography), such as Canada, the United States or Europe, which decides where its data is stored. Each environment has its own security: who can see it, who can build in it, and what roles they have. Data in one environment's Dataverse database is separate from another's.

Environments let an organization separate work that should not mix. Common separations are by stage (development, test and production), by department or business unit, by sensitivity of data, and by audience (a personal sandbox for learning versus a production environment for an app hundreds of people rely on).

A tenant box containing five environment boxes. The default environment on the left is labelled personal productivity. Next to it three boxes labelled Registrar Dev, Registrar Test and Registrar Prod are joined by arrows labelled pipeline. On the right a box labelled Developer environments for makers. Each environment box shows a small database icon labelled Dataverse.
A tenant with a default environment, a development, test and production set for the registrar, and personal developer environments.

Environment types

Power Platform offers several environment types, and the PL-900 exam expects candidates to know what each is for.

Power Platform environment types.
TypePurposeKey points
DefaultCreated automatically for every tenantEvery licensed user can build here; it cannot be deleted; best kept for personal productivity
ProductionRunning apps and flows that people rely onFull backups and support; the home of finished solutions
SandboxDevelopment and testingCan be copied, reset and later converted to production
TrialTrying features for a short periodExpires after a set time, typically 30 days, unless converted
DeveloperA personal environment for one maker to learn and buildOwned by one person; usable with the free Developer Plan
Microsoft Dataverse for TeamsApps, flows and agents for a single team inside TeamsCreated from Teams; smaller and simpler; can be upgraded

The default environment deserves special attention. Because every licensed person can create apps and flows there, it tends to fill with personal and experimental work. Microsoft's guidance is to treat it as a space for personal productivity, apply strict data policies to it, and move anything important into properly managed environments. A managed environments feature called default environment routing can automatically send new makers to their own personal developer environment instead of the default one, which Lesson 9 returns to.

Planning an environment strategy

An environment strategy is a written plan for which environments exist, who can create them, what each is for and which policies apply. Rupert drafted Lumenvale's on one page.

Lumenvale's first environment strategy.
EnvironmentTypeWho buildsWho usesData allowed
Lumenvale (default)DefaultAny staff memberThe builder and a few colleaguesNo student records
Registrar DevSandboxMaribeth, SigneBuilders onlyTest data only
Registrar TestSandboxNobody builds directly; solutions arrive by pipelineA small group of testersTest data only
Registrar ProdProductionNobody builds directlyRegistrar staff and advisersStudent records
Lakeshore OpsProductionTwo trained makersLakeshore staffOperational data, no student records
Personal developerDeveloperOne maker eachThat makerSample data only

Two rules carried most of the weight. First, nobody builds directly in a production environment; changes are made in development, tested, and then moved by a pipeline. Second, sensitive data only lives in environments that have the right security group, data policies and backups. Rupert also limited who could create new production and sandbox environments to administrators, through the admin center's tenant settings, so that environments would not multiply unseen.

The Power Platform admin center

The Power Platform admin center is the web portal where administrators manage environments and the platform as a whole. Its layout has been redesigned more than once, so menu names move, but the main areas are stable.

Main areas of the Power Platform admin center. Names and placement change as the portal evolves.
AreaWhat administrators do there
Environments and environment groupsCreate, copy, reset, back up, restore and delete environments; set security groups; group environments to apply rules together
Settings and tenant settingsControl features for one environment or the whole tenant, such as who can create environments and which AI features are on
Security and data policiesDefine data loss prevention policies, manage access and review security recommendations
Monitoring and analyticsSee usage of apps, flows and agents, service health and inventory of resources
Licensing and capacitySee licences, assign capacity, view Dataverse storage used and set up pay-as-you-go billing
Help and supportOpen support requests and read service messages

Many administrators also use PowerShell modules for Power Platform and the Power Platform CLI (the pac command) to automate tasks such as listing every environment and its owner. The admin center itself now includes Copilot assistance for some administrative questions.

Listing environments with the Power Apps administration PowerShell module. Output columns depend on module version.
# Requires the Power Platform PowerShell modules for administrators
Add-PowerAppsAccount
Get-AdminPowerAppEnvironment |
    Select-Object DisplayName, EnvironmentType, Location, CreatedBy |
    Sort-Object DisplayName

Who administers Power Platform

Administration happens at two levels. At tenant level, people with the Power Platform Administrator role in Microsoft Entra ID (or a Global Administrator or Dynamics 365 Administrator) can manage every environment, create data policies for the tenant and change tenant settings. At environment level, people with the System Administrator security role in an environment's Dataverse database manage that one environment: its users, roles, settings and solutions. That split lets central IT set the rules while a trusted person in a department manages day-to-day access in their own environment. Lesson 6 explains environment security in more detail.

Lifecycle operations

Environments are not static. Administrators often need to copy an environment, for example to give testers production-like configuration without production data; reset a sandbox to a clean state; back up and restore, since production and sandbox environments have system backups and also allow manual backups before a risky change; and convert a sandbox or trial into production when a pilot succeeds. Deleting an environment deletes its Dataverse database and everything in it, so the admin center makes it a deliberate action, and deleted environments can be recovered for a short period.

Capacity and environments

Each Dataverse environment consumes capacity from the tenant's pool: database capacity for table rows, file capacity for attachments and images, and log capacity for audit logs. Capacity comes from licences and from add-ons, and the admin center shows how much each environment uses. An environment strategy should consider capacity: a dozen copies of a large production environment can use up storage the organization has paid for. Lesson 8 covers capacity as part of licensing.

Worked problem

Choosing an environment type

For each need, choose the environment type: (a) Maribeth wants to experiment with Copilot app creation on her own before building anything real; (b) the registrar app will be used by 46 staff from January; (c) Signe needs a place to test a new version of the app with sample data; (d) a team of four wants a simple shift-swap app inside their Teams channel.

Show solution
  1. (a) A personal place to learn: a developer environment.
  2. (b) A finished app people rely on: a production environment.
  3. (c) Testing before release: a sandbox environment, refreshed by copying production configuration without the student data.
  4. (d) A small team tool inside Teams: Microsoft Dataverse for Teams.

Answer: Developer, production, sandbox and Dataverse for Teams, in that order.

Environment access and settings

Creating an environment is only the start. Each one has settings that administrators choose deliberately: whether auditing is on, which features and previews are enabled, how email is handled, which Copilot features are allowed and how long audit logs are kept. Each one also has access rules. When an environment has a Dataverse database, people are added as users of that database with security roles; when an Entra ID security group is linked to the environment, only members of that group can be added. Removing someone from the group removes their access to the environment the next time it synchronizes.

Lumenvale created a security group for each production environment and asked department heads to approve membership changes through the colleges' usual access request process. In the development environments, only makers and testers were members. That simple arrangement meant that the question "who can reach the registrar app?" could be answered by looking at one group.

Regions and data residency

When an environment is created, the administrator chooses its region. The region decides where the environment's data is stored at rest, and some organizations must keep data in a particular country or region by law, by contract or by policy. Microsoft offers Power Platform regions for many geographies, including Canada and the United States. A few features process data outside the environment's region, particularly some AI features, and administrators decide whether to allow that. Moving an environment to another region later is possible only through a support request and planning, so the region is worth choosing carefully at the start.

Decisions made when creating an environment.
DecisionOptionsLumenvale choice for Registrar Prod
TypeProduction, sandbox, trial, developerProduction
RegionThe geographies Power Platform offersCanada
Dataverse databaseWith or withoutWith
Security groupNone or a chosen Entra ID groupPP-Registrar-Prod-Users
Managed environmentOn or offOn
Environment groupNone or a chosen groupRegistrar

Environment requests

Because Rupert restricted environment creation, departments needed a way to ask for one. The colleges built a short request form, itself a Power Apps canvas app, that asked for the purpose, the data involved, the owner and backup owner, the expected number of users and whether the environment was for development, test or production. Rupert reviewed requests weekly. Approved requests got an environment with a standard naming pattern (department, purpose, stage), the right security group, a data policy and, for production, managed environments. The request record became the environment's documentation.

Default environment hygiene

Rupert did not delete the 63 apps and 141 flows he had found in the default environment. Instead he worked through them over several weeks. First he applied a strict data policy to the default environment, putting only Microsoft 365 connectors in the Business group, so that nothing new could connect business data to outside services. Then he used the admin center inventory to sort resources by owner and last use. Owners of active, important resources were invited to move them into proper environments as solutions. Resources owned by people who had left were reassigned or switched off after checking with their managers. Unused resources were switched off and, after a waiting period, deleted. By November the default environment held mostly personal productivity apps, which was exactly its purpose.

How Lumenvale cleaned up its default environment.
Finding in the default environmentAction taken
Important app used by a whole departmentMoved into a production environment as a solution
Flow owned by a former employee still runningOwnership reassigned or flow turned off after checking with the manager
Personal app used by one personLeft in place under the default environment rules
App or flow unused for six monthsTurned off, then deleted after a waiting period
Flow sending data to a personal accountTurned off immediately and reported to IT security

The admin center's weekly usage insights and inventory views, covered in Lesson 9, made this kind of review routine rather than a one-off project.

For the exam, remember the purpose of each environment type and the role of the default environment, the link between environments and regions, and the fact that the admin center is where environments, data policies, analytics and capacity are managed.

Common mistakes

  • MistakeBuilding important apps in the default environment.

    InsteadKeep the default environment for personal productivity and move important solutions to managed production environments.

  • MistakeLetting anyone create production environments.

    InsteadRestrict environment creation in tenant settings and follow a written strategy.

  • MistakeEditing an app directly in production.

    InsteadBuild in development, test, then deploy through a pipeline.

  • MistakeIgnoring the region when creating an environment.

    InsteadChoose the geography that meets data residency needs; for Lumenvale, Canadian data stays in Canada.

Summary and key terms

  • An environment is a container for apps, flows, agents, connections and an optional Dataverse database, in one region.
  • Types are default, production, sandbox, trial, developer and Dataverse for Teams, each with a distinct purpose.
  • The default environment is open to every licensed maker and should be kept for personal productivity.
  • An environment strategy separates development, test and production and controls who can create environments.
  • The Power Platform admin center manages environments, settings, data policies, analytics, licensing and capacity.
  • Tenant administrators hold the Power Platform Administrator role; environment administrators hold the System Administrator security role.
Environment
A container for Power Platform resources and, optionally, a Dataverse database, in one region.
Default environment
The environment created automatically for every tenant, where every licensed user can build.
Sandbox environment
A non-production environment for development and testing that can be copied and reset.
Developer environment
A personal environment for one maker.
Environment strategy
A plan for which environments exist, their purposes, owners and policies.
Power Platform admin center
The portal for managing environments, policies, analytics, licensing and capacity.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Which environment type is created automatically and cannot be deleted?

    Show answer

    The default environment.

  2. Which Entra ID role manages Power Platform across the whole tenant?

    Show answer

    Power Platform Administrator (Global Administrators and Dynamics 365 Administrators can as well).

  3. Why should makers not build directly in production?

    Show answer

    Untested changes would affect people relying on the app; changes should be built in development, tested and deployed through a pipeline.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz