OneDrive File Issues

Restore a OneDrive URL After Rehiring an Employee

Nimra MalikNimra Malik Oct 26, 2026 868 views

Question details

Administrators need to restore a returning employee's original OneDrive site, as simply recreating the account with the same UPN leads to access errors or duplicate URLs.

Restore a OneDrive URL After Rehiring an Employee
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
A former employee is rehired, and the IT admin attempts to reinstate their previous OneDrive data and site access.
Observed behavior
Recreating the user account results in a Principal Unique Identifier (PUID) mismatch, generating a new URL (often ending in 1) or triggering access-denied errors for the original site.
Before you start

Ensure you have global administrator or SharePoint administrator privileges in Microsoft 365 to manage user accounts and modify Active Directory synchronizations.

Solution 1Recommended

Restore the Original User Account to Fix PUID Mismatch

To prevent a PUID mismatch, you must recover the originally deleted user account instead of creating a new profile with the same username.

When an account is recreated rather than restored, Microsoft 365 assigns it a new unique identifier (PUID). Because the old OneDrive site is tied to the original PUID, the new account is denied access or given a duplicate site URL.

Working directly within the Microsoft 365 admin center allows you to restore the underlying identity and correctly link the permissions back to the original OneDrive repository.

1
Delete the newly created account

Log in to the Microsoft 365 admin center. Navigate to 'Users' > 'Active users', locate the recently created duplicate account for the rehired employee, and delete it to prevent further conflicts.

2
Restore the original user

Go to 'Users' > 'Deleted users'. Find the original account of the returning employee, select it, and click 'Restore user' to recover the previous identity and its PUID.

3
Verify directory synchronization

If you are using hybrid Active Directory, ensure the restored account is correctly synchronized with the local organizational unit and that the AD Connect cycle completes successfully.

4
Confirm OneDrive site permissions

Navigate to the SharePoint admin center > 'More features' > 'User profiles'. Verify the user's original OneDrive URL (ensuring it does not end in =1) and check that the restored account is listed as the Site Collection Administrator.

Restore the Original User Account to Fix PUID Mismatch
Note on Account Retention: Microsoft 365 only retains deleted user accounts and their associated OneDrive data for 30 days by default. If the account was deleted longer than 30 days ago, it cannot be restored natively, and data recovery may require third-party backups.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

While resolving enterprise OneDrive account syncing issues requires complex Microsoft 365 admin configurations, you can rely on WPS Office for a lightweight, highly compatible alternative to Microsoft Office. It offers a familiar interface, seamless cloud integration, and robust local file management—free from complex administrative restrictions.

  1. 1. Download the software: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install and launch: Run the installer and follow the on-screen prompts. Once installed, launch WPS Office to access the suite.
  3. 3. Sign in for cloud sync: Create a free WPS account to instantly enable cross-device document synchronization and 1GB of free cloud storage.
Highly compatible with Microsoft Office formats including Word, Excel, and PowerPointBuilt-in WPS Cloud for reliable file syncing, backup, and collaborationLightweight application that runs smoothly on Windows, Mac, Linux, and mobile devicesA cost-effective, free alternative to expensive enterprise Office subscriptions
microsoft office alternative - wps office

Frequently Asked Questions

Why does the rehired employee's OneDrive URL end in '1'?

A OneDrive URL ending in '1' typically indicates a Principal Unique Identifier (PUID) mismatch. This happens when a new account is created with the same UPN as a previously deleted account, causing the system to generate a duplicate site profile instead of linking to the old one.

Can I manually grant the new account permissions to the old OneDrive?

Yes, an administrator can manually assign Site Collection Administrator rights to the new user account for the old OneDrive URL. However, this is a temporary workaround. Restoring the original account is the recommended best practice to avoid ongoing synchronization and permission conflicts.

How long do I have to restore a deleted user in Microsoft 365?

Microsoft 365 retains deleted user accounts and their associated OneDrive data for 30 days. If the account is restored within this retention window, the original OneDrive site and its contents remain intact and accessible.