Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This article is prerelease documentation and is subject to change.]
The self-service environment migration feature moves management of an existing finance and operations apps environment from Microsoft Dynamics Lifecycle Services to the Microsoft Power Platform admin center. Migration is performed separately for each environment in a Lifecycle Services project. It doesn't migrate the Lifecycle Services project itself.
Important
This feature is in public preview. During public preview, Microsoft recommends that you migrate sandbox environments first and don't use the feature for production environments. Validate your migrated sandboxes and the Power Platform application lifecycle management (ALM) process before you plan a production migration.
Important
Migration is a one-way operation. After an environment is migrated, its management experience is read-only in Lifecycle Services, and you can't move its management back to Lifecycle Services through a customer-initiated operation.
What happens during migration
Migration changes the control plane that manages the environment. The process updates environment metadata across Microsoft services so that lifecycle operations are managed through the Power Platform admin center instead of Lifecycle Services. The database isn't moved, and the environment infrastructure isn't materially changed. The environment URL and your deployed code stay the same, so users and integrations continue to connect to the same URL.
The finance and operations apps environment is unavailable during part of the migration. Plan for approximately 15 minutes of downtime for each Application Object Server (AOS) instance. Environments that have more AOS instances take longer. Schedule the migration outside business hours and reserve extra time in the maintenance window in case the operation takes longer than the estimate.
After migration:
- The Power Platform admin center is the management experience for environment lifecycle operations such as copy, backup, restore, servicing, updates, and monitoring.
- Use Azure Pipelines and Power Platform deployment capabilities for ALM and code deployment.
- The environment consumes capacity under the Power Platform capacity model.
- The Lifecycle Services environment slot isn't returned or made available for another environment. Future environment provisioning is based on available Power Platform capacity instead of Lifecycle Services environment slots.
- The Lifecycle Services project remains available. The migrated environment is read-only in Lifecycle Services, but you can still use the project's Asset library. Environments that you haven't migrated continue to be managed in Lifecycle Services.
- Some Lifecycle Services scenarios aren't available for the migrated environment. To plan how to complete them in the Power Platform admin center, see Lifecycle Services scenarios and Power Platform admin center alternatives.
Supported environments and limitations
| Environment or workload | Migration support |
|---|---|
| Self-service sandbox | Supported. Migrate and validate sandboxes before you plan a production migration. |
| Self-service production | The migration action might be available, but production migration isn't recommended during public preview. |
| Cloud-hosted developer environment | Not supported. Deploy a Unified Developer Environment or use a downloadable virtual hard disk (VHD) for local development. |
| Environment that uses Dynamics 365 Commerce functionality | Not supported during public preview. The migration prerequisite check doesn't currently detect Commerce usage. Don't migrate an environment that uses Commerce functionality. |
Lifecycle Services scenarios and Power Platform admin center alternatives
A migrated environment is read-only in Lifecycle Services, so you can't use Lifecycle Services to run operations on it. Some Lifecycle Services features also aren't implemented in the Power Platform admin center. Use the tables in this section to plan how to complete each scenario after migration, and update your operational runbooks and ALM processes before you migrate. For more information about the differences between the two admin centers, see Overview of unified admin experience for finance and operations apps and Administration for partners and systems implementers.
Environment operations
The following table lists Lifecycle Services environment scenarios and the alternative to use after you migrate the environment.
| Lifecycle Services scenario | Alternative in the Power Platform admin center |
|---|---|
| Deploy a new sandbox or production environment in an environment slot | Provision a new environment from an ERP-based template. Provisioning uses available Power Platform capacity instead of environment slots. For more information, see Tutorial: Provision a new environment with an ERP-based template. |
| Deploy a cloud-hosted developer environment | Deploy a Unified Developer Environment. |
| Build deployable packages on a Lifecycle Services build environment | Build unified packages by using Microsoft-hosted agents in Azure DevOps. For more information, see Continuous integration and deployment. |
| Upload a software deployable package to the Asset library, and then apply it to a sandbox | Create a unified package that contains your X++ modules and Dataverse solutions. Deploy the package to the environment by using Azure Pipelines or the Power Platform CLI package commands. |
| Promote an update from a sandbox to production | Deploy the same unified package directly to the production environment by using Azure Pipelines or the Power Platform CLI. You can automate production deployments by using service principal authentication. |
| Refresh a database from another environment | Copy the environment. A copy includes both the code and the data from the source environment. To reduce storage consumption in a sandbox, use a transaction-less copy. For more information, see Copy an environment. |
Export a database to a .bacpac file in the Asset library |
Create a backup of the environment. Backups are kept in the cloud, and you can't download them as .bak or .bacpac files. To work with data directly in SQL, use a Unified Developer Environment and request just-in-time database credentials from Visual Studio. |
| Restore a database to a point in time | Restore the environment from a system backup or a manual backup. For more information, see Back up and restore environments. |
| Turn maintenance mode on or off | Turn Administration mode on or off for the environment. Administration mode has the same effect as maintenance mode in Lifecycle Services. For more information, see Maintenance mode. |
| Monitor environment health by using Lifecycle Services monitoring and diagnostics tools | Use Application Insights for near real-time application health and proactive monitoring. For more information, see Get started with monitoring and telemetry. |
| Submit a support request from the Lifecycle Services project | Create and view support requests in Help + Support for any environment in the tenant that you can manage. For more information, see Get support in the Power Platform admin center and Migration of the Lifecycle Services Support experience to Power Platform admin center. |
| Manage the environment through Lifecycle Services project roles, such as Project owner | Assign the Power Platform administrator role in Microsoft Entra ID or an environment admin role. Admins can add users to the environment directly from the Power Platform admin center. Partners should use granular delegated admin privileges (GDAP) to manage customer environments. For more information, see For partners: Delegated administrator role. |
Project features
The Lifecycle Services project remains available after you migrate its environments. However, the following Lifecycle Services features aren't implemented in the Power Platform admin center. Use these alternatives as you move your processes to the Power Platform admin center.
| Lifecycle Services feature | Alternative |
|---|---|
| Asset library | Store unified packages as build artifacts in Azure DevOps, in source control, or in local storage. Database backups aren't available for offline use. |
| Methodologies | Track phases and timelines in the Dynamics 365 Implementation Portal or in Azure DevOps. |
| Project settings and project users | Use the Dynamics 365 Implementation Portal. |
| Organization users | Use the Microsoft 365 admin center. |
| Business process modeler | Use the business process catalog. |
| Task recorder recordings saved to Lifecycle Services | Save Task recorder files locally. |
| Translation service | Use the Dynamics Translation Service connector. |
| Solution management | Use Microsoft Marketplace. |
| Alert service | Create a support request in Help + Support. |
Prerequisites
Before you migrate an environment, complete the following preparation steps:
- Confirm that the environment doesn't use Commerce functionality.
- Ensure that the environment is healthy and has a status of Deployed in Lifecycle Services.
- Link the environment to a Power Platform environment. For more information, see Enable the Power Platform integration.
- Resolve any Power Platform storage capacity deficit. Available database capacity is validated before migration.
- Ensure that the person who starts the migration is an administrator of the linked Power Platform environment.
- If the environment is the last sandbox in the project that's managed in Lifecycle Services, and production is still managed in Lifecycle Services, review how migration affects production updates. For more information, see Recommended migration sequence.
- Prepare your development and ALM processes in parallel:
- Deploy Unified Developer Environments to replace cloud-hosted developer environments that you won't migrate.
- Create and test Azure Pipelines that produce Power Platform unified packages and deploy them to unified environments. For more information, see Continuous integration and deployment.
- Review the unified admin experience overview and its related environment-management articles.
- Plan a maintenance window based on the number of AOS instances. Allow approximately 15 minutes per AOS instance, and reserve extra time.
- Notify users that the environment is unavailable during migration and that the migration can't be reversed through Lifecycle Services.
You don't have to enable dual-write to migrate an environment.
Recommended migration sequence
Use the following sequence to reduce risk and validate the new management and ALM experiences before production:
- Deploy Unified Developer Environments and create Power Platform and Azure Pipelines in parallel with your existing Lifecycle Services processes.
- Migrate a less critical sandbox environment.
- Validate sign-in, environment operations, custom code deployment, integrations, and add-ins in the migrated sandbox.
- Perform an environment copy in the Power Platform admin center to validate the lifecycle operation.
- Migrate and validate the remaining sandbox environments. Before you migrate the last sandbox, review the following note about production updates.
- Plan production last, after sandbox validation is complete and production migration is recommended for your release stage.
Coordinate the last sandbox migrations with your ALM cutover. After a sandbox is migrated, Lifecycle Services deployment and promotion workflows no longer manage that environment. Use the Power Platform and Azure Pipelines that you prepared before migration.
Important
In Lifecycle Services, you update a production environment by promoting an update from a sandbox in the same project. For more information, see Promote an update to production environments. After you migrate the last sandbox in a project, no sandbox remains in Lifecycle Services to promote updates from. If production is still managed in Lifecycle Services, you can't promote updates, including custom code changes, to production until you migrate production to the Power Platform admin center. To avoid an unplanned code freeze, keep at least one sandbox in Lifecycle Services until you're ready to migrate production.
Migrate an environment
Complete these steps separately for every environment that you want to migrate. To migrate an environment, follow these steps:
Sign in to Lifecycle Services and open the project that contains the environment.
In the Environments section, find the sandbox that you want to migrate, and then select Full details.
On the environment details page, expand Power Platform migration (Preview).
Verify that all the following prerequisite checks have a green check mark:
- Environment is in Deployed status.
- Power Platform environment is linked.
- Database storage capacity is available.
- You are an administrator of the linked Power Platform environment.
Select Migrate to Power Platform Admin Center.
In the Confirm environment migration dialog, review the downtime and one-way migration warning.
Enter the environment name exactly as shown, and then select Start migration.
Keep the maintenance window open while the migration runs. Don't start other lifecycle operations for the environment.
Wait until Migration status is Migrated, and then select Open in Power Platform Admin Center.
Validate the migrated environment
Before you migrate another environment, complete the following validation in the migrated sandbox:
- Confirm that users can sign in to finance and operations apps.
- In the Power Platform admin center, verify that environment details, monitoring, backup, restore, copy, and update operations are available as expected.
- Deploy a validated customization by using the Azure DevOps and Power Platform ALM process that you prepared before migration.
- Verify integrations, add-ins, and business processes that are critical to the environment.
- Perform an environment copy and validate the target environment.
If validation identifies an issue, don't migrate another environment until you resolve the issue. Because migration is one-way, you can't return environment management to Lifecycle Services as a rollback action.
Turn on unified admin user management after migration
Unified admin user management (preview) lets you manage System Administrator users for finance and operations apps from the Power Platform admin center. A migrated environment might not have the required version of the Unified User Management solution. Until you install or update the solution, you can't turn on the (Preview) Unified admin user management feature in the migrated environment.
After you turn on the feature, the Power Platform admin center becomes the source of truth for admin roles, and admin roles that exist only in finance and operations apps are removed. Before you turn it on, review how admin user management works after unification.
To turn on unified admin user management in a migrated environment, follow these steps:
- Sign in to the Power Platform admin center, and open the migrated environment.
- In the command bar, expand Resources, and then select Dynamics 365 apps.
- Search for Unified User Management, and then take one of the following actions:
- If the status is Update available, select Update.
- If the solution isn't listed, select Install app, select Unified User Management, and then follow the prompts to install it.
- Wait until the installation or update is complete. Then confirm that the environment meets all the prerequisites for unified admin user management, including the minimum platform update and solution versions.
- Sign in to finance and operations apps as a user who has the System Administrator role in both Dataverse and finance and operations apps.
- Go to System administration > Workspace > Feature management, select All, and then turn on (Preview) Unified admin user management.
- Verify that your Dataverse environment admins appear as users in finance and operations apps.
Resolve prerequisite check failures
| Failed check | Resolution |
|---|---|
| Environment is in Deployed status | Wait for any lifecycle operation to finish, and resolve environment health issues until the status returns to Deployed. |
| Power Platform environment is linked | Complete Power Platform integration for the environment. |
| Database storage capacity is available | Review finance and operations storage capacity, and free or purchase enough capacity to clear the deficit. |
| You are an administrator of the linked Power Platform environment | Have an existing administrator assign you an appropriate environment admin role, and then refresh the Lifecycle Services page. |