Back to Blog
BlogArticle
Microsoft 365SharePoint Onlineversion controldocument versioningcheck-in check-outversion historyMicrosoft Purviewco-authoringMicrosoft 365

SharePoint Online Version Control & Document Versioning: Hướng Dẫn 2026

Hướng dẫn SharePoint Online version control: major/minor versions, check-in/check-out, version history, restore, retention policies. Tối ưu storage 2026.

P
PUPAM Tech Team
Content Writer
Updated: 2026-02-28
17 phút min read
NaN words

Hướng Dẫn SharePoint Online Version Control: Quản Lý Phiên Bản Tài Liệu Toàn Diện

SharePoint Online Version Control và Document Versioning Hình 1: Tổng quan hệ thống version control trong SharePoint Online — từ major/minor versions đến retention policies.

Version control trong SharePoint Online = tự động lưu mọi thay đổi, cho phép restore bất kỳ phiên bản nào. Không cần "Final_v2_FINAL_thật_sự_final.docx" — SharePoint giữ 1 file duy nhất với full version history. Admin cấu hình versioning qua SharePoint admin center, quản lý retention policies qua Microsoft Purview, và kiểm soát storage qua Microsoft 365 admin center.

Bài viết hướng dẫn chi tiết: major/minor versions, check-in/check-out, version limits, và best practices cho doanh nghiệp Việt Nam.

TL;DR: SharePoint Online version control lưu mọi thay đổi tự động — restore bất kỳ version nào trong seconds. Set max 100–200 major versions (thay default 500), enable auto-trim tiết kiệm 30–50% storage. Dùng co-authoring cho daily collaboration, check-out chỉ cho critical documents. Microsoft Purview retention policies đảm bảo compliance — versions không bị xóa trong retention period.

🚀 PUPAM triển khai SharePoint version control & document management cho doanh nghiệp Việt Nam — cấu hình versioning, retention policies, approval workflows, và storage optimization trong 1 tuần. Liên hệ tư vấn miễn phí


Major vs Minor Versions

Tính NăngMajor Versions (1.0, 2.0, 3.0)Minor Versions (1.1, 1.2, 1.3)
Khi nào tạoPublish/Check-inMỗi lần save
Ai xem đượcVisitors + Members + OwnersMembers + Owners only
Published?✅ Yes❌ No (draft)
Default ON?✅ (mọi library)❌ (phải enable riêng)
Auto-createSave as MajorAuto-save (co-authoring)
Max versions500 (default)500 (default)
Use caseOfficial releases, approved docsWork-in-progress, drafts

Version Numbering

Major only (default): 1.0 → 2.0 → 3.0 → 4.0 — mỗi save = new major version.

Major + Minor enabled: 0.1 → 0.2 → 0.3 → 1.0 (publish) → 1.1 → 1.2 → 2.0 (publish)

  • Minor (0.x): drafts, chỉ editors thấy
  • Major (x.0): published, everyone thấy

Workflow Ví Dụ

VersionHành ĐộngTrạng Thái
0.1Tạo draft đầu tiênDraft
0.2Edit thêm contentDraft
0.3Ready for reviewDraft
1.0Manager approve → PublishPublished
1.1Minor fixes (typo)Draft
1.2Update số liệuDraft
2.0Major revision → Re-publishPublished

Enable Minor Versions

  • Library settings → Versioning settings
  • "Create major and minor (draft) versions" = Yes
  • "Who should see draft items": Only users who can edit

Version History

Xem Version History

  1. Right-click file → Version history
  2. Hoặc: ⋯ (ellipsis) → Version history

Version history panel hiển thị:

CộtNội Dung
Version number1.0, 2.0, etc.
Modified date/timeThời gian chỉnh sửa
Modified byTên user
SizeFile size tại version đó
CommentsCheck-in comments

Actions per version: View (open read-only copy) · Restore (replace current) · Delete (remove specific version)

Compare Versions

Word documents:

  1. Version history → hover over version
  2. Click arrow → "Compare with current" hoặc "Compare with previous"
  3. Opens Word Compare → track changes view
  4. Xem: additions (green), deletions (red), moves

Non-Word files: view mỗi version side-by-side (manual compare) — Excel compare cells, PowerPoint compare slides.

Power Automate integration: Trigger "When file is modified" → Action: Get version history → compare → notify team khi someone changes critical doc.


Check-In / Check-Out

FeatureCheck-OutCheck-In
What happensFile locked for editingFile unlocked, version created
Others can edit?❌ No (read-only for others)✅ Yes
When to useCritical documents, prevent conflictsAfter editing is done
Co-authoring?❌ Disabled during checkout✅ Enabled after checkin
Required?Optional (library setting)Yes (if checked out)
Override?Site Owner can force check-inN/A

Check-Out Workflow

Enable per library: Library settings → Versioning settings → "Require documents to be checked out" = Yes

Quy trình:

  1. User clicks ⋯ → Check Out — file icon hiện green arrow (checked out)
  2. Other users: read-only + thấy "Checked out to: Nguyễn Văn A"
  3. User edits → saves
  4. User clicks ⋯ → Check In → nhập comment: "Updated Q3 revenue figures"
  5. Chọn: Major version (2.0) hoặc Minor version (1.1)
  6. File unlocked → available cho everyone

Discard & Override

  • Discard check-out: ⋯ → Discard Check Out → reverts về version trước check-out — tất cả changes bị MẤT
  • Admin override: nếu user quên check in / đi vắng → Site Owner: ⋯ → Check In (override)
  • PowerShell: Set-PnPFileCheckedIn -Url "/sites/docs/file.docx"

Version Limits & Storage Impact

SettingDefaultRecommendedImpact
Max major versions500100–200Fewer = less storage
Max minor versions50010–20Drafts hiếm khi cần 500 versions
Version trimmingAuto (new 2024)EnableAuto-delete old versions
Recycle bin retention93 daysDefaultDeleted versions recoverable

Storage Impact

Ví dụ: 10MB Word document, 500 versions

Tính ToánKết Quả
Worst case (no incremental)10MB × 500 = 5,000 MB = 5 GB
Actual (shredded storage)10MB + (500 × 0.2MB) = ~110 MB
Scale: 1,000 docs × 100 versions × 0.2MB~20 GB chỉ cho version history

SharePoint dùng shredded storage — chỉ lưu changed "shreds" (64KB blocks), không duplicate toàn bộ file.

Khuyến Nghị Tối Ưu Storage

  • Set max major versions: 100 (không cần default 500)
  • Set max minor versions: 10
  • Enable auto-trim (new feature 2024)
  • Monitor: SharePoint admin center → Active sites → Storage used

Auto Version History Limits (NEW 2024)

  • SharePoint admin center → Settings → Version history limits
  • "Automatic" mode: intelligently trims old versions — giữ nhiều versions gần đây, ít versions cũ
  • Expected: 30–50% storage savings trên version-heavy libraries

💡 Cần tối ưu storage SharePoint cho tổ chức? PUPAM hỗ trợ cấu hình version limits, auto-trim, retention policies — tiết kiệm 30–50% storage trong tuần đầu. Tìm hiểu thêm


Content Approval + Versioning

Content Approval = workflow layer trên versioning — kiểm soát ai được publish nội dung.

Enable: Library settings → Versioning settings → "Require content approval for submitted items" = Yes

Approval Statuses

StatusMô TảVersion Type
DraftAuthor đang workingMinor version
PendingĐã submit for approvalMinor version
ApprovedPublished → everyone thấyMajor version
RejectedSent back with commentsMinor version

Quy Trình

  1. Author saves draft (version 0.1, 0.2, 0.3)
  2. Author clicks "Submit for approval"
  3. Approver receives notification
  4. Approver: Approve → version trở thành 1.0 (published) — hoặc Reject → comments → back to author

Kết Hợp Power Automate

  • Trigger: "When item requires approval"
  • Action: Start approval → notify trong Teams
  • Approver: approve trực tiếp trong Teams/email
  • Auto-update status → publish major version
  • Audit trail trong Microsoft Purview

Retention Policies cho Versions

Microsoft Purview retention policies kiểm soát vòng đời versions — override manual deletion.

Các Scenario Phổ Biến

ScenarioCấu HìnhKết Quả
Compliance 7 nămPurview → Retention policies → Retain 7 years → then deleteMọi versions giữ 7 năm, kể cả user xóa
Auto-delete sau 2 nămPurview → Retain 2 years → then auto-deleteGiảm storage costs tự động
Legal holdPurview → eDiscovery → Create holdKHÔNG ai xóa được — litigation, regulatory investigation

Key Points

  • Retention policies override manual deletion — users nghĩ đã xóa nhưng Purview vẫn giữ
  • Preservation Hold Library: hidden library per site — admin only access, users không thấy
  • Microsoft Entra ID controls ai có quyền create/edit retention policies
  • Storage impact: Preservation Hold Library counts toward site storage quota

Co-Authoring & AutoSave

Requirements

  • File stored trong SharePoint hoặc OneDrive
  • Open trong Office for web hoặc Office desktop (M365 Apps)
  • NOT checked out (check-out disables co-authoring)
  • Office 2016: basic support only — recommend M365 Apps

Cách Hoạt Động

  • Multiple users open same file simultaneously → thấy colored cursors (ai đang edit ở đâu)
  • Changes sync real-time (web) hoặc mỗi vài giây (desktop)
  • AutoSave = ON — saves mỗi vài giây tự động

Version Creation với AutoSave

AutoSave KHÔNG tạo 1 version per save. SharePoint groups saves thành edit sessions:

TriggerTạo New Version
User đóng file (end of session)✅ Major version
Mỗi ~30 phút continuous editing✅ Major version
Manual "Save a copy"✅ Major version
AutoSave mỗi vài giây❌ Gộp vào session

Kết quả: 2 giờ editing ≈ 4–5 versions, không phải 200 versions.

Conflict Resolution

  • Real-time co-authoring: no conflicts (live merge)
  • Offline editing: "Conflicting changes" notification on sync
  • OneDrive sync hiện conflict files: "filename (conflict).docx" → user reviews và merges manually

Checklist Version Control Setup

  • Set max major versions 100–200 + max minor versions 10–20 per library
  • Enable auto version history limits (new 2024 feature) tại tenant level
  • Enable require check-out cho critical libraries (contracts, financial reports)
  • Enable content approval + Power Automate approval workflow cho policy libraries
  • Configure Microsoft Purview retention policies (compliance hold 7 năm)
  • Monitor storage usage: SharePoint admin center → Active sites → Storage breakdown
  • Train users: version history, restore, compare versions, check-in comments
  • Document versioning policy rõ ràng (khi nào major vs minor, naming conventions)

FAQ

Version history có giới hạn bao nhiêu versions?

Default 500 major versions — configurable từ 1 đến 50,000. SharePoint admin center → Settings → Default version history limits (tenant-wide). Per-library: Library settings → Versioning settings → max versions. Recommendation: 100–200 major versions cho hầu hết scenarios. New 2024 feature: "Automatic" mode — SharePoint tự trim versions thông minh (giữ nhiều versions gần đây, ít versions cũ). Admin monitor storage impact qua SharePoint admin center → Active sites. Microsoft Purview retention policies có thể override version deletion (compliance hold).

Restore version cũ có mất dữ liệu không?

Không mất — restore tạo thêm 1 version mới. Khi restore version 3.0 (trong khi current là version 8.0): SharePoint copy nội dung version 3.0 → tạo version 9.0. Version 8.0 vẫn còn trong history. Tất cả versions 1.0–8.0 preserved. User có thể restore lại version 8.0 nếu muốn. Restore process: Version history → hover over version → arrow → Restore → Confirm. Bulk restore (nhiều files): PowerShell PnP Restore-PnPFileVersion. Admin audit: Microsoft Purview audit log ghi nhận mọi restore event.

AutoSave tạo quá nhiều versions — làm sao control?

SharePoint batches AutoSave thành edit sessions — không 1 save = 1 version. AutoSave saves mỗi vài giây, nhưng SharePoint groups thành versions theo session logic: new version khi user đóng file, new version mỗi ~30 phút continuous editing, co-authoring sessions gộp changes. Kết quả: 2 giờ editing ≈ 4–5 versions, không phải 200 versions. Nếu vẫn quá nhiều: giảm max versions (100 thay 500), enable auto-trim (new 2024 feature). Admin monitor: SharePoint admin center → Active sites → Storage breakdown.

Check-out có cần thiết khi đã có co-authoring?

Không cần cho hầu hết documents — chỉ dùng cho critical files. Co-authoring (real-time edit cùng lúc) hiệu quả hơn check-out cho daily collaboration. Check-out chỉ cần khi: legal documents (cần 1 người chỉnh sửa tại 1 thời điểm), financial reports (tránh conflicting edits), regulated documents (audit trail strict). Best practice: disable check-out cho document libraries thông thường (project files, meeting notes), enable cho contract/policy/financial libraries. Microsoft Purview sensitivity labels có thể auto-require check-out cho labeled documents.

Version history và retention policy tương tác thế nào?

Retention policy wins — override manual deletion. Nếu Microsoft Purview retention policy set "Retain 7 years" cho site → user delete version → version moved to hidden Preservation Hold Library (not actually deleted). Admin và user không thể xóa versions trong retention period. Sau 7 năm → auto-delete. Legal hold (eDiscovery): infinite retention, không ai delete được. Complex scenario: retention policy 3 years + versioning limit 100 versions → SharePoint keeps max 100 visible, nhưng Purview giữ tất cả trong hidden library đủ 3 years.

Minor versions có cần thiết cho mọi library không?

Không — chỉ enable cho libraries cần publish control. Minor versions (0.1, 0.2...) tạo draft layer — chỉ editors thấy drafts, visitors chỉ thấy published major versions. Cần thiết khi: policy/procedure libraries (drafts cần approval trước khi publish), marketing content (review cycle trước khi public), regulated documents (audit trail cho draft → publish process). Không cần cho: project files, meeting notes, daily collaboration docs — major-only đủ dùng. Enable: Library settings → Versioning → "Create major and minor versions". Storage impact: minor versions cũng tính vào storage quota — set max 10–20 minor versions.


Nguồn Tham Khảo


Hành Động Ngay Hôm Nay

  1. Kiểm tra ngay versioning settings tại SharePoint admin center → Settings → Version history limits — đặt max 100–200 major versions + enable auto-trim
  2. Cấu hình retention policies trong Microsoft Purview → Data lifecycle management — set "Retain 7 years" cho compliance sites, "Retain 2 years" cho general sites
  3. Enable content approval cho critical libraries (policies, contracts) — kết hợp Power Automate approval workflow notify qua Teams

Bài Liên Quan Nên Đọc


Kết Luận

Thành PhầnKhuyến NghịCông Cụ
Version LimitsMax 100–200 major, 10–20 minor, enable auto-trimSharePoint admin center
Document ControlCo-authoring cho daily work, check-out cho critical docsLibrary settings
ComplianceRetention policies 7 năm, content approval + Power AutomateMicrosoft Purview

Version control trong SharePoint Online = insurance cho documents. Mọi thay đổi tự động tracked, restore bất kỳ version nào trong seconds. Set max 100–200 major versions, enable auto-trim tiết kiệm 30–50% storage. Check-out chỉ cho critical documents — hầu hết dùng co-authoring hiệu quả hơn. Microsoft Purview retention policies đảm bảo compliance — versions không bị xóa trong retention period.

📧 Cần hỗ trợ SharePoint version control & document management? PUPAM tư vấn và triển khai versioning optimization, retention policies, approval workflows cho doanh nghiệp. Liên hệ hello@pupam.com

Was this article helpful?

Your feedback helps us improve our content.

Join the conversation

24 reactions

Share your thoughts, ask questions, or discuss this article with other readers.

Comments are coming soon. In the meantime, email us at hello@pupam.com with your thoughts.
P

PUPAM Tech Team

Passionate about email automation and helping teams work more efficiently. Follow me for more insights on productivity and modern communication tools.

Stay updated with our latest articles

Join thousands of readers who get our best content delivered directly to their inbox every week.

No spam. Unsubscribe anytime.

Ready to transform your email workflow?

Join thousands of teams already using Pupam to streamline their communications.

Get Started Free