OneDrive File Issues

How to Apply OneDrive Version Settings to a Single User or Site

Phi Hung VoPhi Hung Vo Oct 13, 2026 868 views

Question details

The user wants to know if they can change the minimum version requirement setting for a specific personal OneDrive site rather than applying it to the entire SharePoint tenant.

How to Apply OneDrive Version Settings to a Single User or Site
Product
OneDrive and SharePoint Online
Device & OS
not provided
Scenario
Attempting to use PowerShell commands (such as Set-SPOTenant) to configure or restrict version history settings for an isolated, individual user's OneDrive site.
Observed behavior
The standard Set-SPOTenant -EnableMinimumVersionRequirement command applies to the entire tenant globally, and out-of-the-box PowerShell cmdlets do not offer a parameter to target a single personal site.
Before you start

Ensure you have SharePoint Administrator privileges and access to the SharePoint Online Management Shell to check your current tenant-level configurations before attempting any changes.

Solution 1Recommended

Acknowledge Standard Limitations and Seek Custom Development

Standard SharePoint PowerShell commands do not support setting minimum version requirements at the individual site level, requiring alternative developer approaches.

The Set-SPOTenant -EnableMinimumVersionRequirement command is explicitly designed to enforce versioning policies at the tenant level. Currently, Microsoft does not provide an out-of-the-box PowerShell cmdlet to isolate this specific versioning setting for a single OneDrive personal site.

To achieve site-level granularity, you must rely on custom development using the SharePoint Client-Side Object Model (CSOM) or Microsoft Graph API, provided the underlying tenant policy does not strictly override it.

1
Verify current tenant settings

Open the SharePoint Online Management Shell and run 'Get-SPOTenant' to review your current tenant-wide versioning policies and establish a baseline.

2
Consult Microsoft Q&A for custom scripts

Navigate to the Microsoft Q&A platform and post your specific site-level requirement using the 'SharePoint Development' tag to request help with a custom API or CSOM script.

3
Test custom approaches safely

If a community developer provides a custom script, always test it in a non-production developer tenant before running it against live user accounts.

Acknowledge Standard Limitations and Seek Custom Development
Developer Support Required: Any workaround for site-level version settings is considered custom development and may not be officially supported by standard Microsoft support channels. Always verify that proposed methods are supported for your environment.
Free Microsoft Office alternative

Manage Your Documents Effectively with WPS Office

While navigating complex Microsoft 365 tenant settings can be frustrating for administrators, managing your daily documents shouldn't be. WPS Office offers a lightweight, highly compatible alternative for creating, editing, and managing your files with straightforward version history via WPS Cloud.

  1. 1. Download and install WPS Office: Get the free suite from the official WPS website and complete the lightweight installation.
  2. 2. Save files to WPS Cloud: Use the built-in WPS Cloud service to automatically sync and store your document versions safely.
  3. 3. Access version history easily: Right-click your cloud-stored files directly within the WPS Office interface to easily view and restore previous document versions.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Built-in cloud storage options to manage file versions seamlessly without complex admin PowerShell commands.Lightweight installation with a familiar, user-friendly interface that requires zero learning curve.Free to download and use for all your essential productivity needs.
microsoft office alternative - wps office

Frequently Asked Questions

Can I disable versioning for a specific OneDrive site?

While tenant-wide settings enforce minimum version requirements, you can manually adjust versioning limits within the library settings of a specific OneDrive site by navigating to Settings > Site Contents > Storage Metrics > Versioning Settings, though you generally cannot completely bypass strict tenant policies.

What does the Set-SPOTenant -EnableMinimumVersionRequirement command do?

This PowerShell command enforces a minimum number of file versions to be retained across all SharePoint and OneDrive sites within your entire Microsoft 365 tenant, effectively preventing users or admins from completely disabling version history.

Where is the best place to get help for custom SharePoint scripts?

The best place to seek help for custom SharePoint Online scripts or API workarounds is the official Microsoft Q&A platform. Be sure to apply the 'SharePoint Development' tag to ensure your question reaches developers who specialize in custom solutions.