Repository navigation
Added SPE cmdlets for containerType, containerApp etc - #5487
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Specific application lookups can silently hide invalid or missing identities, and the help and changelog contain unresolved inconsistencies.
3 open findings
What changed in this PR
Expands SharePoint Embedded administration with container, container-type, and application management cmdlets.
Changes:
- Adds container and application retrieval/configuration commands.
- Improves paging, identity binding, deletion, restoration, and safety prompts.
- Adds corresponding help pages and resources.
| File | Description |
|---|---|
src/Commands/Properties/Resources.resx |
Adds a container-type not-found message. |
src/Commands/Properties/Resources.Designer.cs |
Exposes the new resource. |
src/Commands/Model/SharePoint/SPContainerTypeConfigurationPropertiesObj.cs |
Extends returned configuration properties. |
src/Commands/Base/PipeBinds/ContainerPipeBind.cs |
Supports API URLs and returned container objects. |
src/Commands/Admin/SetContainerTypeConfiguration.cs |
Adds container-type configuration updates. |
src/Commands/Admin/SetContainerApplication.cs |
Adds application configuration updates. |
src/Commands/Admin/SetContainer.cs |
Adds container policy updates. |
src/Commands/Admin/RestoreDeletedContainer.cs |
Supports API URLs and validates restoration results. |
src/Commands/Admin/RemoveContainerType.cs |
Adds ShouldProcess support. |
src/Commands/Admin/RemoveContainer.cs |
Adds permanent deletion and confirmations. |
src/Commands/Admin/NewContainerType.cs |
Adds billing and governance options. |
src/Commands/Admin/GetContainerType.cs |
Adds identity-based retrieval. |
src/Commands/Admin/GetContainerApplication.cs |
Adds application retrieval. |
src/Commands/Admin/GetContainer.cs |
Adds tenant-wide paging and sorting. |
documentation/Set-PnPContainerTypeConfiguration.md |
Documents configuration updates. |
documentation/Set-PnPContainerApplication.md |
Documents application updates. |
documentation/Set-PnPContainer.md |
Documents container policy updates. |
documentation/Restore-PnPDeletedContainer.md |
Documents API URL restoration. |
documentation/Remove-PnPContainerType.md |
Documents confirmation support. |
documentation/Remove-PnPContainer.md |
Documents permanent deletion. |
documentation/New-PnPContainerType.md |
Documents creation options. |
documentation/Get-PnPContainerType.md |
Documents identity lookup. |
documentation/Get-PnPContainerApplication.md |
Documents application retrieval. |
documentation/Get-PnPContainer.md |
Documents paging and tenant-wide retrieval. |
CHANGELOG.md |
Adds draft release entries. |
Files not reviewed (1)
- src/Commands/Properties/Resources.Designer.cs: Generated file
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…dlets and improve error handling in GetContainerApplication
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Type
Related Issues?
NA
What is in this Pull Request ?
Add support for more SPE cmdlets