Microsoft Defender for Endpoint
Endpoint protection

Offboard Machines

In brief

The article now distinguishes automatic Azure offboarding, Defender for Servers coverage changes, manual endpoint offboarding, and endpoint software removal. It adds preparation steps, verification guidance, package-handling details, and method-specific procedures for Linux and Windows.

What Defender admins need to know

Use the workflow that matches the intended outcome and verify coverage, endpoint status, and software removal separately to avoid applying the wrong change.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Offboard servers

InChoose automatic Azure offboarding or manual endpoint offboarding based on the Microsoft Defender portal, inintended outcome. Verify plan coverage, endpoint reporting, and software removal separately.

Choose the navigation pane, select Settings > required outcome

OutcomeWhat to do
Offboard, an Azure environmentUse automatic Azure offboarding.
Change Defender for Servers coverageUse the plan-change procedure. Review the affected subscription and then select anresource settings first.
Offboard individual endpointsUse manual endpoint offboarding.
Remove endpoint softwareUse the supported uninstall procedure for that operating systemsystem. Don't assume a plan change or offboarding package removes it.

Prepare the change

  1. Record affected servers, existing coverage, and deployment policies.
  2. Review open investigations, evidence-retention needs, and any plans to startonboard the offboarding process.

    You can also use other methods, such as:

Automatic Azure offboarding

Turning off Defender for Servers for a subscription in the Azure portal automatically offboards eligible servers from Microsoft Defender for Endpoint. Changing from Plan 2 to Plan 1 or moving a machine between subscriptions doesn't trigger automatic offboarding.

Before starting, complete the steps in Prepare the change.

To start offboarding and verify the result:

  1. In Microsoft Defender for Cloud in the Azure portal, identify the subscription where you want to turn off Defender for Servers.
  2. Turn off the plan using the plan-change procedure. This is the only action required to initiate offboarding. The software automatically handles intent validation, MDE extension removal, and endpoint offboarding.
  3. Allow processing to complete, and then verify the result.each outcome. Offboarding can take up to one hour for large subscriptions. If machines are powered off, the software retries later.

Use the subscription's plan control to initiate offboarding, not deletion of the Azure environment connection.

If you turn the plan back on before offboarding completes, the offboarding and onboarding actions run asynchronously. Defender for Endpoint is onboarded again after a few hours. Turning the plan back on doesn't immediately cancel offboarding.

Manual endpoint offboarding

Use a supported endpoint tool to offboard individual servers, including manually onboarded on-premises servers, or to complete an intended endpoint change after reviewing the automatic flow's result.

Follow one of the methods below. Manual endpoint offboarding isn't a substitute for changing Defender for Servers coverage.

Download an offboarding package

Open the Offboarding page in Microsoft Defender. Use an account authorized to download the package, and then follow the relevant method's operating-system and package selections.

Download a current package for the correct tenant, check its expiration, and store it securely. Package formats and validity periods differ by method.

For local-script or Configuration Manager offboarding, select the Windows version group specified in that method's instructions. The generic Windows option opens the separate Defender deployment tool workflow, not the version-specific package workflow.

Choose the supported method for your operating system and management environment:

MethodProcedure
Linux script, JSON file, API, or uninstallOffboard or uninstall on Linux
Windows Configuration ManagerOffboard with Configuration Manager
Windows local scriptOffboard with a local script
Windows Group PolicyGroup Policy offboarding
Mobile device managementMobile Device Management offboarding
API automationOffboard machine API

Verify each outcome

Intended changeCheck
Plan coverageConfirm the intended plan state in Defender for Cloud.
Endpoint offboardingConfirm the local offboarding state using the method-specific procedure, and then check that new endpoint data stops. Inactivity alone isn't proof of offboarding.
Software removalConfirm the relevant application, package, or service is absent using operating-system tools.
No automatic returnRecheck after the deployment system's policy refresh.

Historical records

Past endpoint data can remain visible under the configured retention policy. A retained device record doesn't prove that protection or reporting is still active. See data retention.

Offboard Mac devices

In the following procedure, steps 1 and 2 are optional if you do not want to see these devices that are retired in the "Device inventory" for 180 days.