User Profile
Auren10
Copper Contributor
Joined 7 years ago
User Widgets
Recent Discussions
Re: Pnp provisoning issue with permissions for Everyone except external users
Martin-Coupal thanks for the reply ! I finally get to a similar solution but on a private team site: Create a new group with the desired permissions (Read" permission in my case) Add "Everyone Except External Users" on this group For info: Adding "Everyone Except External Users" in the "Visitors" group on a private site has a similar behavior as on public site. After some time "Everyone Except External Users" is removed from the "Visitors" group ...3.5KViews0likes1CommentRe: Pnp provisoning issue with permissions for Everyone except external users
Martin-Coupalthanks for the reply ! I finally get to a similar solution but on a private team site: Create a new group with the desired permissions (Read" permission in my case) Add "Everyone Except External Users" on this group For info: Adding "Everyone Except External Users" in the "Visitors" group on a private site has a similar behavior as on public site. After some time "Everyone Except External Users" is removed from the "Visitors" group ...3.4KViews0likes0CommentsPnp provisoning issue with permissions for Everyone except external users
Basically, I've setup a Pnp powershell script that is triggered by a site design (site design/script -> flow -> azure queue -> azure function ...) to provision a newly created public Team site in my organization. This Pnp script adjust, among others, the permission settings for "Everyone except external user" from the standard one (being in the Members group with edit permission) to the Visitor group with read permission. Here is the part of the provisioning script that set the permission : Add-PnPUserToGroup -LoginName $everyone_except_external_user_login -Identity 4 Remove-PnPUserFromGroup -LoginName $everyone_except_external_user_login -Identity 5 While the permission is effectively applied and visible in the newly provisioned site, it is somehow reset after a few minutes to the original setting. What am I missing here ? Any hints ?3.7KViews0likes5Comments
Recent Blog Articles
No content to show