Update Sharing permissions settings
If you want to set the Sharing permissions to "Only site owners can share files, folders and the site", you do that by using the following PnPPowershell command. Disable-PnPSharingForNonOwnersOfSite or Set-PnPSite -DisableSharingForNonOwners Please notice that at this point there is…