learn.microsoft.com
Open in
urlscan Pro
104.77.222.88
Public Scan
Submitted URL: https://go.microsoft.com/fwlink/?linkid=2230573
Effective URL: https://learn.microsoft.com/en-ca/power-platform/admin/automatic-environment-cleanup?WT.mc_id=ppac_inproduct_email
Submission: On March 11 via manual from CA — Scanned from CA
Effective URL: https://learn.microsoft.com/en-ca/power-platform/admin/automatic-environment-cleanup?WT.mc_id=ppac_inproduct_email
Submission: On March 11 via manual from CA — Scanned from CA
Form analysis
5 forms found in the DOMName: site-header-search-form — GET /en-ca/search/
<form class="flex-grow-1" method="GET" role="search" id="ms--site-header-search-form" data-bi-name="site-header-search-form" name="site-header-search-form" aria-label="Search" action="/en-ca/search/">
<div class="autocomplete display-block" data-bi-name="autocomplete"><!---->
<div class="field-body control ">
<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="site-header-search-autocomplete-input" data-test-id="site-header-search-autocomplete-input" class="autocomplete-input input input-sm
width-full" type="search" name="terms" aria-expanded="false" aria-owns="ax-0-listbox" aria-controls="ax-0-listbox" aria-activedescendant="" aria-label="Search" aria-describedby="ms--site-header-search-autocomplete-input-description"
placeholder="Search" data-bi-name="site-header-search-autocomplete-input" pattern=".*">
<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
<span hidden="" id="ms--site-header-search-autocomplete-input-description"> Suggestions will filter as you type </span>
</div>
<ul role="listbox" id="ax-0-listbox" data-test-id="site-header-search-autocomplete-input-listbox" class="autocomplete-suggestions is-vertically-scrollable padding-xxs " aria-label="Suggestions" hidden="">
</ul>
<!---->
</div>
<!-- mobile safari will not dispatch submit event unless there's a submit button that is not display:none -->
<button type="submit" class="visually-hidden" tabindex="-1" aria-hidden="true"></button>
<input name="category" hidden="" value="">
</form>
Name: site-header-search-form-mobile — GET /en-ca/search/
<form class="flex-grow-1" method="GET" role="search" id="ms--site-header-search-form-mobile" data-bi-name="site-header-search-form-mobile" name="site-header-search-form-mobile" aria-label="Search" action="/en-ca/search/">
<div class="autocomplete display-block" data-bi-name="autocomplete"><!---->
<div class="field-body control ">
<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="site-header-search-autocomplete-input-mobile"
data-test-id="site-header-search-autocomplete-input-mobile" class="autocomplete-input input
width-full" type="search" name="terms" aria-expanded="false" aria-owns="ax-1-listbox" aria-controls="ax-1-listbox" aria-activedescendant="" aria-label="Search" aria-describedby="ms--site-header-search-autocomplete-input-mobile-description"
placeholder="Search" data-bi-name="site-header-search-autocomplete-input-mobile" pattern=".*">
<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
<span hidden="" id="ms--site-header-search-autocomplete-input-mobile-description"> Suggestions will filter as you type </span>
</div>
<ul role="listbox" id="ax-1-listbox" data-test-id="site-header-search-autocomplete-input-mobile-listbox" class="autocomplete-suggestions is-vertically-scrollable padding-xxs " aria-label="Suggestions" hidden="">
</ul>
<!---->
</div>
<!-- mobile safari will not dispatch submit event unless there's a submit button that is not display:none -->
<button type="submit" class="visually-hidden" tabindex="-1" aria-hidden="true"></button>
<input name="category" hidden="" value="">
</form>
Name: nav-bar-search-form — GET /en-ca/search/
<form class="nav-bar-search-form" method="GET" name="nav-bar-search-form" role="search" id="nav-bar-search-form" aria-label="Search" action="/en-ca/search/">
<div class="autocomplete" data-bi-name="autocomplete"><!---->
<div class="field-body control ">
<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="site-search-input" data-test-id="site-search-input" class="autocomplete-input input input-sm
" type="search" name="terms" aria-expanded="false" aria-owns="ax-132-listbox" aria-controls="ax-132-listbox" aria-activedescendant="" aria-label="Search" aria-describedby="ms--site-search-input-description" placeholder="Search" pattern=".*">
<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
<span hidden="" id="ms--site-search-input-description"> Suggestions will filter as you type </span>
</div>
<ul role="listbox" id="ax-132-listbox" data-test-id="site-search-input-listbox" class="autocomplete-suggestions is-vertically-scrollable padding-xxs " aria-label="Suggestions" hidden="">
</ul>
<!---->
</div>
<!-- mobile safari will not dispatch submit event unless there's a submit button that is not display:none -->
<button type="submit" class="visually-hidden" tabindex="-1" aria-hidden="true"></button>
<input name="category" hidden="" value="">
</form>
Name: nav-bar-search-form — GET /en-ca/search/
<form class="nav-bar-search-form" method="GET" name="nav-bar-search-form" role="search" id="nav-bar-search-form-desktop" aria-label="Search" action="/en-ca/search/">
<div class="autocomplete" data-bi-name="autocomplete"><!---->
<div class="field-body control has-icons-left">
<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="site-search-input-desktop" data-test-id="site-search-input-desktop" class="autocomplete-input input input-sm
control has-icons-left
" type="search" name="terms" aria-expanded="false" aria-owns="ax-133-listbox" aria-controls="ax-133-listbox" aria-activedescendant="" aria-label="Search" aria-describedby="ms--site-search-input-desktop-description" placeholder="Search"
pattern=".*">
<span aria-hidden="true" class="icon is-small is-left">
<span class="has-text-primary docon docon-search"></span>
</span>
<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
<span hidden="" id="ms--site-search-input-desktop-description"> Suggestions will filter as you type </span>
</div>
<ul role="listbox" id="ax-133-listbox" data-test-id="site-search-input-desktop-listbox" class="autocomplete-suggestions is-vertically-scrollable padding-xxs " aria-label="Suggestions" hidden="">
</ul>
<!---->
</div>
<!-- mobile safari will not dispatch submit event unless there's a submit button that is not display:none -->
<button type="submit" class="visually-hidden" tabindex="-1" aria-hidden="true"></button>
<input name="category" hidden="" value="">
</form>
javascript:
<form action="javascript:" role="search" aria-label="Search" class="margin-bottom-xxs"><label class="visually-hidden" for="ax-143">Search</label>
<div class="autocomplete display-block" data-bi-name="autocomplete"><!---->
<div class="field-body control has-icons-left">
<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="ax-143" data-test-id="ax-143" class="autocomplete-input input input-sm
control has-icons-left
width-full" type="text" aria-expanded="false" aria-owns="ax-144-listbox" aria-controls="ax-144-listbox" aria-activedescendant="" aria-describedby="ms--ax-143-description" placeholder="Filter by title" pattern=".*">
<span aria-hidden="true" class="icon is-small is-left">
<span class="has-text-primary docon docon-filter-settings"></span>
</span>
<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
<span hidden="" id="ms--ax-143-description"> Suggestions will filter as you type </span>
</div>
<ul role="listbox" id="ax-144-listbox" data-test-id="ax-143-listbox" class="autocomplete-suggestions is-vertically-scrollable padding-xxs " aria-label="Suggestions" hidden="">
</ul>
<!---->
</div>
</form>
Text Content
Skip to main content We use optional cookies to improve your experience on our websites, such as through social media connections, and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services will be used. You may change your selection by clicking “Manage Cookies” at the bottom of the page. Privacy Statement Third-Party Cookies Accept Reject Manage cookies This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Download Microsoft Edge More info about Internet Explorer and Microsoft Edge Learn * Discover * Documentation In-depth articles on Microsoft developer tools and technologies * Training Personalized learning paths and courses * Credentials Globally recognized, industry-endorsed credentials * Q&A Technical questions and answers moderated by Microsoft * Code Samples Code sample library for Microsoft developer tools and technologies * Assessments Interactive, curated guidance and recommendations * Shows Thousands of hours of original programming from Microsoft experts Featured assessment It's your AI learning journey Wherever you are in your AI journey, Microsoft Learn meets you where you are and helps you deepen your skills. * Product documentation * ASP.NET * Azure * Dynamics 365 * Microsoft 365 * Microsoft Edge * Microsoft Entra * Microsoft Graph * Microsoft Intune * Microsoft Purview * Microsoft Teams * .NET * Power Apps * Power Automate * Power BI * Power Platform * PowerShell * SQL * Sysinternals * Visual Studio * Windows * Windows Server View all products Featured assessment It's your AI learning journey Wherever you are in your AI journey, Microsoft Learn meets you where you are and helps you deepen your skills. * Development languages * C++ * DAX * Java * OData * OpenAPI * Power Query M * VBA Featured assessment It's your AI learning journey Wherever you are in your AI journey, Microsoft Learn meets you where you are and helps you deepen your skills. * Topics * Artificial intelligence * Compliance * DevOps * Platform engineering * Security Featured assessment It's your AI learning journey Wherever you are in your AI journey, Microsoft Learn meets you where you are and helps you deepen your skills. Suggestions will filter as you type Sign in * Profile * Settings Sign out Learn Suggestions will filter as you type Sign in * Profile * Settings Sign out Learn * Learn * Documentation * Training * Credentials * Q&A * Code Samples * Assessments * Shows * More * Documentation * Training * Credentials * Q&A * Code Samples * Assessments * Shows Suggestions will filter as you type Suggestions will filter as you type Search Sign in * Profile * Settings Sign out Power Platform * Get started * Admin guide * ALM guide * Developer guide * Training * Products * Power Apps * Power Automate * Power BI * Power Pages * Power Virtual Agents * Guidance * Troubleshooting * Get help and support * Troubleshooting articles * Release plans * Resources * Community * Blog * Geographical availability * Language availability * More * Get started * Admin guide * ALM guide * Developer guide * Training * Products * Power Apps * Power Automate * Power BI * Power Pages * Power Virtual Agents * Guidance * Troubleshooting * Get help and support * Troubleshooting articles * Release plans * Resources * Community * Blog * Geographical availability * Language availability Table of contents Exit focus mode Search Suggestions will filter as you type * Administer Power Platform * Admin documentation * Overview * Work with various admin portals * Get started * Support * Licensing * Environments * Administer environments * Managed Environments * Environment updates * Environment settings * Advanced environment operations * Automatic deletion of inactive environments * Automatic deletion of inactive Dataverse for Teams environments * Migrate environment * Geo to geo migrations * Power Platform Geos * Multiple online environments or tenants * Migrate default and Dataverse for Teams environments * Administration mode * Automation of tasks with PowerShell * Automation of tasks with Power Automate * Security and governance * Analytics * Storage * Resources * Activity logging * Programmability and extensibility * Data integration * Data sources and gateway clusters * Manage data * Work with templates * Integrate (synchronize) your email system * Extend with integration and solutions * Unified admin experience for finance and operations apps (preview) * Performance tuning and optimization * Compliance and data privacy * Responding to DSR requests * Datacenter regions * Partners * Administer customer engagement apps in Dynamics 365 * Related documentation Download PDF 1. Learn 2. Power Platform 1. Learn 2. Power Platform Read in English Add Table of contents Read in English Add Edit Print Twitter LinkedIn Facebook Email Table of contents AUTOMATIC DELETION OF INACTIVE POWER PLATFORM ENVIRONMENTS * Article * 2024-02-21 * 9 contributors Feedback IN THIS ARTICLE 1. View the status of your environments 2. Environments in a tenant with an expired subscription 3. Unused environments 4. Trigger activity, re-enable, and recover an environment Automated processes periodically identify, disable, and eventually delete inactive Power Platform environments to optimize storage capacity. An environment may be deleted because it's in a tenant with an expired subscription or because it's not being used. In either case, there are actions you can take to prevent the environment from being deleted. VIEW THE STATUS OF YOUR ENVIRONMENTS 1. Sign in as an admin to the Power Platform admin center. 2. Select Environments. 3. Look for environments with an Inactive status. ENVIRONMENTS IN A TENANT WITH AN EXPIRED SUBSCRIPTION If the subscription for a tenant has expired or been deprovisioned, all the environments in the tenant are marked for deactivation and eventual deletion. When an environment is marked for cleanup, the system sends an email notification to all admins in your organization 14 days, 7 days, and 1 day before the environment is disabled. If no action is taken, the environment is deleted 10 days after the final email is sent. Tip If you get notifications about exceeding your entitled storage capacity, see Changes for exceeding storage capacity entitlements for actions you can take. Only production and sandbox environments are affected by the subscription-based automatic cleanup. Learn about automatic deletion of inactive Microsoft Dataverse for Teams environments. ACTIONS YOU CAN TAKE IF YOUR SUBSCRIPTION HAS EXPIRED Renew or purchase licenses before the environments are deleted. Be sure to purchase enough licenses and capacity to cover all the production environments in your tenant. The environments are automatically re-enabled within 24 hours. If an environment has already been deleted, you have a limited window of time to recover it. Important Allow ample time to renew or purchase licenses before your environments are deleted. Your organization may have a central admin and purchasing group and might be purchasing through Microsoft partners. Plan accordingly. UNUSED ENVIRONMENTS A cleanup mechanism in Power Platform automatically removes environments that aren't being used. After 90 days of inactivity, an environment is disabled. After 30 days, if no action is taken, the disabled environment is deleted. You have seven days to recover deleted environments. Only developer and Dataverse for Teams environments are affected by the actvity-based automatic cleanup. Important You can't turn off this cleanup mechanism. However, you can review the last activity date for developer environments in the Power Platform admin center. TIMELINE FOR UNUSED ENVIRONMENTS The time between the first warning that the environment will be disabled to the final deletion of the environment is 37 days. Production enviroments are not subject to this timeline. The environment's administrators and the user who created the environment are notified by email according to the schedule described in the following table. Expand table State of environment Power Platform action 83 days with no user activity Send a warning that the environment will be disabled and display a countdown in the Environment state on the Environments list page and the Environment page. 87 days with no user activity Send a second warning that the environment will be disabled. 90 days with no user activity Disable the environment, send a notice that the environment has been disabled, and update the Environment state on the Environments list page and the Environment page. 23 days after the environment is disabled Send a warning that the environment will be deleted and display a countdown in the Environment state on the Environments list page and the Environment page. 27 days after the environment is disabled Send a second warning that the environment will be deleted. 30 days after the environment is disabled Delete the environment, and send a notice that the environment has been deleted. A notification appears on the Environments list page and Environment page when an environment is disabled. DEFINITION OF USER ACTIVITY Power Platform calculates a single measure of inactivity for each environment. The measure accounts for all activity by users, makers, and admins across Power Apps, Power Automate, Power Virtual Agents, and Dataverse. Most create, read, update, and delete operations on the environment—and its resources that a user, maker, or admin initiates—are considered activity. Most read operations like visits to the home page, solution explorer, and Power Apps or Power Automate designer aren't considered activity. Here are some examples of the types of activities that are included in the measure: * User activity: Launch an app, execute a flow (whether automatic or not), chat with a Power Virtual Agents bot * Maker activity: Create, update, or delete an app, flow (both desktop and cloud flows), Power Virtual Agents bot, or custom connector * Admin activity: Environment operations such as copy, delete, recover, and reset Activity includes automations such as scheduled flow runs. For example, if there's no user, maker, or admin activity in an environment, but it contains a cloud flow that runs daily, then the environment is considered active. TRIGGER ACTIVITY, RE-ENABLE, AND RECOVER AN ENVIRONMENT By default, administrators have 30 days to re-enable an environment. If the environment remains disabled for 30 days, it's automatically deleted. Administrators have seven days to recover a deleted environment. TRIGGER ACTIVITY IN AN INACTIVE ENVIRONMENT 1. Sign in to the Power Platform admin center. 2. Select Environments, and then select the inactive environment. 3. On the Environment page, select Trigger environment activity. RE-ENABLE A DISABLED ENVIRONMENT 1. Sign in to the Power Platform admin center. 2. Select Environments, and then select the disabled Dataverse for Teams environment. 3. On the Environment page, select Re-enable environment. RECOVER A DELETED ENVIRONMENT 1. Sign in to the Power Platform admin center. 2. Select Environments, and then select Recover deleted environments. 3. Select an environment to recover, and then select Recover. Learn more about recovering environment. SEE ALSO Back up and restore environments Automatic deletion of inactive Microsoft Dataverse for Teams environments Licensing overview for Microsoft Power Platform Microsoft Power Apps and Power Automate licensing guide FEEDBACK Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback. Submit and view feedback for This product This page View all page feedback -------------------------------------------------------------------------------- ADDITIONAL RESOURCES -------------------------------------------------------------------------------- Training Module Use the Admin center to manage environments and data policies in Power Automate - Training Tenant and environment admins use the Power Automate Admin center to manage data policies and environments for Power Automate deployments. -------------------------------------------------------------------------------- Events Business Applications Launch Event Apr 10, 10 a.m. - Apr 10, 12 p.m. Join us on April 10 for an in-depth look at the latest AI features in Microsoft Dynamics 365 & Microsoft Power Platform. Register now English (Canada) California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices Theme * Light * Dark * High contrast * Manage cookies * Previous Versions * Blog * Contribute * Privacy * Terms of Use * Trademarks * © Microsoft 2024 ADDITIONAL RESOURCES -------------------------------------------------------------------------------- Events Business Applications Launch Event Apr 10, 10 a.m. - Apr 10, 12 p.m. Join us on April 10 for an in-depth look at the latest AI features in Microsoft Dynamics 365 & Microsoft Power Platform. Register now -------------------------------------------------------------------------------- Training Module Use the Admin center to manage environments and data policies in Power Automate - Training Tenant and environment admins use the Power Automate Admin center to manage data policies and environments for Power Automate deployments. IN THIS ARTICLE English (Canada) California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices Theme * Light * Dark * High contrast * Manage cookies * Previous Versions * Blog * Contribute * Privacy * Terms of Use * Trademarks * © Microsoft 2024