Migrating from Microsoft OneDrive to Nextcloud

File content moves across in a straightforward way. Sharing links, Office co-editing, identity, retention and the export path need planning, and the export path depends on your Microsoft 365 license.

On this page

Why teams migrate from Microsoft OneDrive to Nextcloud, and who does the work

Teams usually open this page because of a Microsoft 365 renewal, a licensing change, a data residency requirement or concern about lock-in. Moving the file content is the simpler part of the work. Permissions, sharing links, identity, Office co-editing and the cutover itself drive most of the effort and most of the risk. OneDrive comes with Microsoft 365 plans, and Microsoft's OneDrive service description lists 1 TB per user for Business Basic, Business Standard and Business Premium. Microsoft documents OneDrive as a Microsoft-hosted service and lists no self-hosted edition, so a move changes where the files live and who operates the platform.

Nextcloud Server is licensed under AGPL-3.0 and is free to self-host, so the software itself carries no per-user license fee. What remains is the cost of the infrastructure, the staff who run it and any paid support you choose. Nextcloud GmbH sells Standard, Premium and Ultimate enterprise subscriptions for support, maintenance and additional features, and that subscription is the line to compare with your current Microsoft 365 spend. A common pairing for in-browser co-editing of .docx, .xlsx and .pptx files is Collabora Online, which is licensed under MPL 2.0. Plan it as a second component with its own sizing and integration tests, and confirm with each vendor which support hours and maintenance periods your contract needs before you commit.

Internal IT usually owns the work: identity integration, storage and backup design, DNS and network paths, the sharing policy and the user communication plan. An implementation partner is often brought in for the parts that need repeated testing, such as LDAP-based user authentication, permission mapping, migration scripts and cutover rehearsals. Effort is driven most by how many shares, external links and group permissions the current tenant holds, and the cutover risk concentrates in the final migration window. Nextcloud publishes a new major version every four months with one year of support for each, and upgrades must move one major release at a time with a backup taken first, so assign an upgrade owner before go-live. Ask any partner for a fixed scope, written deliverables and a rollback plan, and let the duration follow from that scope.

What maps cleanly from OneDrive to Nextcloud, and what needs rework

This table compares the OneDrive capabilities that most organizations depend on with their closest Nextcloud equivalent during a migration. Read the status column as a planning signal: clean means a direct mapping, needs rework means the setting, process or integration must be rebuilt, and gap means no equivalent should be assumed. Confirm each feature detail against the Nextcloud version you deploy, because capabilities change between major releases.

CapabilityWhat changes in NextcloudStatus
File storage and syncDesktop and mobile sync clients have counterparts. Size per-user quotas and server storage from your current usage data.Clean
Sharing linksInternal and public share links map directly. Review link expiry, passwords and download limits, since defaults may differ from OneDrive.Needs rework
Folder permissionsTeam folders and group shares replace per-file grants. Rebuild access from groups and directory membership, and name an owner for each share.Needs rework
Version historyPrior OneDrive versions usually need an export plan. Confirm whether historical versions can be imported and how many to keep.Gap
Office document editingCollabora Online edits .docx, .xlsx and .pptx inside Nextcloud. Test macros, complex spreadsheets and co-authoring with your own sample files.Needs rework
Directory sign-in through LDAPLDAP or Active Directory sign-in is documented for Nextcloud. Test nested groups, account disablement and group-based sharing before cutover.Clean
Admin and audit controlsAdmin controls and logs exist, but audit depth varies by edition. Confirm which audit, retention and reporting features your subscription includes.Gap
Microsoft 365 integrationsOneDrive links embedded in Teams and Outlook will not resolve to Nextcloud. Plan replacement links and any add-ins as separate work.Gap

How to export OneDrive content and rebuild its integrations

Moving OneDrive content has two parts: exporting the files and rebuilding everything that connects to them. The cards start with the documented Microsoft export route, then cover identity, office editing, sharing and automation that must be inventoried and rebuilt on Nextcloud. Confirm each point with your Microsoft tenant administrator before cutover.

Export through Purview eDiscovery

Microsoft Purview eDiscovery can export SharePoint and OneDrive content as native documents, and you can select which version history to include. Exporting requires a Microsoft 365 E3 or E5 license, and search export packages expire 14 days after creation, so download and verify them promptly. Tenants on Business plans should confirm with Microsoft which export methods their license allows before they plan the migration window, because a blocked export path changes the schedule for every later step.

Purview export steps

Directory users and LDAP

Nextcloud authenticates users against an LDAP directory, so every OneDrive account needs a matching identity before its files move. Inventory which users, groups and service accounts hold OneDrive data, and identify where that directory lives, such as on-premises Active Directory, Entra Domain Services or another source. Confirm with your Microsoft administrator how that directory is exposed, because the bind account, group filters and attribute mapping all depend on it. Disabled, shared and former-employee accounts each need an explicit decision.

Nextcloud LDAP docs

Collabora Online for Office files

Collabora Online edits .docx, .xlsx and .pptx files inside Nextcloud, so Office documents can stay on your own instance. Test a representative sample of your files before cutover, including documents with tracked changes, comments, macros, embedded objects and complex tables, since rendering and feature support vary by format. Confirm with your Microsoft administrator which Microsoft 365 apps and macros your users rely on, and record the gaps for each file type. Plan short training sessions for the editing interface before users switch.

Collabora Online overview

Sharing links and external guests

Anyone-with-link shares and external guest access in OneDrive must be listed before you create equivalent shares in Nextcloud. Export the sharing settings and guest accounts for each user, then decide per item whether it becomes an internal share, a password-protected public link with an expiry date, or a guest account. Confirm with your Microsoft administrator which external sharing settings apply to your tenant, because link and guest defaults are set at the tenant level and may differ across departments. Links that point to files you are not migrating will stop working once the source is retired.

OneDrive service description

Flows, connectors and app consents

Power Automate flows, Office add-ins, Teams integrations and third-party apps that read or write OneDrive through Microsoft Graph are often unmanaged and undocumented. Build a list from the Microsoft 365 admin center and app consent records, with the owner, trigger, target folder and credential type for each item. Every entry then needs one of three outcomes: a rebuilt equivalent on Nextcloud, a retirement decision, or a documented manual step. Confirm with Microsoft which connectors your plan permits and which app consents remain active before cutover.

The sequence to migrate from Microsoft OneDrive to Nextcloud

This sequence moves files, sharing settings and users from Microsoft OneDrive to a self-hosted Nextcloud instance in five stages, each with a written output. Each stage gates the next, so a problem found in the pilot is fixed before any user's data moves into production. The result is a documented cutover and a retained export record that your compliance team can review.

  1. Inventory users, data and sharing links

    Your IT team compiles an inventory register that lists each user, their OneDrive data volume and how that volume compares with the plan limit. Microsoft 365 Business plans include 1 TB per user. E3 and E5 users get 1 TB per user, which can be raised to 5 TB, and pooled storage limits still apply at the tenant level, so record both per-user and tenant figures. Also record sharing links, external guests and every integration or sync client that connects to OneDrive. The step closes when the data owners and the migration lead sign off the register.

  2. Pilot the migration and set the release

    A pilot group drawn from several departments and sharing patterns moves a representative set of files to a non-production Nextcloud instance. The pilot also fixes the Nextcloud release and upgrade path. Nextcloud requires upgrades one major version at a time, with a backup before every upgrade and third-party apps disabled until they are confirmed compatible. Testers check file integrity, version history, sharing permissions, sync client behavior and Collabora Online editing where it is used. The step closes with a pilot sign-off list, approved by the business owners, that records each test, its result and any open defects.

  3. Run parallel operation and log results

    Users work in both OneDrive and Nextcloud while a copy job moves changes from the source to the target. The team keeps a parallel-run log that records item counts, failed transfers, permission mismatches and user-reported issues, with an owner and a fix status for each entry. Checks compare file counts and checksums on sampled folders and confirm that group permissions match the source. The step closes when the log has no open high-severity issues and the data owners confirm that the target matches the source.

  4. Execute cutover from a signed runbook

    The cutover runbook is a written sequence of actions with an owner and a check for each one. The actions cover freezing changes in OneDrive, running the final copy of changes, verifying counts and permissions, switching users to Nextcloud, updating sync clients and integrations, and taking a Nextcloud backup before go-live. The runbook also names the decision makers and the rollback point, and it keeps OneDrive readable until decommission. The step closes with a signed runbook that shows the time and result of each check and any rollback decision.

  5. Decommission OneDrive and retain evidence

    After the business owners accept the cutover, the team removes OneDrive access for migrated users and retires integrations that pointed to it. Before deleting anything, retain export evidence, such as a copy of the migrated data, the inventory register, the parallel-run log and the signed runbook, under your records policy. If your Microsoft 365 license includes eDiscovery export, note that search export packages expire 14 days after creation, so download them promptly. The step closes with a decommission record that lists each retained artifact, its storage location, its retention period and its approver.

How to run OneDrive and Nextcloud in parallel and cut over without losing edits

The parallel period works only when every file has one place where edits are allowed. Decide the rule before the first copy: new work goes to Nextcloud, and each migrated folder becomes read-only in OneDrive once its baseline copy is verified. Confirm with your Microsoft 365 administrator how read-only permissions are applied in your tenant, because the method depends on how libraries and sharing are configured. Tell users which links change before the switch. Shared OneDrive links to migrated files will no longer lead to editable content, so generate a link map from the export manifest that pairs each old path with its new Nextcloud path. Send it to file owners so they can reshare, and keep it as an audit record.

Files open during the final copy cause most lost edits, so the freeze needs a named window and a check for open documents. Ask owners to save and close their files, and confirm with your administrator whether co-authoring sessions or sync client locks can keep a file open after users sign off. Then run a last delta export that captures items changed since the baseline, including new versions, and compare it with the baseline manifest by path and modified time. Every item that appears in both the delta and Nextcloud needs a named owner who decides which version survives. Cutover should wait until every delta exception is resolved and the read-only state is confirmed on each migrated folder.

Plan for the export package to expire. Microsoft Purview search export packages expire 14 days after creation, and exporting requires a Microsoft 365 E3 or E5 license, so confirm eligibility before the project starts. If the cutover date moves past the expiry window, the baseline or delta package must be created again and the manifest regenerated to match the new export. Treat the re-run as a written decision with an owner and an approval record. Before cutover, check that the package is still downloadable, that its item count matches the manifest, and that the version history selected in the export is the one you intended. Record the new package date and the approver in your cutover log. Purview search export documentation lists the export options to confirm.

Which export path applies, and where Nextcloud sits during the move

The diagram starts with an inventory of OneDrive content, then a pilot group. At the license decision, users with Microsoft 365 E3 or E5 can use Purview eDiscovery exports, which return native documents with selectable version history. Other licenses need an alternate export path, which your team should confirm for its own tenant. Both paths feed Nextcloud server, which runs inside the client's infrastructure and connects to the directory for LDAP sign-in, the database, and Collabora Online for document editing. Parallel running, cutover and decommissioning follow only after the pilot checks pass.

Phases from inventory to decommission, with the license decision and the client's trust boundary.

What drives the cost and duration of moving from OneDrive to Nextcloud

This table lists the drivers that change the cost and duration of moving from OneDrive to a self-hosted Nextcloud instance, why each one matters and how to limit it. Read it as a scoping checklist: data volume, sharing, directory design and integrations tend to drive most of the effort, so measure them before asking for a quote. Subscription tier and stack choices affect recurring cost and upgrade work, so settle them with the target release in mind.

DriverWhy it changes cost or timeHow to keep it down
Data volume and version history depthTransfer time follows total bytes and how many file versions are carried over.Report size and version counts per user first, then migrate only the versions you need.
User count and per-user storageBusiness plans list 1 TB per user and E3 or E5 users up to 5 TB, so per-user volumes vary.Pull per-user usage from your tenant reports and migrate in department-sized waves.
Sharing and external guest linksEach shared link must be recreated as a Nextcloud share or guest account, and owners must confirm access.Export a sharing inventory, retire stale links first, and agree which guests get accounts.
LDAP directory designUser, group and nested group structure in Active Directory or another LDAP directory decides share permissions and sync scope.Map group-based access and clean up orphaned accounts before the first sync.
Office co-editing fidelity testingWord, Excel and PowerPoint files edited in Collabora Online may render differently, so layouts and fonts need checking.Test representative documents with heavy co-editing, comments and templates before cutover.
Integrations and custom flowsSync clients, scripts, Power Automate flows and third-party apps that call OneDrive must be repointed.Inventory connected apps and flows, then rebuild only those still in use.
Database and PHP stack choicesNextcloud 35 recommends MariaDB 11.8 or PostgreSQL 18 and PHP 8.5, and older stacks add upgrade work.Build on the versions recommended for your target release and check support dates.
Nextcloud subscription tierNextcloud's pricing page lists 71.29, 104.99 and 204.75 euros per user per year for Standard, Premium and Ultimate.Enterprise has a 100-user minimum; compare maintenance length and support hours by tier before choosing.
Training and change managementUsers must learn new sharing, sync and co-editing habits, and help desk volume rises during cutover.Plan training per team, run a pilot group, and publish a short guide to the new links.

What usually goes wrong when moving from OneDrive to Nextcloud

Most failed OneDrive moves trace back to a short list of decisions made during import, export and cutover. The six cards below cover where those decisions usually go wrong and the check that prevents each one. Work through them before the first pilot group moves.

Sharing links and folder permissions after import

Share links and folder permissions do not always carry over the way users expect when files move into Nextcloud. A link restricted to internal staff in OneDrive can end up open to anyone with the URL if the target share settings differ, and nested folders can reach content that was never meant to be shared. Before cutover, sample shares from each department, confirm link expiry and password defaults, and compare effective access for a few users against the source. Assign one owner to sign off the result.

Version history left behind

Some export routes deliver only the current copy of each file, so years of revisions can disappear without any error message. Microsoft Purview eDiscovery can export SharePoint and OneDrive content as native documents with selectable version history, but that option has to be chosen on purpose. Confirm which versions the export includes, then open an older revision of a sample file in Nextcloud and check that it opens. Record every file that arrives without its history.

Purview export docs

Formatting shifts in Office files

Collabora Online edits .docx, .xlsx and .pptx files, but pagination, fonts, tracked changes and complex charts can render differently from Microsoft Office. Documents that depend on specific templates, embedded objects or custom styles need a test pass before users are told to switch. Pick representative files from legal, finance and marketing, open them in Collabora Online, and compare them with the originals. Agree in writing which differences users must accept and which ones block the move.

Collabora Online overview

Directory mapping errors block sign-in

When Nextcloud connects to the corporate directory through LDAP, a wrong base DN, user filter or login attribute can leave people unable to sign in or create duplicate accounts for users who already have one. Decide which directory attribute becomes the Nextcloud username before any files move. Test with a pilot group drawn from several departments and account types, including contractors and service accounts. Confirm that group membership syncs, because group-based share rights depend on it.

Nextcloud LDAP docs

Missed Purview export window

A Purview search export package expires 14 days after it is created, so a package downloaded late must be generated again. Exporting also requires a Microsoft 365 E3 or E5 license, which can be a surprise if the migration team does not hold one. Schedule the export so the download and integrity check finish inside the window, and keep a dated log of each package. Confirm license entitlements with the Microsoft account team before the project starts.

Upgrades that skip major releases

Nextcloud does not allow skipping major releases, so a server several versions behind must move one major version at a time. Each step needs a full backup first, and third-party apps should stay disabled until their maintainers confirm compatibility with the target version. Plan the upgrade path against the published release schedule, since an unsupported version stops receiving maintenance releases. Write each step into a runbook and rehearse it on a copy of production.

Nextcloud upgrade manual

How to migrate from Microsoft OneDrive to Nextcloud by team size and starting point

Organizations under 100 users have two routes. Nextcloud One is managed hosting for organizations under 100 users, so the operator runs the instance for you. That is a different model from self-hosting in your own infrastructure, which is the model this page assumes. If you self-host, the inventory is small enough to review by hand, but the pilot still matters because personal folders and sharing links are often used inconsistently in small teams.

  • Inventory by owner: Export a list of every OneDrive account, its storage use and its shared folders from the Microsoft 365 admin center, and flag accounts that belong to departed staff.
  • Pilot group: Pick two or three users from different functions, such as finance and operations, who share files with outside parties. Their sharing habits expose more edge cases than a single department would.
  • Cutover plan: Move the whole company in one agreed window. A small user base can switch at once, which keeps the period of running two storage locations short.
  • Hosting decision: Compare Nextcloud One with self-hosting in your own cloud account, and ask the vendor which operating tasks, such as backups and upgrades, you keep and which transfer to them.

Check which Microsoft 365 plan each user holds, since the Business Basic, Business Standard and Business Premium plans list 1 TB per user, and total the data volume before you choose a transfer method.

Questions buyers ask before moving from OneDrive to Nextcloud

What does a OneDrive to Nextcloud migration cost, and what drives it?

The cost has four components: infrastructure, the Nextcloud subscription if you choose one, implementation labor and testing. Nextcloud Hub is licensed under the AGPL and is free to self-host, so the software itself carries no license fee. Infrastructure recurs: servers or cloud instances, storage sized to your current OneDrive footprint, backups and monitoring. Microsoft's service description lists 1 TB per user for Business Basic, Business Standard and Business Premium, so size storage from your tenant's actual usage. The subscription is optional and is priced per user per year. Nextcloud's pricing page lists its Standard tier from 71.29 euros per user per year for 100 or more users, with lower rates from 200 users. Implementation labor and testing are mostly one-time. Ask every quote to price each component separately and to state the user count and data volume it assumes.

How long does a migration from OneDrive to Nextcloud take?

No standard duration applies, so the schedule should come from the written scope. Five factors set it: total data volume and file count, the number of users and shared folders, sign-in and directory integration, how much sharing structure must be rebuilt, and the number of test cycles before cutover. Copy time also depends on your network throughput and any throttling on the source side. Each factor adds planning, copy time or validation. Ask for a pilot on a representative sample before committing to a cutover date, because the pilot shows how long a full copy will take. Ask the quote to show milestones for discovery, pilot, full copy, delta sync, user acceptance testing and cutover, each with an owner and a sign-off.

What does the migration need from our internal team?

Your team needs named people in three roles before the first copy starts: data owners, directory owners and sharing approvers.

  • Data owners decide which sites, libraries and folders move, what gets archived or left behind, and who signs off each restore test.
  • Directory owners maintain the user and group source, confirm account mapping and own the sign-in integration.
  • Sharing approvers review internal and external links, decide which shares are recreated, and retire links that no longer have a business reason.

Plan for these people to commit time during the pilot and cutover, not only at kickoff. In the quote, ask which roles DeployOpen covers, which the client covers, and how much time each role needs under the written scope.

Can our internal IT team migrate OneDrive to Nextcloud alone?

Possibly, if your team already runs Linux servers, a PHP application stack and a supported database, and has capacity for both the migration and recurring upgrades. Nextcloud 35 recommends MariaDB 11.8 or PostgreSQL 18, PHP 8.5 and Apache 2.4 or nginx with php-fpm, so confirm those skills before you commit. Upgrades are the ongoing test: Nextcloud does not allow skipping major releases, so each upgrade moves one major version, starts with a backup, and waits until third-party apps are confirmed compatible. Teams often underestimate the sharing model, sign-in integration and cutover testing. A split model is also possible: your team operates the platform while DeployOpen plans, implements, tests, hardens, backs up and documents it, usually under a fixed-scope agreement. Confirm the split in writing before work begins.

Is Nextcloud Enterprise required for a OneDrive migration?

No. Nextcloud Hub is licensed under the AGPL and is free to self-host, so the migration can run on the community software. Enterprise is a paid option from Nextcloud GmbH for support, maintenance and additional features. It is sold in Standard, Premium and Ultimate tiers with a 100-user minimum. Standard includes one year of maintenance. Premium adds a maintenance lifecycle of five or more years, extended support hours and clustered instance support. Ultimate adds support up to 24/7 with response times down to one hour. Choose a tier if your policy requires a vendor support contract, a longer patch horizon or clustered deployment. Otherwise, confirm with your security team whether community support and a new major release every four months, each supported for one year, meet your requirements. Confirm current terms on Nextcloud's pricing page.

Will Word, Excel and PowerPoint files look the same in Nextcloud?

Layout fidelity cannot be promised in advance, so test it with your own files before approving cutover. Collabora Online, which integrates with Nextcloud, edits ODF and Microsoft formats including .docx, .xlsx and .pptx. Simple documents are usually the easiest to verify. Differences tend to appear in complex layouts, embedded objects, fonts that are not installed on the server, tracked changes, comments, macros and advanced spreadsheet features such as charts. Build a test set from actual documents from each department, open and save them in both environments, and have document owners sign off on the results. Ask the quote to include the test set, the fixes and a retest. The Collabora Online product page describes the editing options.

How DeployOpen scopes, runs and supports the move to Nextcloud

DeployOpen plans and implements the move from Microsoft OneDrive to Nextcloud inside your own infrastructure, with scope, deliverables and timelines agreed in writing before work starts. The work covers the data transfer, configuration, testing and documentation that your compliance and security teams need to review. Ongoing upgrades, backups and support can continue under a retainer after cutover.

How we scope

  • The written scope covers which OneDrive libraries, shared links and user groups move to Nextcloud.
  • We map each sharing permission and retention need to a Nextcloud setting before any data moves.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.

How we build

  • Nextcloud is deployed in your cloud account, data center or air-gapped network on the stack its release requires.
  • Collabora Online can be connected for editing .docx, .xlsx and .pptx files if the scope includes it.
  • Migration scripts and test copies run in staging first, with checks for file counts, sizes and sharing links.

How we hand over

  • Runbooks cover the upgrade path, backup and restore steps, and day-to-day admin tasks for your team.
  • Documentation includes the access control, audit logging and data handling settings your compliance team will review.
  • Cutover includes a rollback plan and a written record of what moved, what changed and what remains open.

How we support

  • Upgrades follow Nextcloud's rule of one major version at a time, with a backup taken before every step.
  • Third-party apps stay disabled during upgrades until each one is confirmed compatible with the new release.
  • Ongoing support, upgrades and continuous testing are available as a retainer after cutover, scoped in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.