Skip to main content

How to Delete an Environment in the Power Platform Admin Center

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

A Power Platform environment you no longer need, such as a trial that has done its job, can be deleted in the Power Platform admin center, with everything in it. This guide deletes one, then shows how long it took to go and where it went.

Deleting an environment deletes what's inside it. Microsoft's Responding to Data Subject Rights (DSR) requests to delete Power Apps customer data puts it plainly: "Deleting an environment permanently deletes all resources within the environment, including all apps, flows, and connections." Its Dataverse database and backups go too, as the confirmation dialog in Step 3 says.

Microsoft's Delete environment gives the two usual reasons: "to recover storage space and to remove Personally Identifiable Information (PII)." It also names two environments that can't be deleted: the default environment, and the Microsoft 365 Copilot Chat environment.

The example deletes Overtime Timesheet Demo, a trial environment with a Dataverse database (How to Create a Free Trial Environment in Power Platform).

Prerequisites​

  • An admin role, such as Power Platform Administrator. Microsoft's steps are written for an administrator, in the Power Platform admin center.

Before You Delete​

Look at what's in the environment, and keep a copy of anything you'll want again. Microsoft's DSR article says: "you need to review the contents of an environment before deletion." For apps and flows built in a solution, export the solution first (How to Export a Solution in Power Apps (Managed or Unmanaged)). The data in the environment's Dataverse tables goes with the environment.

Step 1: Open Environments​

In the Power Platform admin center, select Manage in the navigation pane, then Environments in the Manage pane:

The Power Platform admin center navigation with Manage selected and the Manage pane listing Environments, outlined in red, above Environment groups and Inventory

Step 2: Find the Environment and Select Delete​

Type the environment's name in the search box at the top right, so the list shows only that environment. Check its Type and Created on date, so you know it's the right one.

Then select ... next to its name. That selects the row and opens a menu, with Delete at the bottom:

The Environments page filtered to one environment by the search box: Overtime Timesheet Demo, Trial with 27 days remaining, Ready, Dataverse Yes, Managed No, United Kingdom, created 30/11/2026, with its actions menu open from Deselect, Detailed view and Open down to History, Membership and Delete, Delete outlined in red

Select Delete.

Step 3: Type the Name and Confirm​

The dialog names the environment and says what goes with it:

Its resources and backups will be deleted, including:

  • Dataverse (…) apps and data

Administrators of the environment will have 0 days to recover it by going to the main environments page.

Confirm stays unavailable until the box holds the environment's name, exactly as the dialog shows it. Type the name, then select Confirm:

The dialog Delete environment Overtime Timesheet Demo?, saying its resources and backups will be deleted, including Dataverse apps and data, and that administrators will have 0 days to recover it, with the name Overtime Timesheet Demo typed in the confirmation box and the Confirm button outlined in red next to Cancel

Step 4: Wait Until It Leaves the List​

There was no message. The dialog closed, and the environment stayed in the list, with State Running:

The Environments list after Confirm, still showing Overtime Timesheet Demo, Trial, with State Running, Dataverse Yes, Managed No and United Kingdom

I refreshed the list every half a minute or so. Five and a half minutes after Confirm, the environment was gone from it.

Where the Environment Goes​

The Environments page has a Recently deleted environments button. It opens Environments > Deleted, where the environment was listed with State Deleted:

The page Environments > Deleted with one environment: Overtime Timesheet Demo, Trial, State Deleted, Dataverse Yes, Managed No, United Kingdom, created 30/11/2026

Its ... menu offered Recover. I didn't use it.

How long a deleted environment can be recovered depends on what you read. The dialog said 0 days. Microsoft's How do I recover a recently deleted environment? says: "The standard soft-delete period is seven days. The exception is a production environment that has Dynamics 365 applications, which remains available for recovery for up to 28 days." It doesn't mention trial environments, and I didn't try to recover mine. Treat the delete as final, and keep what you need before you start.

When Its Address Can Be Used Again​

Microsoft's Delete environment article says: "The URL of a deleted environment can't be used again for another environment until at least 24 hours have passed since the environment deletion." That only matters if you create another environment and want the same address for it. I didn't, so I can't say how long it took here.

Common Mistakes​

MistakeWhat happensDo this instead
Deleting without looking inside firstIts apps, flows, connections and data go with itReview it, and export the solutions you want to keep
Deleting the wrong environmentEverything in it is deletedSearch for it by name and check its Type and Created on first
Taking Running for a failed deleteYou try again, or worryRefresh the list for a few minutes
Counting on the recovery periodThe dialog said 0 days for a trial environmentTreat the delete as final

Troubleshooting​

SymptomLikely causeFix
Confirm stays unavailableThe name typed doesn't match the one the dialog showsType it exactly as shown
The environment still shows after ConfirmDeleting takes a few minutesRefresh the list; mine left after five and a half minutes
There's no way to delete the default environmentMicrosoft says it can't be deletedDelete other environments only
A new environment can't use the old one's addressIt can't be reused for at least 24 hoursWait a day, or choose another address

FAQ​

Can I get a deleted environment back?​

Microsoft documents Recover, on the Recently deleted environments page, with a standard soft-delete period of seven days. It also says recovery "can take several hours", and that you might need enough storage capacity. For trials, About trial environments adds that a 30-day trial "can only be created and deleted; it can't be reset, backed up, restored, or copied." My trial environment was listed on the page, with Recover in its menu, but the dialog had said 0 days, and I didn't try it.

Can I delete an environment from the command line?​

Microsoft's pac admin delete command "Deletes the environment from your tenant", given the environment's URL or ID with --environment. I deleted mine in the admin center and didn't run it.

What about Power Platform CLI profiles that point at it?​

They stay on your computer, pointing at an environment that's gone. Delete them with pac auth delete (How to Delete a Power Platform CLI Profile with pac auth delete).

Does a trial environment delete itself anyway?​

Yes. Microsoft's About trial environments says of the standard trial: "After 30 days, the environment is disabled and deleted." Deleting it yourself removes its data now.

Conclusion​

Manage > Environments, search for the environment, ... > Delete, type its name and Confirm. It showed Running for about five minutes, then left the list for Recently deleted environments, with everything that was in it.

Additional Resources​