Please follow the below instructions to resync your OneDrive and SharePoint files to your computer.
1. Unlink the old account
Click the OneDrive cloud icon in the taskbar, then the gear icon, then Settings.
Open the Account tab and find the old account.
Click Unlink this PC, then confirm.
Before you delete anything locally, check that the old OneDrive folder has no files that never made it to the new account. If there are, copy them somewhere temporary first.
Mac: click the OneDrive icon in the menu bar, then Settings, then Account to unlink. The sign in and Sync steps are the same.
2. Sign in with the new account
Click the OneDrive icon, or search for OneDrive in the Start menu, and choose Sign in.
Enter the new work email address and sign in, completing any MFA prompt.
Accept the default OneDrive folder location, or choose another. It will be named after the organisation of the new account.
Leave the default folder backup choices as they are unless you need otherwise.
3. Re-add the SharePoint libraries
While signed in to the browser with the new account, open the SharePoint site and go to the document library. The old links won’t work, so ask for the new site address if you don’t have it.
Click Sync in the library toolbar.
Click Open when the browser asks to open Microsoft OneDrive.
The library appears in File Explorer under the new account’s organisation name.
4. If it keeps signing in as the old account
Go to Windows Settings, then Accounts, then Access work or school, and disconnect the old account.
Sign out of Office apps (File, then Account, then Sign out), then sign in again with the new account.
Open a private browser window to sign in to SharePoint, so it doesn’t reuse the old session.