Skip to content
Lucerna Law

Document management and automation

OneDrive for Law Firms: Settings That Protect Client Files

By Published 10 min read

OneDrive for law firms is best treated as each lawyer's own workspace, with the matter record kept in SharePoint or a document management system. What the firm sets in OneDrive decides three things: whether a laptop's files are backed up, what happens to a departing lawyer's files, and how far a lawyer can share outside the firm.

Should matter files live in OneDrive for law firms, or in SharePoint?

The record of a matter belongs in a shared location the firm controls, such as a SharePoint site or a legal DMS. OneDrive suits a lawyer's drafts and working files. A OneDrive is tied to one user account, and Microsoft's deletion process for that account is what decides how long its files last after the lawyer leaves.

Microsoft's overview of OneDrive in Microsoft 365 presents it as file storage for each user, reached through the web, the Windows and Mac sync apps and the mobile apps. It also describes features that pull matter files into OneDrive without anyone deciding to put them there. OneDrive integrates with Outlook so that OneDrive files can be shared in a way that looks like an email attachment, with storage of those attachments centralised in OneDrive. A lawyer who sends a draft to a client this way may have created a sharing link to a file in their own OneDrive rather than sent a copy.

That is why a firm should decide early where each kind of file goes. The guide to SharePoint legal document management covers building matter sites with required metadata, Document IDs and information barriers. OneDrive then holds what is personal to a lawyer: research notes, early drafts, the copy of a template being adapted. Anything another lawyer may need after this one leaves is better saved to the matter site from the start.

Kind of fileOneDriveMatter site or DMS
Early drafts and personal notesYesOnce shared with the team
Filed pleadings, executed agreementsNoYes
Client documents receivedNoYes
Files sent as Outlook cloud attachmentsLands here by defaultBetter sent from the matter site

Known Folder Move: OneDrive as the backup for a lawyer's Desktop and Documents

Known Folder Move redirects Windows folders such as Desktop and Documents into OneDrive. Lawyers keep saving where they always have, and those files are then backed up in the cloud. For a firm whose lawyers save drafts to the desktop, it is the setting that turns a lost laptop from a data loss into an inconvenience.

Microsoft's page on how to redirect and move Windows known folders to OneDrive lists the folders as Desktop, Documents, Pictures, Screenshots and Camera Roll. It gives two advantages: users carry on with familiar folders, and saving to OneDrive backs up their data and makes it reachable from any device. Microsoft recommends the move for enterprises and large organizations, and says small and medium businesses may also find it useful but need some experience configuring policies.

The page describes four policies that control the feature, set through Group Policy, Intune administrative templates or registry settings:

  1. Prompt users to move Windows known folders to OneDrive. Users get a call to action and a reminder until the folders move.
  2. Silently move Windows known folders to OneDrive. The folders move with no user interaction, optionally with a notice afterwards.
  3. Prevent users from turning off Known Folder Move. Users must keep the folders directed to OneDrive.
  4. Prevent users from moving their Windows known folders to OneDrive. The opposite choice, for firms that want the folders left alone.

Two warnings on the page matter to a firm with lateral hires. If a user's folders are already redirected to OneDrive in a different organization, redirecting them to the firm's OneDrive creates new, empty folders, and the user has to move files across by hand. And the Known Folder Move policies do not work where Windows Folder Redirection already sends those folders elsewhere; the page gives the steps to switch over.

Known Folder Move also means client files on the desktop now sit in the lawyer's OneDrive, subject to its sharing settings and its deletion process. The next two sections deal with both.

What happens to a departing lawyer's OneDrive?

By default, when the lawyer's account is deleted, their manager is given access to the OneDrive and has 30 days to move or download what should be kept. After that the OneDrive goes to a recycle bin for 93 days. Merely blocking sign-in or removing the licence does not start this clock.

Microsoft's page on OneDrive retention and deletion sets out the sequence. A user is deleted in the Microsoft 365 admin center or through directory synchronisation. A cleanup job marks the OneDrive for deletion. If a manager is set for the user, the manager receives an email saying they have access and that the OneDrive will be deleted at the end of the retention period. If no manager is set but a secondary owner was named in the SharePoint admin center, that person receives the email instead. Seven days before the period ends, a reminder goes out. The OneDrive then moves to the site collection recycle bin for 93 days, during which shared content is no longer reachable, and restoring it needs PowerShell.

The page adds three points a firm should build into its offboarding checklist:

  • Name a secondary owner. If access delegation is disabled, or neither a manager nor a secondary owner is set, no one gets automatic access and no one is warned that the OneDrive will be deleted.
  • Know what starts the clock. The retention period begins when the account is deleted from Microsoft Entra ID. Separately, unlicensed OneDrive accounts are archived automatically on their 93rd unlicensed day.
  • Holds and retention policies win. Microsoft 365 retention policies and labels take precedence over the standard deletion process, and a OneDrive placed on an eDiscovery hold is not deleted until the hold is removed. The page also warns that the recycle bin is not indexed, so an eDiscovery hold cannot locate content there.

The page says managers or designated secondary users can move files from a departing employee's OneDrive to their own OneDrive or to a SharePoint site. For a law firm, the second destination is the right one: the matter site keeps the files with the matter. How long the firm then keeps them is a records question, covered in the guide to law firm records management. Holds that stop deletion are set out in system holds in Microsoft 365.

OneDrive sharing limits tied to the SharePoint organization setting

OneDrive's external sharing level is set alongside SharePoint's in the SharePoint admin center, and Microsoft says the OneDrive setting can be more restrictive than the SharePoint setting, but not more permissive. A firm can therefore allow guest sharing from matter sites while keeping personal OneDrives to people inside the firm. The reverse, a OneDrive looser than SharePoint, is not available.

Microsoft's page on how to manage sharing settings for SharePoint and OneDrive describes the levels, from links anyone can open without signing in to sharing only within the organization. Several of its details bear on a lawyer's OneDrive:

  • Anyone links can be limited. Where Anyone links are allowed, an administrator can require them to expire within a set number of days and can restrict them to view permission. If the maximum is shortened, existing links are updated to the shorter limit.
  • File requests depend on Anyone. The page says file requests require OneDrive to be set to Anyone with edit permission for Anyone links. Any stricter OneDrive setting disables them.
  • Domains can be allowed or blocked. The organization-level setting can list up to 5,000 domains, which affects every SharePoint site and every user's OneDrive.
  • Guest access can expire. Administrators can set a number of days after which guest access to a site or OneDrive ends automatically.
  • Turning sharing off is not permanent revocation. If external sharing is turned off and later turned back on, guests regain access. When sharing is restricted, guests typically lose access within one hour.

The overview page adds an Access control setting that limits access from unmanaged devices or by network location, which is how a firm keeps client files off a personal home computer. Choosing link types for matter sites, and why a separate exchange site per matter helps, is covered in sharing settings on a SharePoint matter site.

Recovering OneDrive files: version history, recycle bin and Files Restore

OneDrive has three recovery tools for three sizes of mistake. Version history restores one file to an earlier state. The recycle bin returns deleted files. Files Restore rolls a whole OneDrive back to a point in the last 30 days, which is the tool for mass deletion or ransomware encryption.

Microsoft's support page on how to restore a previous version of a file stored in OneDrive says the restored version becomes the current version and the previous current version moves down the list. It also says that for work or school accounts an administrator may have turned versioning off, so a firm should confirm it is on. The overview page says deleted files in work or school accounts are purged from the recycle bin after 93 days unless configured otherwise.

Microsoft's page on how to restore your OneDrive describes Files Restore. The user picks a date, or a custom date and time, and reviews a daily activity chart and an activity feed covering the last 30 days. When the restore runs, it undoes every selected activity, and any files or folders created after the restore point are sent to the recycle bin rather than lost. If automatic ransomware detection triggered the restore, a suggested date is filled in. A restore can itself be undone by running Restore again. A file permanently deleted from the recycle bin can never be recovered.

For a lawyer, the useful habit is to reach for the smallest tool first: version history for a bad edit to a brief, the recycle bin for a deleted folder, Files Restore only when many files changed at once.

Synced OneDrive files on firm laptops

The sync app puts OneDrive files in File Explorer, and Files On-Demand downloads each one only when it is opened. Administrators can also limit which computers may sync. A firm that wants client files only on firm-managed machines can restrict which computers are allowed to sync.

Microsoft's overview says Files On-Demand lets users view, search and work with OneDrive files from File Explorer without downloading all of them. Files not yet downloaded show a cloud icon. A user can mark a file "Always keep on this device" to work offline, or "Free up space" to remove the local copy. A laptop therefore holds whichever client files its user has opened or pinned, not necessarily the whole OneDrive.

Microsoft's page on how to allow syncing only on computers joined to specific domains gives the control for the rest. In the SharePoint admin center, an administrator enters the GUID of each Active Directory domain whose computers may sync. The setting applies to SharePoint sites and OneDrive. The page says it applies only to Active Directory domains, not Microsoft Entra domains, and points firms with Entra-joined devices to a Conditional Access policy instead. The overview page also lists blocking uploads of particular file types under the same Sync settings.

A OneDrive configuration list for a law firm

The settings in this post reduce to a list a firm can review with whoever administers its Microsoft 365 tenant. Each item comes from one of the Microsoft pages cited above, and each is worth testing as an ordinary lawyer once it is set.

  • Write down which files belong in OneDrive and which go straight to the matter site.
  • Turn on Known Folder Move for Desktop and Documents, and prevent users from turning it off.
  • Confirm access delegation is on and name a secondary owner for departing users' OneDrives.
  • Add "move matter files from OneDrive to the matter site" to the offboarding checklist, inside the retention period.
  • Set OneDrive external sharing no looser than the firm needs, and require Anyone links to expire if they are allowed at all.
  • Confirm versioning is on, and show lawyers where Files Restore is.
  • Limit sync to firm-managed computers by domain or Conditional Access.

A file uploaded from OneDrive to an AI tool leaves OneDrive's retention and deletion rules behind. In Lucerna Law, a firm's owner can set a retention period, from 90 days to 10 years, for closed matters, and a matter on legal hold cannot be deleted; the answers on the homepage describe both. The same questions for a firm that keeps its files in Dropbox are the subject of Dropbox for law firms.