The OneDrive to Nextcloud user mapping defines which Nextcloud user account will receive the personal files from each Microsoft 365 OneDrive user during migration. Because OneDrive is tied to a single user identity in M365 while Nextcloud uses its own user directory, Content Governance must know exactly which source user maps to which destination user — and it must be able to authenticate as that Nextcloud user in order to upload files on their behalf with full version history and metadata preserved.
Each row in the grid represents one user-to-user mapping and consists of three columns:
- M365 user name (UPN) — the source OneDrive owner in the connected Microsoft 365 tenant.
- Nextcloud user name — the destination Nextcloud account that will receive the migrated files.
- Nextcloud App Password — the application password used by Content Governance to authenticate against Nextcloud as that user.
Populating the grid
The grid is normally built by using the two import buttons in sequence:
- Click Import M365 OneDrive users. Content Governance connects to the configured Microsoft 365 tenant and adds one row for every OneDrive user found. Users whose UPN is already present in the grid are skipped, so the button is safe to re-run after tenant changes (for example when new users have been onboarded).
- Click Import Nextcloud users. Content Governance fetches all users from the connected Nextcloud instance and, for each existing row, matches the Nextcloud user to the M365 user by e-mail address. When a match is found the Nextcloud user column is filled in automatically.
- Add the Nextcloud App Password for each row manually. App passwords cannot be retrieved through the Nextcloud API and must be generated per user inside Nextcloud. See Generating Nextcloud app passwords for the step-by-step procedure.
Bulk editing via Excel
Validating the mapping
Clicking Validate selected mapping runs two checks against each selected row:
- The M365 OneDrive user exists and the OneDrive site is reachable in the source tenant.
- The Nextcloud user can actually be logged in with the supplied app password (an authenticated WebDAV call is performed against Nextcloud).
A green indicator on the row means both checks passed; a red indicator means the row will fail at migration time and must be corrected first.

