logo
search
Tenant Migration

How to Migrate Microsoft Defender for Endpoint from One Tenant to Another

Guest WriterGuest Writer Oct 12, 2026 869 views

Question details

The user needs to offboard devices from Microsoft Defender for Endpoint in an old tenant and onboard them to a new tenant in bulk using Intune, specifically for devices not joined to Microsoft Entra.

How to Migrate Microsoft Defender for Endpoint from One Tenant to Another
Product
Microsoft Defender for Endpoint
Device & OS
not provided
Scenario
Migrating device management and endpoint security from one Microsoft tenant to another via bulk operations.
Observed behavior
Devices must be cleanly disconnected from the original tenant and successfully registered to the new tenant's security portal.
Before you start

Before beginning the migration, ensure you have Global Administrator or Security Administrator permissions in both the source and target Microsoft Defender portals, and verify that the devices are actively communicating with Intune.

Solution 1Recommended

Offboard and Onboard Devices Using Local Scripts via Intune

This method involves generating an offboarding script from your current tenant and an onboarding script from your new tenant, then using Intune to deploy these scripts in bulk.

Because the devices are not Microsoft Entra joined, utilizing Intune's bulk device actions or deploying local scripts via endpoint management policies is the most effective way to transition the endpoints without manual intervention on every machine.

1
Download the offboarding package

In the Microsoft Defender portal of the old tenant, navigate to Settings > Endpoints > Device management > Offboarding. Select the operating system and choose 'Local script' as the deployment method, then download the package.

2
Deploy the offboarding script

Use Intune Bulk Device Actions or endpoint management policies to deploy the downloaded offboarding script to the targeted devices. Allow time for the devices to process the disconnection.

3
Download the onboarding package

Log into the Microsoft Defender portal for the new tenant. Go to Settings > Endpoints > Device management > Onboarding. Select the operating system, choose your deployment method, and download the new onboarding package.

4
Deploy the onboarding script

Using Intune, create a new policy or use bulk actions to push the new onboarding package to the same group of devices. Monitor the deployment status within the Intune dashboard.

5
Verify device onboarding

In the new tenant's Defender portal, check the Device Inventory list to confirm that the migrated devices are appearing with an 'Active' status.

Offboard and Onboard Devices Using Local Scripts via Intune
Device-Specific Requirements: While Intune Bulk Device Actions can automate much of this process, tenant migration for non-Entra joined devices may still require device-specific onboarding steps if script execution fails due to local permissions.
Free Microsoft Office alternative

Manage Your IT Migration Documentation with WPS Office

While WPS Office does not manage Microsoft Defender tenants, it is an excellent, lightweight alternative to Microsoft Office for creating, tracking, and sharing your IT migration checklists and deployment plans.

  1. 1. Download and install: Get WPS Office for free from the official website and install it on your admin workstation.
  2. 2. Create a migration tracker: Open WPS Spreadsheet to build a comprehensive list of devices, tracking their offboarding and onboarding status.
  3. 3. Save and share: Save your tracker in .xlsx format to ensure full compatibility when sharing with other IT team members.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Create detailed IT migration trackers and spreadsheets to monitor device onboarding.Lightweight, free to use, and features a familiar user interface for seamless adoption.
microsoft office alternative - wps office

Frequently Asked Questions

Can I migrate Defender devices without offboarding them from the old tenant first?

No. Devices must be completely offboarded from their current tenant before they can successfully connect to and be managed by a new tenant.

Do devices need to be Microsoft Entra joined for Intune bulk migration to work?

While Microsoft Entra join simplifies device management and identity, it is not strictly required. As long as the devices are enrolled in Intune or a supported MDM, you can deploy local offboarding and onboarding scripts.

How long does it take for a newly onboarded device to appear in the new tenant?

Once the onboarding script runs successfully, it typically takes a few minutes to an hour for the device to show up in the Device Inventory of the new Microsoft Defender portal.

What happens to the security alerts in the old tenant after migration?

Historical alerts and incidents remain in the old tenant based on your data retention policy, but the old tenant will stop receiving new telemetry and alerts the moment the devices are offboarded.