Catalogue › Platform Administration › environment-setup
Environment setup
- Department
- Platform Administration
- Stages
- Initiate, Implement, Prepare
- Modules
- All
- Status
- reviewed
- Copilot Cowork
- Platform Administration plugin for Copilot Cowork, or this skill on its own: Download SKILL.md
- Claude Code
/plugin install platform-administration@d365forge- Licence
- CC BY 4.0, by Simon Foote, Robert Peledie
Environment setup turns the environment strategy into real, configured environments. Several choices made at creation cannot be undone without rebuilding, and a misconfigured setting (an open security group, missing audit settings, an integration running as a person) becomes a production problem that nobody notices until an audit or an outage.
Typical failures are a production environment created with the wrong base currency, environments that anyone in the tenant can open, integration identities holding the System Administrator role, and Dynamics 365 app versions that differ between UAT and production, so a solution that imported cleanly in testing fails on go-live night.
When to use
- Creating environments from the approved environment register.
- Restricting access to an environment or appointing its administrators.
- Creating application users for integrations, pipelines or agents.
- Establishing or checking the baseline configuration of an environment.
Not this skill: solution-architecture:environment-strategy for deciding which environments exist, platform-administration:licensing-and-capacity for licences and capacity, security-compliance:security-model-review for the business security model, and security-compliance:business-units-and-teams for business unit and team design.
Questions to ask first
- Is the environment on the approved register with its type, region and purpose? Setup follows the strategy; it does not invent environments.
- Which base currency and base language will it use? Both are fixed when the environment is created.
- Which Microsoft Entra security group gates access? Without one, every user in the tenant with a suitable licence can reach it.
- Which Dynamics 365 apps, at which versions, are needed? Mismatched app versions cause solution import failures.
- Is there enough capacity? Creation and copy operations can be blocked when the tenant is over capacity, so for entitlements, confirm with the Microsoft licensing guide or your partner.
Approach
Script what you can and record everything else, so any environment can be rebuilt to the same baseline.
- Create to the register. Use the agreed name, type, region and purpose. Confirm base currency and base language with the business before creating production, and add the Dynamics 365 apps at creation where the set-up flow allows it.
- Gate access. Assign a dedicated security group to each environment, with membership managed by the identity team. Use group-based licence assignment where the organisation already works that way.
- Separate admin roles. Keep tenant-level Power Platform administrator roles to a small named group, give the System Administrator security role only to those who need it in each environment, and agree a break-glass account process with security.
- Create application users properly. Each integration, pipeline and agent connection gets its own app registration and application user with a custom security role scoped to its job. Record the owner, purpose and secret or certificate expiry date for each.
- Apply the baseline settings. Turn on auditing at environment and table level as agreed with security, set plug-in trace logging (fuller in development and test, exceptions only in production), configure server-side sync and mailboxes, document management, and session and inactivity timeouts, and enable Managed Environments where the strategy calls for it. Keep these in a checklist and, where possible, apply them with the Power Platform CLI or PowerShell so they are repeatable.
- Align app versions. Before deploying solutions, check that installed Dynamics 365 apps and their versions match along the path, updating lower environments first.
- Tidy the default environment. Rename it so its purpose is clear, restrict what can be built there and make sure a DLP policy covers it.
- Protect before change. Confirm system backups are in place and take a manual backup before major changes or deployments.
Outputs
- Completed environment register entries (name, URL, type, region, currency, language, security group, admin owner), recorded in the
environment-and-alm-strategy. - A baseline configuration checklist per environment.
- An application user register with owners and credential expiry dates.
- Set-up scripts held in source control.
Scale notes
SMB
A partner consultant usually sets up a handful of environments directly in the Power Platform admin center. Do not skip security groups, a non-personal integration identity, or confirmation of base currency and language before production is created. A simple checklist is enough to record the baseline.
Enterprise
A platform team owns setup, working from requests approved against the register. Scripts create and configure environments, a regular review checks admin role membership and application user credentials, and changes to production settings go through change control.
Hand-offs
platform-administration:monitoring takes the environments into operational monitoring, platform-engineering:deployment-pipelines uses the application users, and security-compliance:business-units-and-teams builds the security structure inside each environment. Reviewer sign-off: security-compliance:security-model-review for admin roles and application user permissions.
Sources
references/sources.md in this skill lists the outside authorities for the questions here, what each is authoritative for, and what you may do with it. Check the current Microsoft Learn documentation before stating how a feature behaves, because Dynamics 365 changes monthly, and cite what you used.
Never
- Create a production environment before base currency and base language are confirmed.
- Leave an environment without a security group restricting access.
- Give integration or pipeline application users the System Administrator role by default.
- Run integrations or pipelines under a named person's account.
- Deploy solutions while Dynamics 365 app versions differ between source and target environments.
Sources for this skill
AI at Work roadmap
- Publisher: Microsoft (Global)
- Link: https://www.microsoft.com/en-gb/microsoft-365/roadmap
- Authoritative for: Planned and rolling-out capabilities for Dynamics 365, Power Platform and Dataverse since the move away from release plans in 2026.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Managed Environments overview
- Publisher: Microsoft (Global)
- Link: https://learn.microsoft.com/en-us/power-platform/admin/managed-environment-overview
- Authoritative for: Governance features available to Managed Environments.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Microsoft Dynamics 365 licensing resources
- Publisher: Microsoft (Global)
- Link: https://www.microsoft.com/en-us/licensing/product-licensing/dynamics365
- Authoritative for: The current Dynamics 365 licensing guide and product terms. Licensing questions are settled here or by a Microsoft partner, not by this library.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Microsoft Power Platform admin documentation
- Publisher: Microsoft (Global)
- Link: https://learn.microsoft.com/en-us/power-platform/admin/
- Authoritative for: Environments, capacity, data policies, monitoring and tenant settings.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
One always-on roadmap: Dynamics 365, Power Platform and Dataverse join the AI at Work roadmap
- Publisher: Microsoft (Global)
- Link: https://www.microsoft.com/en-us/dynamics-365/blog/business-leader/2026/08/25/one-always-on-roadmap-dynamics-365-power-platform-and-dataverse-join-the-ai-at-work-roadmap/
- Authoritative for: Why and when release plans and the Release Planner were replaced by the AI at Work roadmap, and how to plan without fixed release waves.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Power Platform adoption guidance
- Publisher: Microsoft (Global)
- Link: https://learn.microsoft.com/en-us/power-platform/guidance/adoption/methodology
- Authoritative for: Adoption and governance guidance for building a sustainable Power Platform practice.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Power Platform Center of Excellence (CoE) Starter Kit
- Publisher: Microsoft (Global)
- Link: https://learn.microsoft.com/en-us/power-platform/guidance/coe/starter-kit
- Authoritative for: Tooling and practice for governing makers, apps, flows and agents across a tenant.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Requests limits and allocations
- Publisher: Microsoft (Global)
- Link: https://learn.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations
- Authoritative for: Request limits and allocations that constrain integrations, flows and migrations.
- What you may do: Read and cite. Summarise in your own words; do not reproduce the text.
- Last checked: 2026-10-15
Credit
This skill was created by Simon Foote and Robert Peledie as part of D365Forge, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Credit them when you share or adapt it; see https://github.com/SimonFoote-greensparx/D365Forge/blob/main/NOTICE.md.