How to Update a OneDrive Shortcut After Changing the Site URL
Question details
The user needs to refresh the OneDrive shortcut in the Microsoft 365 portal after the site URL was renamed.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- The OneDrive site URL was renamed (e.g., via PowerShell), but the Microsoft 365 portal continues to point to the old shortcut instead of the updated URL.
- Observed behavior
- The Microsoft 365 portal displays an outdated or broken OneDrive shortcut, even though the newly renamed OneDrive site functions properly when accessed directly.
Ensure you have Microsoft 365 administrative privileges to modify User Principal Names (UPN), and be prepared to allow up to 24 hours for backend syncing.
Temporarily Change the User Principal Name (UPN)
Use this method to force the Microsoft 365 portal to refresh the backend shortcut pointers after a OneDrive site rename.
Because OneDrive portal URLs are heavily tied to the user's principal name, changing the site URL alone (such as through PowerShell) may not automatically trigger a shortcut update in the Microsoft 365 portal. Temporarily toggling the UPN forces the system to recognize the changes and generate a new shortcut.
Sign in to the Microsoft 365 Admin Center using your administrator credentials.
Navigate to 'Users' > 'Active users' and click on the user whose OneDrive shortcut is not updating.
Temporarily change the user's User Principal Name (UPN) to a different, valid domain name or username prefix.
Allow up to 24 hours for the directory changes to fully propagate across Microsoft's backend systems.
Once the shortcut updates or the time has passed, change the UPN back to the original, intended name to finalize the setup.

Experience Seamless File Management with WPS Office
While resolving Microsoft 365 portal synchronization issues can be time-consuming, WPS Office offers a lightweight, free alternative with built-in cloud storage integration, ensuring your files are always accessible without complex administrative hurdles.

Frequently Asked Questions
Why isn't my OneDrive shortcut updating immediately after a site rename?
Microsoft 365 relies on backend synchronization processes that are closely tied to the User Principal Name (UPN). It can take up to 24 hours for naming changes to propagate to portal shortcuts.
Can I rename my OneDrive site URL without changing my username?
Yes, you can rename the site URL using PowerShell. However, to force the Microsoft 365 portal shortcut to reflect this change properly, you may still need to temporarily change and then revert the UPN to trigger a backend refresh.
Does WPS Office integrate with cloud storage services like OneDrive?
Yes, WPS Office seamlessly integrates with various cloud services, including WPS Cloud, Google Drive, and OneDrive, allowing you to access and sync your files directly from within the office suite interface.




