Repository navigation
Add commands for managing SharePoint Embedded containers - #5488
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Concurrent permission updates can overwrite each other, and the public help and changelog contain unresolved inconsistencies.
4 open findings
What changed in this PR
Adds SharePoint Embedded container lifecycle, user, type, and application-permission management through Microsoft Graph and SharePoint admin APIs.
Changes:
- Adds nine container-management cmdlets with supporting models and enums.
- Extends container property updates, pipe binding, and confirmation handling.
- Adds reference documentation for the new public command surface.
| File | Description |
|---|---|
src/Commands/Model/SharePoint/SPContainerUser.cs |
Models container users and roles. |
src/Commands/Model/Graph/FileStorage/FileStorageContainerTypeAppPermissionGrant.cs |
Models application permission grants. |
src/Commands/Model/Graph/FileStorage/FileStorageContainerSettings.cs |
Models container settings. |
src/Commands/Model/Graph/FileStorage/FileStorageContainer.cs |
Models Graph containers. |
src/Commands/Enums/ContainerRole.cs |
Defines container user roles. |
src/Commands/Enums/ContainerApplicationPermission.cs |
Defines application permissions. |
src/Commands/Base/PnPSharePointOnlineAdminCmdlet.cs |
Makes admin context conditional. |
src/Commands/Base/PipeBinds/ContainerPipeBind.cs |
Expands container identity binding. |
src/Commands/Admin/SetContainerUser.cs |
Changes container user roles. |
src/Commands/Admin/SetContainerType.cs |
Updates container types. |
src/Commands/Admin/SetContainerApplicationPermission.cs |
Manages application grants. |
src/Commands/Admin/SetContainer.cs |
Adds Graph-backed property updates. |
src/Commands/Admin/RemoveDeletedContainer.cs |
Permanently deletes recycled containers. |
src/Commands/Admin/RemoveContainerUser.cs |
Removes container users. |
src/Commands/Admin/RemoveContainer.cs |
Adds pipeline-aware confirmations. |
src/Commands/Admin/NewContainer.cs |
Creates and optionally activates containers. |
src/Commands/Admin/GetContainerUser.cs |
Retrieves container users. |
src/Commands/Admin/EnableContainer.cs |
Activates containers. |
src/Commands/Admin/AddContainerUser.cs |
Adds container users. |
documentation/Set-PnPContainerUser.md |
Documents role changes. |
documentation/Set-PnPContainerType.md |
Documents type updates. |
documentation/Set-PnPContainerApplicationPermission.md |
Documents application grants. |
documentation/Set-PnPContainer.md |
Documents new container properties. |
documentation/Remove-PnPDeletedContainer.md |
Documents permanent deletion. |
documentation/Remove-PnPContainerUser.md |
Documents user removal. |
documentation/New-PnPContainer.md |
Documents container creation. |
documentation/Get-PnPContainerUser.md |
Documents user retrieval. |
documentation/Enable-PnPContainer.md |
Documents activation. |
documentation/Add-PnPContainerUser.md |
Documents user addition. |
CHANGELOG.md |
Adds draft release entries. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…iner and Set-PnPContainerApplicationPermission cmdlets
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 ?