Remove an instance
Important
For more information about how to delete an environment, see Delete an environment.
This article explains the process of removing a test drive or production environment for Microsoft Dynamics 365 Human Resources.
Remove a test drive environment
Human Resources test drives are provisioned with a 60-day expiration policy. However, owners of test drive environments have the option to end their trial early by completing the following steps.
- Navigate to the Power Apps Admin center.
- Select Environments.
- Select the test drive environment, which has a naming pattern similar to this: TestDrive - alias@domain
- Select Delete and confirm the decision.
The existing test drive environment will be removed. When it is removed, you can sign up for a new test drive environment.
Remove a production environment
This article assumes that you've purchased Human Resources through a Cloud Solution Provider (CSP) or an enterprise architecture (EA) agreement.
Because a single Human Resources environment is contained in a single Power Apps environment, there are two options to consider when you remove an environment:
- Remove the entire Power Apps environment. This option is preferred when the Power Apps environment was created for the purpose of provisioning Human Resources, implementation has just begun, or you don't have any established integrations.
- Remove only Human Resources. This option is appropriate when there is an established Power Apps environment that is populated with data that is used in Microsoft Power Apps and Power Automate.
Important
Before removing the Power Apps environment, ensure it's not being used for data integrations outside the scope of Human Resources. Note that the default Power Apps environments can't be removed.
To remove the entire Power Apps environment, including Human Resources and the associated apps and flows:
- Navigate to the Power Apps Admin center.
- Select Environments.
- Select the environment to be removed.
- Select Delete and confirm the decision.
- Wait until the deletion is complete.
- Sign in to Lifecycle Services (LCS) using the account that you used to subscribe to Human Resources.
- Select the Human Resources Project that contains the environment.
- In your LCS project, select the Human Resources App Management tile.
- Select the instance to remove.
- Select Remove instance and confirm your decision.
To remove a Human Resources environment from an existing Power Apps environment, complete the following steps. Note that the need to involve support and contact the Human Resources DevOps team is temporary until this feature is enabled directly in LCS.
- Contact Support to initiate a removal request.
- The Support team will initiate a removal request with the Human Resources DevOps team.
- Continue after you receive word that the environment has been removed.
- Sign in to LCS using the account that you used to subscribe to Human Resources.
- Select the Human Resources project that contains the environment.
- In your LCS project, select the Human Resources App Management tile.
- Select the instance you would like to remove, which should be marked with a Deployment status of Deleted.
- Select Remove instance and confirm your decision.
Recover a soft-deleted environment
If you delete the Power Apps environment that your Human Resources environment is connected to, the status of the Human Resources environment in LCS will be Soft deleted. In this case, users can't connect to Human Resources.
To restore the environment:
Follow the instructions in Recover the Power Apps environment.
Contact Support to restore the Human Resources environment. For more information, see Get support.
Warning
Power Apps environments are only saved for seven days after deletion. You must recover the environment within the seven-day period.