Migrate Direct Messages from Teams to Teams
In this article
Yes, you can migrate direct messages from one Microsoft Teams tenant to another, but there is no built-in “one-click” export/import for chat history. You must use a third-party migration tool, Microsoft’s PowerShell-based export (with limitations), or manually copy messages (which is impractical for large histories). The method you choose depends on your volume, compliance needs, and budget.
Why Migrate Teams-to-Teams DMs?
Direct messages (DMs) in Teams are stored in the user’s Exchange Online mailbox (as part of the Chat folder) and in the Teams chat service. When you move from one tenant to another (e.g., after a merger, acquisition, or rebranding), DMs do not automatically transfer. Users often expect their chat history to follow them, but Microsoft treats each tenant as a separate boundary. Without migration, users lose access to past conversations, which can disrupt ongoing projects, client relationships, or compliance audits.
What Actually Happens During a DM Migration?
A proper migration extracts chat messages, attachments, and metadata (sender, timestamp, reactions) from the source tenant, transforms them into a compatible format, and injects them into the target tenant’s chat store. The target tenant must have the same users (or mapping between old and new user identities) and sufficient licenses. Most tools use Microsoft Graph APIs to read and write chat data, but the Graph API for chat migration is still evolving and often requires special permissions (e.g., Chat.ReadWrite.All).
Methods to Migrate DMs
Your options range from manual to fully automated:
- Manual copy-paste: For a handful of conversations, you can copy text and paste into new chats. Loses attachments, formatting, and timestamps.
- PowerShell scripts: Using the Teams PowerShell module, you can export chat data to CSV or JSON, but you cannot re-import it back into Teams natively. This is more of an audit export.
- Third-party tools: Vendors like ShareGate, CloudM, BitTitan, and Quest offer Teams migration suites that handle DMs. They typically require a pilot test, provide a web-based interface, and can map users between tenants.
- Microsoft’s native “Teams to Teams” migration (limited): As of now, Microsoft does not offer a user-facing feature to migrate DMs between tenants. The only native path is to use the “Teams Export” API (for eDiscovery) and then re-create chats manually.
How to Choose a Migration Tool
When evaluating tools, consider these factors:
- Volume: How many users and how many messages? Some tools charge per user or per GB.
- Fidelity: Do you need attachments, reactions, and edit history? Not all tools preserve everything.
- User mapping: If usernames change (e.g., from first.last@old.com to first.last@new.com), the tool must map old to new.
- Downtime: Can you migrate incrementally, or do you need a cutover weekend?
- Compliance: If you need to retain legal hold, ensure the tool exports in a format that can be imported into your eDiscovery system.
Common Problems and Misconceptions
“Teams DMs are just emails.” They are not. DMs live in a separate chat service, not in the mailbox’s normal email folders. Exporting a mailbox via PST does not include Teams chats (unless you enable “cloud-based Teams chat export” in the Security & Compliance Center, which gives a JSON/HTML export but not a simple PST).
“I can just use the built-in export.” The Teams admin center allows you to export a list of users and their activity, but not the actual message content. For message content, you need eDiscovery or a third-party tool.
Deleted messages: If a user deleted a message before migration, it may not be recoverable unless you have a retention policy. Most tools only migrate what exists at the source at the time of extraction.
Group chats vs. 1:1 DMs: Some tools handle 1:1 chats well but struggle with group chats (3+ people). Verify that your tool supports both.
Cost and Licensing Considerations
Third-party migration tools typically charge per user migrated (ranging from a few dollars to tens of dollars per user, depending on features). You also need to ensure that target tenant users have appropriate Teams licenses (Microsoft 365 Business Basic or higher). Additionally, if you need to preserve chat data for compliance, you may need to enable “Teams Chat Export” in the compliance center, which requires an E5 license or an add-on. Budget for a pilot migration to test the tool on a small group before full rollout.
Safety and Data Integrity
Before migrating, always:
- Back up the source tenant’s chat data (export to a safe location).
- Test on a sandbox tenant to verify that messages appear correctly and that attachments open.
- Verify user mapping – wrong mapping can send messages to the wrong person.
- Check for sensitive data – if you have regulatory requirements (GDPR, HIPAA), ensure the migration tool is compliant and data remains encrypted in transit and at rest.
Frequently Asked Questions
Can I migrate DMs from one Teams tenant to another for free?
No free method exists that preserves full chat history. Manual copy-paste is free but impractical for more than a few messages. PowerShell scripts can export to CSV, but you cannot import back into Teams. Third-party tools are the only realistic option for bulk migration, and they cost money.
Will my DMs show up in the target tenant as if they were always there?
Most tools recreate chats as new conversations, so the original timestamps may be preserved in the message text, but the chat’s “created date” will be the migration date. Some tools can backdate the chat, but not all. Check with the vendor.
Do I need to migrate users first before DMs?
Yes, users must exist in the target tenant with the same email address (or a mapped address) before you migrate DMs. Otherwise, the tool cannot associate messages with the correct user.
What about attachments and images in DMs?
Most third-party tools migrate attachments, but file size limits apply (e.g., Teams allows up to 2GB per file, but some tools may have lower limits). Verify that your tool handles OneDrive/SharePoint links correctly, as those may need re-pointing to the new tenant.
Can I migrate only my own DMs, or do I need admin rights?
You need at least Global Admin or Teams Administrator rights in both tenants to run a migration tool. Individual users cannot migrate their own DMs without admin intervention.