

In the admin center, go to the Users > Active users page. To preserve a former user's OneDrive for Business documents you first access their OneDrive site and then move the files. Before you delete the account, you should move the content from their OneDrive to another location. If you don't restore a user account within 30 days their OneDrive content is deleted.

If you delete their account you have 30 days to access a former user’s OneDrive data. If you remove a user's license but don't delete the account, you retain access to the content in the user's OneDrive site. Access a former user's OneDrive documents When an employee leaves your organization, you probably want to access their data (documents and emails) and either review it, back it up, or transfer ownership to a new employee.
