Skip to content

Add WhoCanShareAllowListInTenantByPrincipalIdentity support to Set-PnPTenant#5322

Open
vascoazevedo08 wants to merge 1 commit into
pnp:devfrom
vascoazevedo08:dev
Open

Add WhoCanShareAllowListInTenantByPrincipalIdentity support to Set-PnPTenant#5322
vascoazevedo08 wants to merge 1 commit into
pnp:devfrom
vascoazevedo08:dev

Conversation

@vascoazevedo08
Copy link
Copy Markdown

Type

  • Bug Fix
  • New Feature
  • Sample

What is in this Pull Request ?

  • Adds support for the existing SharePoint Online tenant property WhoCanShareAllowListInTenantByPrincipalIdentity.
  • Introduces a new parameter to the Set-PnPTenant cmdlet to configure the allow list of principal identities permitted to share content.
  • Uses the modern ByPrincipalIdentity pattern, aligning with other tenant settings and avoiding legacy CSOM ACL XML configuration.
  • Updates cmdlet logic to support setting and clearing the allow list.
  • Adds the corresponding property to the SPOTenant model with documentation.
  • Aligns with existing properties such as GuestSharingGroupAllowListInTenantByPrincipalIdentity.

Introduce new parameter to Set-Tenant cmdlet for specifying principal identities allowed to share content at the tenant level. Update cmdlet logic to handle assignment and clearing of this list. Add corresponding property to SPOTenant model with documentation.
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.

1 participant