Remove Old OneDrive Accounts and Recent Files from Office Apps
Question details
Remove previously used OneDrive for Business accounts and old file entries from Office apps on a new computer.

- Product
- Microsoft Office and OneDrive for Business
- Device & OS
- not provided
- Scenario
- Previously used work accounts and files appear in Office apps and Teams even though the accounts are no longer actively signed in.
- Observed behavior
- Old OneDrive locations and recent files remain visible in the apps.
Identify the OneDrive or SharePoint locations you no longer use. Open an Office app and check File > Account to see which connected services are listed.
Remove unwanted OneDrive and SharePoint connected services
Use Office account settings to remove old cloud locations from the app.
Open an Office app such as Word or Excel, then select File > Account.
Under Connected Services, locate the OneDrive for Business or SharePoint service associated with the old account.
Select Remove next to the unwanted service. Repeat for any other outdated locations, then check the app's Open or Save locations.

Remove old files from the Office recent list
Use this option when individual files still appear after the connected service is removed.
Work with Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents. Its format compatibility makes it easier to move existing files into a new workflow. It does not remove connected services from Microsoft Office or Teams.

Frequently Asked Questions
Where do I remove an old OneDrive connection in Office?
In an Office app, go to File > Account > Connected Services and select Remove next to the unwanted OneDrive or SharePoint service.
Will removing a recent file delete it from OneDrive?
No. In File > Open > Recent, right-clicking a file and choosing Remove from list clears the entry rather than deleting the file.
Why do old files still appear after I remove a connected service?
The recent-file list can retain entries separately from connected services. Open File > Open > Recent and remove any entries that remain.
Does removing an Office connected service also remove the account from Teams?
Not necessarily. Office connected services and Teams account settings can be managed separately, so check the account settings in Teams if the old account still appears there.




