Migrate Slack Direct Messages to Teams: Full Guide
In this article
This guide walks you through moving your Slack direct messages (DMs) to Microsoft Teams, including one-on-one chats and group DMs. You'll need admin access to both Slack and Teams, plus a tool like the Microsoft Teams Migration Tool or a third-party solution. The process preserves message history, attachments, and timestamps, but note that Slack's free plan limits what you can export.
What You'll Need
- Admin permissions in the Slack workspace (to export data) and in Microsoft 365 (to import into Teams).
- A Slack plan that supports exports: Business+ or Enterprise Grid. Free and Standard plans cannot export DMs directly.
- Microsoft Teams with an active Microsoft 365 subscription (Business or Enterprise).
- A migration tool: Microsoft's official Teams Migration Tool (for SharePoint/OneDrive) or a third-party like Sharegate, CloudM, or BitTitan. Some tools are paid.
- Enough time: large DM histories can take hours to transfer.
Step-by-Step
- Export Slack DMs – In Slack, go to Workspace Settings → Admin → Export data. Choose a date range (or all time) and select "Direct Messages" as the content type. Click "Start Export" and wait for the email with a download link. Download the .zip file.
- Extract the export – Unzip the file. You'll see folders per user and a JSON file for each DM conversation. Note the structure: each user has a folder with files like "dm-history.json" or "group-dm-history.json".
- Choose a migration tool – If you have a small number of DMs, you can manually copy/paste, but for anything more than a few chats, use a tool. Microsoft's native option is the Teams Migration API, but it's developer-oriented. For non-coders, use a third-party tool that supports Slack-to-Teams DM migration.
- Set up the migration tool – Install the tool (e.g., Sharegate) and connect it to your Slack workspace using an admin token (from Slack API) and to Microsoft Teams using your Microsoft 365 admin credentials.
- Map users – The tool will ask you to map each Slack user to their corresponding Teams user (by email address). Do this carefully – mismatched emails will break the migration.
- Select DMs to migrate – In the tool, choose which DMs to migrate: one-on-one chats, group DMs, or all. You can filter by date or specific users.
- Run the migration – Start the process. The tool will recreate each DM as a Teams chat (one-on-one) or a group chat. It will upload attachments (files, images) and preserve timestamps.
- Verify in Teams – After completion, open Teams, go to Chat, and check that each conversation appears. Open a few chats to confirm messages, files, and dates are intact.
- Notify users – Tell your team that DMs have moved. They may need to log out and back in to see the new chats.
- Decommission Slack (optional) – Once verified, you can archive or delete the Slack workspace, but keep the export zip as a backup.
Common Mistakes
- Exporting without DMs – Slack's default export may exclude DMs unless you explicitly select them. Double-check the export settings.
- Ignoring file size limits – Teams has a 1GB per file attachment limit. Slack allows larger files, so they may fail to upload. Compress or skip files over 1GB.
- Not mapping all users – If a Slack user has no Teams account, the tool will fail or create an orphaned chat. Create Teams accounts for all users first.
- Migrating to the wrong chat type – Some tools create a new group chat for every DM, even one-on-ones. Ensure your tool supports true one-on-one chat mapping.
- Overwriting existing Teams chats – If a user already has a Teams chat with the same person, the migration might merge or duplicate. Check tool settings for conflict handling.
Tips
- Do a test migration with a single DM first to verify the tool works and the output looks correct.
- Schedule the migration during off-hours to avoid affecting active work.
- Keep the Slack export zip in a secure location – it contains sensitive messages.
- If you're on Slack's free plan, consider upgrading temporarily to Business+ just to export, then downgrade after.
- For group DMs, Teams supports up to 250 participants, but Slack's limit is 8 for group DMs – so all will fit.
- Use the tool's pre-migration report to see how many messages and files will transfer.
Troubleshooting
- Export fails or empty – Ensure you have admin rights and selected the right date range. If the export is too large (over 10GB), split it by date ranges.
- Messages missing after migration – Check if the tool skipped messages due to unsupported content (e.g., Slack-specific emoji reactions). Some tools don't transfer reactions or edited messages. You may need to manually re-add them.
- Attachments not showing – Teams may block certain file types (e.g., .exe). Check the tool's error log and re-upload those files manually.
- Users can't see migrated chats – Ask users to sign out and sign back in to Teams, or clear the Teams cache (close Teams, delete %appdata%\Microsoft\Teams, restart).
- Tool errors about permissions – Re-authenticate both Slack and Teams in the tool. Make sure your Microsoft 365 admin role has the "Teams Administrator" permission.
- Duplicate messages – If you ran the migration twice, you'll get duplicates. Use a tool that supports deduplication, or delete the chats and re-run once.
Frequently Asked Questions
Can I migrate DMs from Slack's free plan?
No. Slack's free plan does not allow direct message exports. You'll need to upgrade to Business+ or Enterprise Grid at least temporarily, or use a third-party tool that can scrape DMs via API (which may violate Slack's terms).
Will my Slack attachments (files, images) transfer?
Yes, most migration tools transfer attachments. However, files over 1GB will fail due to Teams' limit. Also, some file types (like executables) are blocked by Teams.
Do migrated messages keep their original timestamps?
Yes, most tools preserve the original Slack timestamps. In Teams, the messages will appear with the original date and time.
Can I migrate only specific DMs, not all?
Yes, most tools allow you to select specific users or conversations. In the migration tool's interface, you can check/uncheck individual DMs.
Will group DMs become group chats in Teams?
Yes, group DMs (with 3 or more people) become group chats in Teams. One-on-one DMs become direct chats.
How long does the migration take?
It depends on the number of messages and files. For a typical team with 50 users and a year of DMs, expect 2–4 hours. Large enterprises with years of history can take days.