# Delete and recover environments
When an environment is no longer needed, like a sandbox environment, you can delete it from the admin center. If you regret the deletion, you can recover the environment within a specific number of days.
## About deleting and recovering environments
Deleting an environment makes it inaccessible to Business Central users and deletes all application and business data. However, when you delete an environment, it's not permanently deleted immediately. First, it's kept as a backup or snapshot and enters a retention period that lasts 14 days. This initial deletion phase is referred to as soft delete. During the retention period, you can fully recover the environment and its data if needed. After 14 days, the environment and data are permanently deleted and can't be recovered. This final deletion phase is often referred to as hard delete.
Here's some important information about deleted environments and their recovery:
 If you delete an environment that has the status `Creating Failed` or `Removing Failed`, the environment isn't retained and is permanently deleted immediately.
 Deleted environments are removed from the Recently deleted environments page 14 days after the environment was deleted.
  If you need to recover an environment that was deleted more than 14 days ago, open a service request.
 When you delete environment, it's automatically renamed to include a suffix with the format `-yyMMddHHmmssff`.
  The reason for this renaming is that environment names must be unique among all environments of the same application family. This requirement also includes soft-deleted environments. However, in some cases, you might want to reuse the name of a soft-deleted environment. Automatically renaming a soft-deleted environment avoids naming conflicts and lets you quickly create a new environment with the same name.
  If the environment name is too long, it's truncated to allow using the full suffix in the specified format. When the environment is recovered, it isn't automatically renamed back to the original name.
  You can also manually rename soft-deleted environments from the Recently deleted environments page.
 Soft-deleted environments don't get applied with updates, but they remain part of the update schedule until they're permanently deleted.
  When you recover an environment, any updates scheduled for the environment while it was in retention are applied as part of recovery. If you don't want to apply an update during recovery, you can reschedule it to a later date before starting the recovery.
 Soft-deleted environments, or any environments listed on Recently deleted environments page, aren't counted towards the environment quota on your tenant.
 Environments that are tenant-admin-center-environments#linked-power-platform-environment to a Power Platform environment can't be deleted. Unlink the Business Central environment before deleting the environment.
 preview-environments#early-access-preview are automatically updated to a new preview build every Sunday. If the update fails, they're deleted. Early access preview environments that are deleted because the update to a new build failed can't be recovered. Early access preview environments that are deleted normally are only recoverable until the new preview build is released.
> IMPORTANT
> You can recover a soft-deleted production environment even if doing so results in exceeding your environment quota. However, you can only exceed this quota by one extra production environment, regardless of how many production environments you have available for your subscription.
> This capability is provided as an exception to ensure that you can always recover your production environment in critical situations. You must return within your quota within 30 days following the recovery by deleting a production environment or purchasing an extra production environment. See Managing Capacity<tenant-admin-center-capacity>.
## Delete an environment
1. Before you delete an environment, make sure no users are using the environment, because they'll be disconnected.
1. In the navigation pane of the Business Central administration center, select Environments, and then select the environment you want to delete.
1. In the action ribbon at the top of the page, select Delete > Yes.
1. In the Confirm environment deletion pane, enter the environment name in the Name field, and then select Delete.
## Recover an environment
1. In the navigation pane of the Business Central administration center, select Environments > Recently deleted environments.
1. Select the environment you want to recover.
 The environment details page opens.
1. If the environment has a pending update that you don't want to run as part of recovery, select Modify next to Next update to postpone the update until a later date.
 See Schedule an update date<tenant-admin-center-update-management#schedule>.
1. When ready to recover the environment, select Recover, and then confirm the recovery.
## Related information
Managing Production and Sandbox Environments in the Admin Center<tenant-admin-center-environments>
Managing Capacity<tenant-admin-center-capacity>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/tenant-admin-center-environments-delete, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/administration/tenant-admin-center-environments-delete/
