A Microsoft file hosting and synchronization service.
Good day @Manasa Daitha, and I appreciate the clear explanation of your concern.
When the UPN changes, the OneDrive URL also changes accordingly. As a result, previously generated sharing links that reference the old URL will no longer function, including links already shared with colleagues.
Here are the steps you can follow:
Step 1: Reshare the content
Resharing is required to restore access through links. This ensures that recipients receive links that point to the updated OneDrive location.
Go to OneDrive on the web > Locate the file or folder > Select the item > Click Share.
Choose the appropriate option such as specific people or copy link.
Send the newly generated link to the recipients.
Step 2: Reduce effort by sharing folders instead of individual files
Since you mentioned there are over 50 files, sharing each file individually may be time consuming. A more efficient approach is to organize the files into one or a few folders and share those folders instead.
In OneDrive, create a new folder.
Move related files into that folder.
Select the folder > Click Share > Generate a single link and share it with the required users.
This allows recipients to access all relevant files using just one link, reducing the need to manage multiple sharing links.
Step 3: Optional cleanup of old links
If needed, old or invalid sharing links can be removed to avoid confusion for users.
Select the file or folder > Open the Details pane > Select Manage access.
Review existing links or permissions > Remove unwanted or outdated links.
Notes:
It can take several hours for a UPN change to fully propagate across Microsoft 365 services. During this time, users may temporarily experience sync or access issues.
However, previously generated sharing links will not automatically recover and must be replaced with new ones.
Additional information is available in the following resource: How UPN changes affect OneDrive - SharePoint in Microsoft 365 | Microsoft Learn
As community moderators, we kindly ask for your understanding that our access to internal development details is limited. Our primary role is to guide users toward the appropriate resources and support channels. While we may not have visibility into performing deeper backend analysis, we’ll continue doing our best to support you within the scope of our responsibilities.
I hope this information is helpful. If you have any questions or need further support, please don’t hesitate to reach out at any time.
Thank you for your patience and understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.