Skip to content

Add SPE tenant file version policy cmdlet docs and update SPO application docs - #1214

Open
Priyanshu Gupta (guptapriyan2001) wants to merge 3 commits into
MicrosoftDocs:mainfrom
guptapriyan2001:user/guptapriyan/spe-file-version-policy-cmdlets
Open

Priyanshu Gupta (guptapriyan2001) wants to merge 3 commits into
MicrosoftDocs:mainfrom
guptapriyan2001:user/guptapriyan/spe-file-version-policy-cmdlets

Conversation

@guptapriyan2001

Copy link
Copy Markdown

Summary

Adds reference documentation for the new SharePoint Embedded (SPE) tenant file version policy cmdlets, and updates existing SPO application cmdlet docs for new version-policy parameters/output.

New SPE cmdlet pages

  • New-SPETenantApplyFileVersionPolicyJob
  • Get-SPETenantApplyFileVersionPolicyJobProgress
  • Remove-SPETenantApplyFileVersionPolicyJob
  • Get-SPETenantApplyFileVersionPolicyJobImpact

Updated SPO application pages

  • Set-SPOApplication - documented new version-policy parameters (-EnableAutoExpirationVersionTrim, -ExpireVersionsAfterDays, -FileTypesForVersionExpiration, -RemoveVersionExpirationFileTypeOverride) and validation rules
  • Get-SPOApplication - documented new VersionPolicy output object

Modeled on the format established in PR #620.

Draft: opening for review before publishing.

guptapriyan and others added 2 commits September 14, 2026 21:03
Documents the SharePoint Embedded (SPE) file version policy cmdlets:
New/Get/Remove-SPETenantApplyFileVersionPolicyJob and
Get-SPETenantApplyFileVersionPolicyJobImpact.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 47a2d41a-837e-4772-9d2b-3c1ac0455a46
…cation

Adds EnableAutoExpirationVersionTrim, ExpireVersionsAfterDays,
FileTypesForVersionExpiration, and RemoveVersionExpirationFileTypeOverride to
Set-SPOApplication, and documents the new VersionPolicy output on
Get-SPOApplication.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 47a2d41a-837e-4772-9d2b-3c1ac0455a46
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9e11734:

⚠️ Validation status: warnings

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ⚠️Warning View (sharepoint-ps) Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPETenantApplyFileVersionPolicyJobImpact.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPETenantApplyFileVersionPolicyJobProgress.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPETenantApplyFileVersionPolicyJob.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPETenantApplyFileVersionPolicyJob.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md ✅Succeeded View (sharepoint-ps)

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

  • Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule] Inconsistent cmdlets found in module: Microsoft.Online.SharePoint.PowerShell. 4 cmdlets in the module folder but not listed in the module file: Get-SPETenantApplyFileVersionPolicyJobImpact, Get-SPETenantApplyFileVersionPolicyJobProgress, New-SPETenantApplyFileVersionPolicyJob, Remove-SPETenantApplyFileVersionPolicyJob.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@guptapriyan2001

Copy link
Copy Markdown
Author

@guptapriyan2001

Copy link
Copy Markdown
Author

@guptapriyan2001
Priyanshu Gupta (guptapriyan2001) marked this pull request as ready for review September 14, 2026 16:59
@github-actions

Copy link
Copy Markdown

sachin-lalwani
You've been added as a reviewer to this pull request because you're listed as a Content Lead for the product area or feature covered by one or more articles in this PR.

Before this PR can be merged, a Content Lead needs to add the Sign off label to it. Only one of the listed reviewers needs to add the Sign off label. Before you sign off a PR, confirm the following:

  • The PR is not in draft state. When the changes in this PR are ready to be published, select the Ready to merge button at the bottom of the page.
  • Article content has been checked for technical accuracy.
  • There are no errors or warnings in build validation.
  • There are no severity 1 or 2 PoliCheck issues.
  • All required PR checks at the bottom of the PR are passing.

After you've confirmed the above, do the following to sign off:

  1. Select the gear next to Labels.
  2. Select Sign off from the label list.
  3. Click away from the label list.

image

After you've signed off, our operations (PubOps) team will review the PR for issues that may impact formatting and the customer experience. If any changes are needed, they will return
the PR to the submitter with required changes. After they've completed those changes, you need to sign off again.

When the PR passes PubOps review, they'll merge the PR. If the PR is merged into the main branch, changes will go live within the next couple hours.

If you think you were incorrectly added as a reviewer, have questions about this process, or need help signing off on this PR, post a message to https://aka.ms/tcphelp.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 0fe1728:

⚠️ Validation status: warnings

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ⚠️Warning View (sharepoint-ps) Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPETenantApplyFileVersionPolicyJobImpact.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPETenantApplyFileVersionPolicyJobProgress.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPETenantApplyFileVersionPolicyJob.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPETenantApplyFileVersionPolicyJob.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOApplication.md ✅Succeeded View (sharepoint-ps)

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

  • Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule] Inconsistent cmdlets found in module: Microsoft.Online.SharePoint.PowerShell. 4 cmdlets in the module folder but not listed in the module file: Get-SPETenantApplyFileVersionPolicyJobImpact, Get-SPETenantApplyFileVersionPolicyJobProgress, New-SPETenantApplyFileVersionPolicyJob, Remove-SPETenantApplyFileVersionPolicyJob.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants