Align WhoCanShareAllowListInTenant with existing ByPrincipalIdentity pattern SET-PnPTenant #5312
Unanswered
vascoazevedo08
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Aligning Set-PnPTenant -WhoCanShareAllowListInTenant with existing ByPrincipalIdentity pattern
While investigating
Set-PnPTenant -WhoCanShareAllowListInTenant, I noticed that the only reliable way to configure the allow list is by using the CSOM ACL XML format.However, there is already an existing and consistent pattern in SharePoint Online tenant settings:
WhoCanShareAllowListInTenantByPrincipalIdentityProposal
Instead of relying on the legacy CSOM claim-based property (
WhoCanShareAllowListInTenant), it might be more consistent to use the existing ByPrincipalIdentity pattern:GuestSharingGroupAllowListInTenantByPrincipalIdentity✔ already existsWhoCanShareAllowListInTenantByPrincipalIdentity✔ also exists and worksWhy this matters
WhoCanShareAllowListInTenantrequires undocumented CSOM ACL XML inputByPrincipalIdentitymodelAdditional observation
The CSOM model already exposes a consistent pattern:
GuestSharingGroupAllowListInTenantByPrincipalIdentity✔ already implemented in PnP / CSOMWhoCanShareAllowListInTenantstill relies on CSOM ACL XMLThis suggests that the principal identity model is already the preferred abstraction in SharePoint Online, and
WhoCanShareAllowListInTenantis the remaining legacy outlier.Beta Was this translation helpful? Give feedback.
All reactions