Skip to content

Deprecate SharePoint Syntex cmdlets and remove related functionality - #5496

Merged
gautamdsheth merged 2 commits into
devfrom
fix/syntex-cmdlets
Oct 27, 2026
Merged

gautamdsheth merged 2 commits into
devfrom
fix/syntex-cmdlets

Conversation

@gautamdsheth

Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes NA

What is in this Pull Request ?

Related to :

pnp/pnpcore#1875

Removes syntex support as it will be removed by PnP Core and SPO

Copilot AI balanced review requested due to automatic review settings October 26, 2026 19:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The warning-only cmdlets still execute inherited SharePoint authentication, which can issue requests or fail before their warnings.

1 open issue
What changed in this PR

Retires SharePoint Syntex functionality in PnP PowerShell in preparation for the related PnP Core SDK removal in pnp/pnpcore#1875, while retaining deprecated cmdlet entry points.

Changes:

  • Replaces five Syntex implementations with deprecation warnings.
  • Removes Syntex result models, resolution logic, batch caching, and permission mappings.
  • Updates reference documentation, batching guidance, and release notes.
File Description
src/​Commands/​Utilities/​CommandPermissionHelper.cs Removes Syntex permission mappings.
src/​Commands/​Syntex/​UnPublishSyntexModel.cs Replaces unpublishing with a warning.
src/​Commands/​Syntex/​RequestSyntexClassifyAndExtract.cs Replaces classification requests with a warning.
src/​Commands/​Syntex/​PublishSyntexModel.cs Replaces publishing with a warning; changes the view option to string.
src/​Commands/​Syntex/​GetSyntexModelPublication.cs Replaces publication retrieval with a warning.
src/​Commands/​Syntex/​GetSyntexModel.cs Replaces model retrieval with a warning.
src/​Commands/​Model/​Syntex/​SyntexPublicationResult.cs Deletes the publication result model.
src/​Commands/​Model/​Syntex/​SyntexModelPublication.cs Deletes the publication model.
src/​Commands/​Model/​Syntex/​SyntexModel.cs Deletes the Syntex model type.
src/​Commands/​Model/​Syntex/​SyntexClassifyAndExtractResult.cs Deletes the classification result model.
src/​Commands/​Model/​PnPBatch.cs Removes Syntex model caching.
src/​Commands/​Base/​PipeBinds/​SyntexModelPipeBind.cs Removes SDK model binding and resolution.
pages/​articles/​batching.md Removes Syntex batching entries.
documentation/​Unpublish-PnPSyntexModel.md Adds a deprecation notice.
documentation/​Request-PnPSyntexClassifyAndExtract.md Adds a deprecation notice.
documentation/​Publish-PnPSyntexModel.md Adds a notice and updates view-option metadata.
documentation/​Get-PnPSyntexModelPublication.md Adds a deprecation notice.
documentation/​Get-PnPSyntexModel.md Adds a deprecation notice.
CHANGELOG.md Records retirement and parameter changes.

Review effort: Balanced

Comment thread src/Commands/Syntex/GetSyntexModel.cs Outdated
@gautamdsheth
gautamdsheth merged commit 9ad6aa9 into dev Oct 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants