CINXE.COM
Cancel your Microsoft business subscription in the Microsoft 365 admin center | Microsoft Learn
<!DOCTYPE html><html class="hasSidebar hasPageActions hasBreadcrumb conceptual has-default-focus theme-light" lang="en-us" dir="ltr" data-authenticated="false" data-auth-status-determined="false" data-target="docs" x-ms-format-detection="none"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta property="og:title" content="Cancel your Microsoft business subscription in the Microsoft 365 admin center" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://learn.microsoft.com/en-us/microsoft-365/commerce/subscriptions/cancel-your-subscription?view=o365-worldwide" /><meta property="og:description" content="Learn how to cancel your trial or paid subscriptions in the Microsoft 365 admin center." /><meta property="og:image" content="https://learn.microsoft.com/en-us/media/open-graph-image.png" /> <meta property="og:image:alt" content="Microsoft Learn" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@MicrosoftLearn" /> <meta name="color-scheme" content="light dark"><meta name="audience" content="Admin" /> <meta name="author" content="cmcatee-MSFT" /> <meta name="breadcrumb_path" content="/microsoft-365/breadcrumb/toc.json" /> <meta name="default_moniker" content="o365-worldwide" /> <meta name="depot_name" content="office.Microsoft-365-docs" /> <meta name="description" content="Learn how to cancel your trial or paid subscriptions in the Microsoft 365 admin center." /> <meta name="document_id" content="a91e3ae5-842c-fb3d-8c27-d8001122aee8" /> <meta name="document_version_independent_id" content="ddccec72-7088-4207-60cb-986a35becb67" /> <meta name="f1.keywords" content="NOCSH" /> <meta name="feedback_help_link_type" content="" /> <meta name="feedback_help_link_url" content="" /> <meta name="feedback_product_url" content="https://admin.microsoft.com/adminportal/home?showfeedback=DocsMacCampaign" /> <meta name="feedback_system" content="Standard" /> <meta name="git_commit_id" content="5d027912b8f963cb904391dedc37a8cce121cd6d" /> <meta name="gitcommit" content="https://github.com/MicrosoftDocs/microsoft-365-docs-pr/blob/5d027912b8f963cb904391dedc37a8cce121cd6d/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" /> <meta name="locale" content="en-us" /> <meta name="manager" content="scotv" /> <meta name="monikers" content="o365-21vianet" /> <meta name="monikers" content="o365-worldwide" /> <meta name="ms.author" content="cmcatee" /> <meta name="ms.collection" content="Tier1" /> <meta name="ms.collection" content="scotvorg" /> <meta name="ms.collection" content="highpri" /> <meta name="ms.collection" content="M365-subscription-management" /> <meta name="ms.collection" content="Adm_O365" /> <meta name="ms.custom" content="commerce_subscriptions" /> <meta name="ms.custom" content="VSBFY23" /> <meta name="ms.custom" content="AdminSurgePortfolio" /> <meta name="ms.custom" content="AdminTemplateSet" /> <meta name="ms.custom" content="admindeeplinkMAC" /> <meta name="ms.custom" content="GAUpdates" /> <meta name="ms.date" content="09/10/2024" /> <meta name="ms.localizationpriority" content="high" /> <meta name="ms.reviewer" content="emmasheridan, nicholak" /> <meta name="ms.service" content="microsoft-365-business" /> <meta name="ms.subservice" content="m365-commerce-acquisition" /> <meta name="ms.topic" content="how-to" /> <meta name="original_content_git_url" content="https://github.com/MicrosoftDocs/microsoft-365-docs-pr/blob/live/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" /> <meta name="page_type" content="conceptual" /> <meta name="pdf_url_template" content="https://learn.microsoft.com/pdfstore/en-us/office.Microsoft-365-docs/{branchName}{pdfName}" /> <meta name="recommendations" content="false" /> <meta name="schema" content="Conceptual" /> <meta name="search.appverid" content="MET150" /> <meta name="site_name" content="Docs" /> <meta name="toc_rel" content="../toc.json" /> <meta name="uhfHeaderId" content="MSDocsHeader-M365-IT" /> <meta name="updated_at" content="2024-10-11 10:43 PM" /> <meta name="word_count" content="1447" /> <meta name="persistent_id" content="d43ec1e2-e29d-13b6-df0d-6e5645be6837" /> <meta name="cmProducts" content="https://microsoft-devrel.poolparty.biz/DevRelOfferingOntology/68e4b2d8-b70c-4019-b49a-d1f8881e2aea" data-source="generated" /> <meta name="cmProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/1dd701e0-441f-4b0a-9806-aa47decc4e35" data-source="generated" /> <meta name="cmProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/68ec7f3a-2bc6-459f-b959-19beb729907d" data-source="generated" /> <meta name="spProducts" content="https://microsoft-devrel.poolparty.biz/DevRelOfferingOntology/67b2ba1a-6f74-4044-a48a-f0f8ad076b8f" data-source="generated" /> <meta name="spProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/0a2fc935-5977-4aa6-9f55-0be03bd2acb8" data-source="generated" /> <meta name="spProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/90370425-aca4-4a39-9533-d52e5e002a5d" data-source="generated" /> <meta name="scope" content="Microsoft 365" /><meta name="github_feedback_content_git_url" content="https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" /><link href="https://learn.microsoft.com/en-us/microsoft-365/commerce/subscriptions/cancel-your-subscription?view=o365-worldwide" rel="canonical"><title>Cancel your Microsoft business subscription in the Microsoft 365 admin center | Microsoft Learn</title><link rel="stylesheet" href="/static/assets/0.4.028726178/styles/site-ltr.css"> <script id="msdocs-script"> var msDocs = {environment: { supportLevel: 'production', accessLevel: 'online', reviewFeatures: false, systemContent: true, azurePortalHostname: 'portal.azure.com', legacyHosting: false, siteName: 'learn', },data: { timeOrigin: Date.now(), contentLocale: 'en-us', contentDir: 'ltr', userLocale: 'en-us', userDir: 'ltr', pageTemplate: 'Conceptual', brand: '', context: {}, hasBinaryRating: true, feedbackHelpLinkType:'', feedbackHelpLinkUrl:'', standardFeedback: true, showFeedbackReport: false, enableTutorialFeedback: false, feedbackSystem: 'Standard', feedbackGitHubRepo: '', feedbackProductUrl: 'https://admin.microsoft.com/adminportal/home?showfeedback=DocsMacCampaign',extendBreadcrumb: false,isEditDisplayable: true, hideViewSource: false, hasPageActions: true, hasPrintButton: true, hasBookmark: true, hasShare: true, isPermissioned: false, isPrivateUnauthorized: false,hasRecommendations: true,contributors: [{ name: "cmcatee-MSFT", url: "https://github.com/cmcatee-MSFT" },{ name: "emmasheridan17-msft", url: "https://github.com/emmasheridan17-msft" },{ name: "jedarby", url: "https://github.com/jedarby" },{ name: "mihart", url: "https://github.com/mihart" },{ name: "denisebmsft", url: "https://github.com/denisebmsft" },{ name: "pebaum", url: "https://github.com/pebaum" },{ name: "lhcole613", url: "https://github.com/lhcole613" },{ name: "bill-long", url: "https://github.com/bill-long" },{ name: "v-dihans", url: "https://github.com/v-dihans" },{ name: "lhcole", url: "https://github.com/lhcole" },{ name: "marcelkous", url: "https://github.com/marcelkous" },{ name: "WayneEwington", url: "https://github.com/WayneEwington" },{ name: "DCtheGeek", url: "https://github.com/DCtheGeek" },{ name: "msbemba", url: "https://github.com/msbemba" },{ name: "SKjerland", url: "https://github.com/SKjerland" },{ name: "Sirkkuw", url: "https://github.com/Sirkkuw" },{ name: "Ajayan1008", url: "https://github.com/Ajayan1008" },{ name: "kwekuako", url: "https://github.com/kwekuako" }],}, functions:{} }; </script><script src="https://wcpstatic.microsoft.com/mscc/lib/v2/wcp-consent.js"></script> <script src="https://js.monitor.azure.com/scripts/c/ms.jsll-4.min.js"></script><script src="/static/assets/0.4.028726178/global/deprecation.js"></script><script src="/static/assets/0.4.028726178/scripts/en-us/index-docs.js"></script></head> <body lang="en-us" dir="ltr"> <div class="header-holder has-default-focus"> <a href="#main" style="z-index: 1070" class="outline-color-text visually-hidden-until-focused position-fixed inner-focus focus-visible top-0 left-0 right-0 padding-xs text-align-center has-body-background" tabindex="1">Skip to main content</a><div hidden id="cookie-consent-holder" data-test-id="cookie-consent-container"></div> <div id="unsupported-browser" style=" background-color: white; color: black; padding: 16px; border-bottom: 1px solid grey;" hidden > <div style="max-width: 800px; margin: 0 auto;"> <p style="font-size: 24px">This browser is no longer supported.</p> <p style="font-size: 16px; margin-top: 16px;">Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.</p> <div style="margin-top: 12px;"> <a href="https://go.microsoft.com/fwlink/p/?LinkID=2092881 " style=" background-color: #0078d4; border: 1px solid #0078d4; color: white; padding: 6px 12px; border-radius: 2px; display: inline-block; ">Download Microsoft Edge</a> <a href="https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge" style=" background-color: white; padding: 6px 12px; border: 1px solid #505050; color: #171717; border-radius: 2px; display: inline-block; ">More info about Internet Explorer and Microsoft Edge</a> </div> </div> </div> <!-- liquid-tag banners global --> <!-- site header --> <header id="ms--site-header" data-test-id="site-header-wrapper" role="banner" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div id="ms--mobile-nav" class="site-header display-none-tablet padding-inline-none gap-none" data-bi-name="mobile-header" data-test-id="mobile-header"></div> <div id="ms--primary-nav" class="site-header display-none display-flex-tablet" data-bi-name="L1-header" data-test-id="primary-header"></div> <div id="ms--secondary-nav" class="site-header display-none display-flex-tablet" data-bi-name="L2-header" data-test-id="secondary-header"></div> </header><div id="content-header" class="content-header uhf-container has-padding has-default-focus border-bottom-none" data-bi-name="content-header"> <div class="content-header-controls margin-xxs margin-inline-sm-tablet"> <button type="button" class="contents-button button button-sm margin-right-xxs" data-bi-name="contents-expand" aria-haspopup="true" data-contents-button> <span class="icon"><span class="docon docon-menu" aria-hidden="true"></span></span> <span class="contents-expand-title">Table of contents</span> </button> <button type="button" class="ap-collapse-behavior ap-expanded button button-sm" data-bi-name="ap-collapse" aria-controls="action-panel"> <span class="icon"><span class="docon docon-exit-mode" aria-hidden="true"></span></span> <span>Exit focus mode</span> </button> </div> </div><div id="disclaimer-holder" class="has-overflow-hidden has-default-focus"> <!-- liquid-tag banners sectional --> </div> </div> <div class="mainContainer uhf-container has-default-focus" data-bi-name="body"> <div class="columns has-large-gaps is-gapless-mobile "><div id="left-container" class="left-container is-hidden-mobile column is-one-third-tablet is-one-quarter-desktop"> <nav id="affixed-left-container" class="margin-top-sm-tablet position-sticky display-flex flex-direction-column" aria-label="Primary"></nav> </div><!-- .primary-holder --> <section class="primary-holder column is-two-thirds-tablet is-three-quarters-desktop"> <!--div.columns --> <div class="columns is-gapless-mobile has-large-gaps "><div id="main-column" class="column is-full is-8-desktop"> <main id="main" class="" role="main" data-bi-name="content" lang="en-us" dir="ltr"><!-- article-header --> <div id="article-header" class="background-color-body margin-top-sm-tablet margin-bottom-xs display-none-print"> <div class="display-flex align-items-center "><details id="article-header-breadcrumbs-overflow-popover" class="popover" data-for="article-header-breadcrumbs"> <summary class="button button-clear button-primary button-sm inner-focus" aria-label="All breadcrumbs"> <span class="icon"> <span class="docon docon-more"></span> </span> </summary> <div id="article-header-breadcrumbs-overflow" class="popover-content padding-none"> </div> </details> <bread-crumbs id="article-header-breadcrumbs" data-test-id="article-header-breadcrumbs" class="overflow-hidden flex-grow-1 margin-right-sm margin-right-md-tablet margin-right-lg-desktop margin-left-negative-xxs padding-left-xxs"></bread-crumbs><div id="article-header-page-actions" class="opacity-none margin-left-auto display-flex flex-wrap-no-wrap align-items-stretch"><a id="lang-link-tablet" class="button button-primary button-clear button-sm display-none display-inline-flex-tablet" title="Read in English" data-bi-name="language-toggle" data-read-in-link hidden> <span class="icon margin-none" aria-hidden="true" data-read-in-link-icon> <span class="docon docon-locale-globe"></span> </span> <span class="is-visually-hidden" data-read-in-link-text>Read in English</span> </a><button type="button" class="collection button button-clear button-sm button-primary display-none display-inline-flex-tablet" data-list-type="collection" data-bi-name="collection" title="Add to collection"> <span class="icon margin-none" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="collection-status is-visually-hidden">Save</span> </button><a data-contenteditbtn class="button button-clear button-sm text-decoration-none button-primary display-none display-inline-flex-tablet" aria-label="Edit" title="Edit This Document" data-bi-name="edit" href="https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" data-original_content_git_url="https://github.com/MicrosoftDocs/microsoft-365-docs-pr/blob/live/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" data-original_content_git_url_template="{repo}/blob/{branch}/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" data-pr_repo="" data-pr_branch=""> <span class="icon margin-none" aria-hidden="true"> <span class="docon docon-edit-outline"></span> </span> </a> <details class="popover popover-right" id="article-header-page-actions-overflow"> <summary class="justify-content-flex-start button button-clear button-sm button-primary" aria-label="More actions" title="More actions"> <span class="icon" aria-hidden="true"> <span class="docon docon-more-vertical"></span> </span> </summary> <div class="popover-content padding-xs"><button data-page-action-item="overflow-mobile" type="button" class="justify-content-flex-start button-block button-sm has-inner-focus button button-clear display-none-tablet" data-bi-name="contents-expand" data-contents-button data-popover-close> <span class="icon"> <span class="docon docon-editor-list-bullet" aria-hidden="true"></span> </span><span class="contents-expand-title">Table of contents</span></button><a id="lang-link-overflow" class="justify-content-flex-start button-sm has-inner-focus button button-clear button-block display-none-tablet" title="Read in English" data-bi-name="language-toggle" data-page-action-item="overflow-mobile" data-check-hidden="true" data-read-in-link hidden > <span class="icon" aria-hidden="true" data-read-in-link-icon> <span class="docon docon-locale-globe"></span> </span> <span data-read-in-link-text>Read in English</span> </a><button type="button" class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet" data-list-type="collection" data-bi-name="collection" title="Save" data-page-action-item="overflow-mobile" data-check-hidden="true" data-popover-close> <span class="icon" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="collection-status">Save</span> </button> <button type="button" class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet" data-list-type="plan" data-bi-name="plan" title="Add to Plan" data-page-action-item="overflow-mobile" data-check-hidden="true" data-popover-close hidden> <span class="icon" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="plan-status">Add to Plan</span> </button><a data-contenteditbtn class="button button-clear button-block button-sm has-inner-focus justify-content-flex-start text-decoration-none display-none-tablet" aria-label="Edit" title="Edit This Document" data-bi-name="edit" href="https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" data-original_content_git_url="https://github.com/MicrosoftDocs/microsoft-365-docs-pr/blob/live/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" data-original_content_git_url_template="{repo}/blob/{branch}/microsoft-365/commerce/subscriptions/cancel-your-subscription.md" data-pr_repo="" data-pr_branch=""> <span class="icon" aria-hidden="true"> <span class="docon docon-edit-outline"></span> </span> <span>Edit</span> </a><div aria-hidden="true" class="margin-none" data-page-action-item="overflow-all"></div> <hr class="display-none-tablet margin-bottom-xxs margin-top-xxs" /> <h4 class="font-size-sm padding-left-xxs">Share via</h4> <a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start share-facebook" data-bi-name="facebook" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-facebook-share font-size-md color-primary"></span> </span> <span class="margin-left-xxs">Facebook</span> </a> <a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-twitter" data-bi-name="twitter" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-xlogo-share font-size-xxs"></span> </span> <span class="margin-left-xxs">x.com</span> </a> <a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-linkedin" data-bi-name="linkedin" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-linked-in-logo font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">LinkedIn</span> </a> <a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start margin-bottom-xxs share-email" data-bi-name="email" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-mail-message font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">Email</span> </a><hr /> <button class="button button-block button-clear button-sm justify-content-flex-start has-inner-focus margin-top-xxs" title="Print" type="button" aria-label="Print" data-bi-name="print" data-page-action-item="overflow-all" data-popover-close data-print-page data-check-hidden="true"> <span class="icon" aria-hidden="true"> <span class="docon docon-print font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">Print</span> </button> </div> </details> </div></div> </div> <!-- end article-header --><div> <button type="button" class="border contents-button button button-clear button-sm is-hidden-tablet has-inner-focus" data-bi-name="contents-expand" data-contents-button hidden> <span class="icon"> <span class="docon docon-editor-list-bullet" aria-hidden="true"></span> </span><span class="contents-expand-title">Table of contents</span></button> </div><!-- end mobile-contents button --> <div class="content "><h1 id="cancel-your-subscription-in-the-microsoft-365-admin-center">Cancel your subscription in the Microsoft 365 admin center</h1><div class="display-flex justify-content-space-between align-items-center flex-wrap-wrap page-metadata-container"> <div class="margin-right-xxs"> <ul class="metadata page-metadata" data-bi-name="page info" lang="en-us" dir="ltr"><li>Article</li><li class="visibility-hidden-visual-diff"><time class="is-invisible" data-article-date aria-label="Article review date" datetime="2024-09-10T08:00:00Z" data-article-date-source="calculated">09/10/2024</time> </li><li class="contributors-holder display-none-print"> <button aria-label="View all contributors" class="contributors-button link-button" data-bi-name="contributors" title="View all contributors">18 contributors</button> </li></ul> </div> <div id="user-feedback" class="margin-block-xxs display-none-print" data-hide-on-archived> <button id="user-feedback-button" data-test-id="conceptual-feedback-button" class="button button-sm button-clear button-primary" type="button" data-bi-name="user-feedback-button" data-user-feedback-button > <span class="icon" aria-hidden="true"> <span class="docon docon-like"></span> </span> <span>Feedback</span> </button> </div></div><nav id="center-doc-outline" class="doc-outline is-hidden-desktop display-none-print margin-bottom-sm" data-bi-name="intopic toc" aria-label="In this article"> <h2 id="ms--in-this-article" class="title is-6 margin-block-xs">In this article</h2> </nav><!-- <content> --><p>Check out all of our small business content on <a href="https://go.microsoft.com/fwlink/?linkid=2224585" data-linktype="external">Small business help & learning</a>.</p> <p>This article only applies to canceling <strong>Dynamics 365</strong>, <strong>Intune</strong>, <strong>Power Platform</strong>, <strong>Windows 365</strong>, <strong>Microsoft Defender for Business</strong>, and <strong>Microsoft 365 for business</strong> subscriptions. If you have an <strong>Azure</strong> subscription, see <a href="/en-us/azure/cost-management-billing/manage/cancel-azure-subscription" data-linktype="absolute-path">Cancel your Azure subscription</a>. If you have the <strong>Power BI service</strong>, see <a href="/en-us/power-bi/enterprise/service-admin-closing-your-account" data-linktype="absolute-path">Close your account</a>. If you have the <strong>Fabric trial</strong>, see <a href="/en-us/power-bi/fundamentals/service-self-service-signup-for-power-bi#trial-expiration" data-linktype="absolute-path">Cancel your trial</a>.</p> <p>If you have <strong>Microsoft 365 Family</strong> or <strong>Microsoft 365 Personal</strong>, see <a href="https://support.microsoft.com/office/cancel-a-microsoft-365-subscription-46e2634c-c64b-4c65-94b9-2cc9c960e91b?OCID=M365_DocsCancel_Link" data-linktype="external">Cancel a Microsoft 365 subscription</a>.</p> <div class="WARNING"> <p>Warning</p> <p>Before you cancel a subscription, make sure your users <a href="#save-your-data" data-linktype="self-bookmark">save their data</a>.</p> </div> <h2 id="before-you-begin">Before you begin</h2> <ul> <li><a href="../manage-billing-accounts?view=o365-worldwide#view-my-billing-accounts" data-linktype="relative-path">Find out what type of billing account you have</a>.</li> <li>If you have a Microsoft Customer Agreement (MCA) billing account type, you must be a Billing account owner or contributor, or a Billing profile owner or contributor to do the tasks in this article. For information about Billing account roles and Billing profile roles, see <a href="../manage-billing-accounts?view=o365-worldwide" data-linktype="relative-path">Understand your Microsoft business billing account</a> and <a href="../billing-and-payments/manage-billing-profiles?view=o365-worldwide" data-linktype="relative-path">Manage your Microsoft business billing profiles</a>.</li> <li>If you have a Microsoft Online Subscription Agreement (MOSA), you must be at least a Billing Administrator to do the tasks in this article. For more information, see <a href="../../admin/add-users/about-admin-roles?view=o365-worldwide" data-linktype="relative-path">About admin roles in the Microsoft 365 admin center</a>.</li> <li>If you added your own domain name to use with your subscription, you must <a href="../../admin/get-help-with-domains/remove-a-domain?view=o365-worldwide" data-linktype="relative-path">remove the domain</a> before you cancel your subscription.</li> <li>If you have a domain subscription and do not want it to renew, <a href="renew-your-subscription?view=o365-worldwide" data-linktype="relative-path">turn off recurring billing</a>.</li> </ul> <div class="NOTE"> <p>Note</p> <p>If you're the person who signed up for the subscription, you're automatically a Billing account owner.</p> </div> <h2 id="how-do-i-cancel-my-free-trial">How do I cancel my free trial?</h2> <p>You can cancel your free trial at any time to stop future charges. To cancel a free trial, <a href="renew-your-subscription?view=o365-worldwide" data-linktype="relative-path">turn off recurring billing</a>. If you don't turn off recurring billing, after your one month free trial ends, you're charged the applicable subscription fee. If your trial subscription doesn't have a payment method associated with it, you can just let it expire at the end of the trial period, and you won't be charged.</p> <h2 id="what-if-i-bought-my-subscription-through-a-partner">What if I bought my subscription through a partner?</h2> <p>If you have an MCA billing account type and bought your subscription through a Microsoft representative or a reseller partner, you have seven days to cancel and receive a pro-rated refund. Contact your seller or partner to help you cancel your subscription. <a href="../manage-partners?view=o365-worldwide#what-can-a-partner-do-for-my-organization-or-school" data-linktype="relative-path">Learn more about partners</a>.</p> <p>If your organization is in Chile, and you bought your subscription through a partner in Chile, you have 10 days to cancel for a prorated refund.</p> <h2 id="determine-your-cancellation-option">Determine your cancellation option</h2> <p>Your cancellation option depends on the type of billing account that you have. <a href="../manage-billing-accounts?view=o365-worldwide#view-my-billing-accounts" data-linktype="relative-path">Find out what type of billing account you have</a>.</p> <h3 id="if-you-have-an-mca-billing-account-type">If you have an MCA billing account type</h3> <p>You can only cancel and receive a prorated credit or refund if you cancel within seven days after the start or renewal of your subscription. If you cancel during this limited time window, the prorated amount is either credited or returned on the monthly invoice around the beginning of the following month.</p> <p>If you need to cancel within seven days after the start or renewal of your subscription, go to <a href="#steps-to-cancel-your-subscription" data-linktype="self-bookmark">Steps to cancel your subscription</a> later in this article.</p> <p>If more than seven days have passed since your subscription started or renewed, <a href="renew-your-subscription?view=o365-worldwide" data-linktype="relative-path">turn off recurring billing</a>. Turning off recurring billing prevents your subscription from renewing at the end of its term. You keep access to your products and services for the remainder of your subscription.</p> <div class="NOTE"> <p>Note</p> <p>If you have an annual subscription and are paying monthly, you're charged each month for the remainder of your subscription term.</p> </div> <h3 id="if-you-have-an-mosa-billing-account-type">If you have an MOSA billing account type</h3> <p>If you cancel after you start or renew your subscription, you receive a prorated credit or refund. The amount is either credited towards your next invoice or returned to you in the next billing cycle.</p> <p>The steps to cancel your trial or paid subscription depend on the number of licenses in your subscription. The following table explains what steps you can take, based on the number of licenses in your subscription.</p> <table> <thead> <tr> <th>If your subscription has</th> <th>You can</th> </tr> </thead> <tbody> <tr> <td>25 or fewer licenses</td> <td><a href="#steps-to-cancel-your-subscription" data-linktype="self-bookmark">Use the steps later in this article to cancel your trial or paid subscription</a> online in the <a href="https://go.microsoft.com/fwlink/p/?linkid=2024339" target="_blank" data-linktype="external">Microsoft 365 admin center</a>.</td> </tr> <tr> <td>More than 25 licenses</td> <td><a href="../licenses/buy-licenses?view=o365-worldwide" data-linktype="relative-path">Reduce the number of licenses</a> to 25 or fewer and then <a href="#steps-to-cancel-your-subscription" data-linktype="self-bookmark">use the steps later in this article to cancel</a>.</td> </tr> </tbody> </table> <p>If you're unable to cancel your subscription, <a href="../../admin/get-help-support?view=o365-worldwide" data-linktype="relative-path">contact support</a> for help.</p> <h2 id="steps-to-cancel-your-subscription">Steps to cancel your subscription</h2> <p>You can cancel your subscription in the Microsoft 365 admin center. However, the steps to cancel your subscription depend on the type of billing account that you have. <a href="../manage-billing-accounts?view=o365-worldwide#view-my-billing-accounts" data-linktype="relative-path">Find out what type of billing account you have</a>.</p> <div class="NOTE"> <p>Note</p> <p>If you have multiple subscriptions for the same product or service, like Microsoft 365 Business Premium, canceling one subscription doesn't affect the licenses, products, or services that you bought for the other subscriptions.</p> </div> <h3 id="cancel-your-subscription-when-you-have-an-mca-billing-account-type">Cancel your subscription when you have an MCA billing account type</h3> <ol> <li>Go to the <a href="https://go.microsoft.com/fwlink/p/?linkid=2024339" target="_blank" data-linktype="external">Microsoft 365 admin center</a>. <ul> <li>If you're using the <strong>Simplified view</strong>, select <strong>Subscriptions</strong>.</li> <li>If you're using the <strong>Dashboard view</strong>, go to the <strong>Billing</strong> > <a href="https://go.microsoft.com/fwlink/p/?linkid=842054" target="_blank" data-linktype="external">Your products</a>.</li> </ul> </li> <li>Select the subscription that you want to cancel.</li> <li>On the subscription details page, in the <strong>Billing settings</strong> section, under <strong>Subscription status</strong>, select <strong>Cancel subscription</strong>.</li> <li>If you鈥檙e within the grace period during which you can cancel your subscription, select a reason for why you鈥檙e canceling, provide optional feedback, then select <strong>Cancel subscription</strong>.</li> <li>If you鈥檙e outside the grace period, you can only <a href="renew-your-subscription?view=o365-worldwide" data-linktype="relative-path">turn off recurring billing</a>. In the <strong>Canceling your subscription</strong> pane, review the information about how canceling works for your subscription, then select <strong>edit the recurring billing settings</strong>.</li> <li>In the <strong>Edit recurring billing</strong> pane, select <strong>Off</strong>, then select <strong>Save</strong>.</li> <li>Repeat steps 1 through 6 to cancel all active subscriptions.</li> </ol> <h3 id="cancel-your-subscription-when-you-have-an-mosa-billing-account-type">Cancel your subscription when you have an MOSA billing account type</h3> <ol> <li>Go to the <a href="https://go.microsoft.com/fwlink/p/?linkid=2024339" target="_blank" data-linktype="external">Microsoft 365 admin center</a>. <ul> <li>If you're using the <strong>Simplified view</strong>, select <strong>Subscriptions</strong>.</li> <li>If you're using the <strong>Dashboard view</strong>, go to the <strong>Billing</strong> > <a href="https://go.microsoft.com/fwlink/p/?linkid=842054" target="_blank" data-linktype="external">Your products</a> page.</li> </ul> </li> <li>Select the subscription that you want to cancel.</li> <li>On the subscription details page, in the <strong>Subscription and payment settings</strong> section, select <strong>Cancel subscription</strong>.</li> <li>In the <strong>Options for canceling your subscription</strong> pane, select <strong>Cancel now</strong> or <strong>Cancel before the next renewal date</strong>, then select <strong>Next</strong>.</li> <li>Select a reason for why you鈥檙e canceling, provide optional feedback, then select <strong>Cancel now</strong>.</li> <li>Repeat steps 1 through 4 to cancel all active subscriptions.</li> </ol> <p>Your subscription status now shows as <strong>Disabled</strong>, and has reduced functionality until it's deleted. For information about what to expect when you cancel a paid Microsoft 365 for business subscription, see <a href="what-if-my-subscription-expires?view=o365-worldwide" data-linktype="relative-path">What happens to my data and access when my Microsoft 365 for business subscription ends?</a></p> <div class="WARNING"> <p>Warning</p> <p>If you explicitly delete a subscription, it skips the <strong>Expired</strong> and <strong>Disabled</strong> states and the SharePoint Online data and content, including OneDrive content, is deleted immediately.</p> </div> <h2 id="save-your-data">Save your data</h2> <p>When the cancellation becomes effective, your users lose access to their data. Before you cancel the subscription, have users save their OneDrive for Business or SharePoint Online files to another location. Any customer data that you leave behind might be deleted after 30 days, and is deleted no later than 180 days after cancellation.</p> <ul> <li>To move email, contacts, tasks, and calendar information to another account, see <a href="https://support.microsoft.com/office/14252b52-3075-4e9b-be4e-ff9ef1068f91" data-linktype="external">Export or backup email, contacts, and calendar to an Outlook .pst file</a>.</li> <li>To save a document library or list content (such as contacts) from a SharePoint Online environment (OneDrive for Business or team sites) to file shares or to a local computer, see <a href="/en-us/sharepoint/troubleshoot/migration-tool/content-manual-migration" data-linktype="absolute-path">Information about manual migration of SharePoint Online content</a>.</li> </ul> <p>For more information, see <a href="what-if-my-subscription-expires?view=o365-worldwide" data-linktype="relative-path">What happens to my data and access when my Microsoft 365 for business subscription ends?</a></p> <h2 id="next-steps">Next steps</h2> <h3 id="uninstall-microsoft-365-optional">Uninstall Microsoft 365 (optional)</h3> <p>If you canceled your subscription and didn't <a href="move-users-different-subscription?view=o365-worldwide" data-linktype="relative-path">move users to a different subscription</a> that includes Microsoft 365, Microsoft 365 runs in reduced functionality mode. When this happens, users can only read and print documents, and apps in Microsoft 365 display <a href="https://support.microsoft.com/office/0d23d3c0-c19c-4b2f-9845-5344fedc4380" data-linktype="external">Unlicensed Product notifications</a>. To avoid any confusion, have your users <a href="https://support.microsoft.com/office/9dd49b83-264a-477a-8fcc-2fdf5dbf61d8" data-linktype="external">uninstall Microsoft 365</a> from their computers.</p> <h3 id="offboard-devices-from-microsoft-defender-for-business-optional">Offboard devices from Microsoft Defender for Business (optional)</h3> <p>If you canceled your subscription, you can offboard devices, such as computers, phones, and tablets, that were onboarded to Microsoft Defender for Business or Microsoft 365 Business Premium. For more information, see <a href="../../security/defender-business/mdb-offboard-devices?view=o365-worldwide" data-linktype="relative-path">Offboard a device from Microsoft Defender for Business</a>.</p> <h3 id="close-your-account-optional">Close your account (optional)</h3> <p>If you want to completely close your account with Microsoft, see <a href="../close-your-account?view=o365-worldwide" data-linktype="relative-path">Close your account</a>.</p> <h2 id="related-content">Related content</h2> <p><a href="renew-your-subscription?view=o365-worldwide" data-linktype="relative-path">Manage recurring billing in the Microsoft 365 admin center</a> (article)<br> <a href="reactivate-your-subscription?view=o365-worldwide" data-linktype="relative-path">Reactivate your subscription in the Microsoft 365 admin center</a> (article)<br> <a href="move-users-different-subscription?view=o365-worldwide" data-linktype="relative-path">Move users to a different subscription</a> (article)</p> </div><div id="ms--inline-notifications" class="margin-block-xs" data-bi-name="inline-notification"></div><div id="assertive-live-region" role="alert" aria-live="assertive" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div> <div id="polite-live-region" role="status" aria-live="polite" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div> <!-- </content> --> </main><!-- recommendations section --><!-- end recommendations section --> <!-- feedback section --><section id="site-user-feedback-footer" class="font-size-sm margin-top-md" data-test-id="site-user-feedback-footer" data-bi-name="site-feedback-section"> <hr class="hr" /> <h2 id="feedback" class="title is-3">Feedback</h2> <div class="display-flex flex-wrap-wrap align-items-center"> <p class="font-weight-semibold margin-xxs margin-left-none">Was this page helpful?</p> <div class="buttons"> <button class="thumb-rating-button like button button-primary button-sm" data-test-id="footer-rating-yes" data-binary-rating-response="rating-yes" type="button" title="This article is helpful" data-bi-name="button-rating-yes" aria-pressed="false" > <span class="icon" aria-hidden="true"> <span class="docon docon-like"></span> </span> <span>Yes</span> </button> <button class="thumb-rating-button dislike button button-primary button-sm" data-test-id="footer-rating-no" data-binary-rating-response="rating-no" type="button" title="This article is not helpful" data-bi-name="button-rating-no" aria-pressed="false" > <span class="icon" aria-hidden="true"> <span class="docon docon-dislike"></span> </span> <span>No</span> </button> </div> </div><div class="display-flex flex-wrap-wrap margin-top-xxs"><div> <a data-bi-name="provide-feedback-cta" class="has-external-link-indicator" href="https://admin.microsoft.com/adminportal/home?showfeedback=DocsMacCampaign" data-bi-name="product-feedback" > <span>Provide product feedback</span> </a></div></div> </section><!-- end feedback section --> <!-- feedback report section --><!-- end feedback report section --><aside id="ms--additional-resources-mobile" aria-label="Additional resources" class="display-none-desktop display-none-print" > <hr class="hr" hidden /> <h2 id="ms--additional-resources-mobile-heading" class="title is-3" hidden>Additional resources</h2> <section id="right-rail-recommendations-mobile" data-bi-name="recommendations" hidden></section> <section id="right-rail-training-mobile" data-bi-name="learning-resources-card" hidden></section> <section id="right-rail-events-mobile" data-bi-name="events-card" hidden></section> <section id="right-rail-qna-mobile" data-bi-name="qna-link-card" hidden></section> </aside><div class="border-top is-visible-interactive has-default-focus margin-top-sm "><footer id="footer-interactive" data-bi-name="footer" class="footer-layout"><div class="display-flex gap-xs flex-wrap-wrap is-full-height padding-right-lg-desktop"><a data-mscc-ic="false" class="locale-selector-link button button-sm button-clear flex-shrink-0" href="#" data-bi-name="select-locale"> <span class="icon" aria-hidden="true"> <span class="docon docon-world"></span> </span> <span class="local-selector-link-text"></span></a><div class="ccpa-privacy-link" data-ccpa-privacy-link hidden> <a href="https://aka.ms/yourcaliforniaprivacychoices" class="button button-sm button-clear flex-shrink-0" data-mscc-ic="false" data-bi-name="your-privacy-choices" > <svg role="img" aria-label="California Consumer Privacy Act (CCPA) Opt-Out Icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" height="16" width="43" focusable="false" > <title>California Consumer Privacy Act (CCPA) Opt-Out Icon</title> <path d="M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"></path> <path d="M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#06f"></path> <path d="M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z" style="fill:#fff"></path> <path d="M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z" style="fill:#06f"></path> </svg> <span>Your Privacy Choices</span> </a> </div> <div class="flex-shrink-0"> <div class="dropdown has-caret-up"> <button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu-interactive" aria-expanded="false" title="Theme" data-bi-name="theme"> <span class="icon"> <span class="docon docon-sun" aria-hidden="true"></span> </span> <span>Theme</span> <span class="icon expanded-indicator" aria-hidden="true"> <span class="docon docon-chevron-down-light"></span> </span> </button> <div class="dropdown-menu" id="theme-menu-interactive" role="menu"> <ul class="theme-selector padding-xxs" role="none"> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="light"> <span class="theme-light margin-right-xxs"> <span class="theme-selector-icon border display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Light</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="dark"> <span class="theme-dark margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Dark</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="high-contrast"> <span class="theme-high-contrast margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>High contrast</span> </button> </li> </ul> </div> </div> </div> </div> <ul class="links" data-bi-name="footerlinks"> <li class="manage-cookies-holder" hidden></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://www.microsoft.com/legal/intellectualproperty/Trademarks/" data-bi-name="trademarks">Trademarks</a></li><li>© Microsoft 2024</li> </ul> </footer></div></div><div id="ms--additional-resources" class="right-container column is-4-desktop display-none display-block-desktop" data-bi-name="pageactions" role="complementary" aria-label="Additional resources" > <div id="affixed-right-container" class="margin-top-sm-tablet" data-bi-name="right-column"> <h2 id="ms--additional-resources-heading" class="title is-6 margin-top-md" hidden>Additional resources</h2> <section id="right-rail-events" data-bi-name="events-card" hidden></section> <section id="right-rail-training" data-bi-name="learning-resources-card" hidden></section> <section id="right-rail-recommendations" data-bi-name="recommendations" hidden></section> <nav id="side-doc-outline" class="doc-outline" data-bi-name="intopic toc" aria-label="In this article"> <h3>In this article</h3> </nav> <section id="right-rail-qna" class="margin-top-xxs" data-bi-name="qna-link-card" hidden></section> </div> </div></div> <!--end of div.columns --> </section> <!--end of .primary-holder --> <!-- interactive container --> <aside id="interactive-container" class="interactive-container is-visible-interactive column has-body-background-dark "> </aside> <!-- end of interactive container --> </div> </div> <!--end of .mainContainer --> <section class="border-top has-default-focus is-hidden-interactive margin-top-sm "><footer id="footer" data-bi-name="footer" class="footer-layout uhf-container has-padding" role="contentinfo"><div class="display-flex gap-xs flex-wrap-wrap is-full-height padding-right-lg-desktop"><a data-mscc-ic="false" class="locale-selector-link button button-sm button-clear flex-shrink-0" href="#" data-bi-name="select-locale"> <span class="icon" aria-hidden="true"> <span class="docon docon-world"></span> </span> <span class="local-selector-link-text"></span></a><div class="ccpa-privacy-link" data-ccpa-privacy-link hidden> <a href="https://aka.ms/yourcaliforniaprivacychoices" class="button button-sm button-clear flex-shrink-0" data-mscc-ic="false" data-bi-name="your-privacy-choices" > <svg role="img" aria-label="California Consumer Privacy Act (CCPA) Opt-Out Icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" height="16" width="43" focusable="false" > <title>California Consumer Privacy Act (CCPA) Opt-Out Icon</title> <path d="M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"></path> <path d="M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#06f"></path> <path d="M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z" style="fill:#fff"></path> <path d="M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z" style="fill:#06f"></path> </svg> <span>Your Privacy Choices</span> </a> </div> <div class="flex-shrink-0"> <div class="dropdown has-caret-up"> <button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu" aria-expanded="false" title="Theme" data-bi-name="theme"> <span class="icon"> <span class="docon docon-sun" aria-hidden="true"></span> </span> <span>Theme</span> <span class="icon expanded-indicator" aria-hidden="true"> <span class="docon docon-chevron-down-light"></span> </span> </button> <div class="dropdown-menu" id="theme-menu" role="menu"> <ul class="theme-selector padding-xxs" role="none"> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="light"> <span class="theme-light margin-right-xxs"> <span class="theme-selector-icon border display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Light</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="dark"> <span class="theme-dark margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Dark</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="high-contrast"> <span class="theme-high-contrast margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>High contrast</span> </button> </li> </ul> </div> </div> </div> </div> <ul class="links" data-bi-name="footerlinks"> <li class="manage-cookies-holder" hidden></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://www.microsoft.com/legal/intellectualproperty/Trademarks/" data-bi-name="trademarks">Trademarks</a></li><li>© Microsoft 2024</li> </ul> </footer> </section> <div id="action-panel" role="region" aria-label="Action Panel" class="action-panel has-default-focus" tabindex="-1"></div> </body> </html>