Remove an instance

Applies to these Dynamics 365 apps:
Human Resources

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.

  1. Navigate to the Power Apps Admin center.
  2. Select Environments.
  3. Select the test drive environment, which has a naming pattern similar to this: TestDrive - alias@domain
  4. 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.

Since a single Human Resources environment is contained within a single Power Apps environment, there are two options to consider. The first option involves removing the entire Power Apps environment; the second option involves removing only Human Resources. The first option is preferred when you have created a Power Apps environment expressly for the purpose of provisioning Human Resources, and you've just begun implementation, or you don’t have any established integrations. The second option is appropriate when you have an established Power Apps environment populated with rich data that's leveraged in Power Apps and Power Automate.

Important

Before removing the Power Apps environment, ensure it is not being used for rich data integrations outside the scope of Human Resources. Also note that the default Power Apps environments cannot be removed.

To remove the entire Power Apps environment, including Human Resources and the associated apps and flows:

  1. Navigate to the Power Apps Admin center.
  2. Select Environments.
  3. Select the environment to be removed.
  4. Select Delete and confirm the decision.
  5. Wait until the deletion is complete.
  6. Sign in to Lifecycle Services (LCS) using the account that you used to subscribe to Human Resources.
  7. Select the Human Resources Project that contains the environment.
  8. In your LCS project, select the Human Resources App Management tile.
  9. Select the instance to remove.
  10. 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.

  1. Contact Support to initiate a removal request.
  2. The Support team will initiate a removal request with the Human Resources DevOps team.
  3. Continue after you receive word that the environment has been removed.
  4. Sign in to LCS using the account that you used to subscribe to Human Resources.
  5. Select the Human Resources project that contains the environment.
  6. In your LCS project, select the Human Resources App Management tile.
  7. Select the instance you would like to remove, which should be marked with a Deployment status of Deleted.
  8. 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 Lifecycle Services will be Soft deleted. In this case, users can't connect to Human Resources.

To restore the environment:

  1. Follow the instructions in Recover the Power Apps environment.

  2. 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.