Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Added Get-PnPSharingForNonOwnersOfSite and Disable-PnPSharingForNonOwnersOfSite #2641

Merged
merged 2 commits into from
Jun 6, 2020
Merged

Added Get-PnPSharingForNonOwnersOfSite and Disable-PnPSharingForNonOwnersOfSite #2641

merged 2 commits into from
Jun 6, 2020

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Issue #2640

What is in this Pull Request ?

Added Get-PnPSharingForNonOwnersOfSite and Disable-PnPSharingForNonOwnersOfSite to allow retrieval of the current state of being able to share the site and its items by only owners or also by its members. This is to accommodate issue #2640. It was not possible to add the current status to Get-PnPSite as requested due to the design of the SharePoint CSOM command. Therefore introduced two new commands. Unfortunately at this point there is no API yet to allow enabling the sharing again, thus there is no Enable-PnPSharingForNonOwnersOfSite.

@erwinvanhunen erwinvanhunen merged commit ccb6022 into pnp:dev Jun 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:checked and ready for merge ✔ PR has been checked and is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants