Restore a OneDrive URL After Rehiring an Employee
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.

- 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.
Ensure you have global administrator or SharePoint administrator privileges in Microsoft 365 to manage user accounts and modify Active Directory synchronizations.
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.
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.
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.
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.
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.

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. Download the software: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install and launch: Run the installer and follow the on-screen prompts. Once installed, launch WPS Office to access the suite.
- 3. Sign in for cloud sync: Create a free WPS account to instantly enable cross-device document synchronization and 1GB of free cloud storage.

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.




