How to Apply OneDrive Version Settings to a Single User or Site
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.

- 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.
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.
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.
Open the SharePoint Online Management Shell and run 'Get-SPOTenant' to review your current tenant-wide versioning policies and establish a baseline.
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.
If a community developer provides a custom script, always test it in a non-production developer tenant before running it against live user accounts.

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. Download and install WPS Office: Get the free suite from the official WPS website and complete the lightweight installation.
- 2. Save files to WPS Cloud: Use the built-in WPS Cloud service to automatically sync and store your document versions safely.
- 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.

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.




