Forum Discussion
Set Default Sharing to "People with Existing Access"
- Jan 09, 2019
Hi Gilbert Okello,
We do not support setting the default to people with existing access. When the default link is not available, we set the default to the next supported default link (which in the case above, is specific people). If this is a capability you're interested, I'd suggest submitting this to onedrive.uservoice.com to help us prioritize the work. Thanks!
Stephen Rice
OneDrive Program Manager II
StephenRice"People with existing access" is the most logical choice when working amongst Office 365 Groups & Teams, which MS has obviously been pushing. Definite oversight/doesn't fit with MS's evolving access use cases. I'm voting for the fix, but please ack the user experience gap and push the team.
Hi Frank McDermott,
You can now set People with Existing Access as the default link type for any site collection via PowerShell and this should be available in the modern SharePoint Admin Center soon! We'll continue to listen to feedback here around how we can make further improvements though! Thanks!
Stephen Rice
Senior Program Manager, OneDrive
- Frank McDermottMar 31, 2020Copper Contributor
Much appreciated StephenRice !
- Dorje-McKinnonMar 31, 2020Steel Contributor
Hi StephenRice
Thanks so much for getting back to this thread.
I used it only yesterday - awesome.
Please thank your entire team for all the work I know they're doing in very trying work and personal situations. It makes our lives out here on the front lines easier every day.
thanks from the South Pacific
Dorje
- StephenRiceApr 02, 2020Microsoft
My pleasure! I'll be sure to pass this along to the rest of the team!
Stephen Rice
Senior Program Manager, OneDrive
- Arne VandeleeneApr 08, 2020Copper Contributor
What I don't get, working with MS Teams, every owner of a Team has full access, so if we, as admins set security, they can just override it and do whatever they want, share it with whoever they want within the company (at least we can restrict sharing with external on a tenant level) How can this be solved? Since when does Microsoft think it's ok to let non IT people set security on files and folders? Default usage should be "people with existing access", that's the way it's configured by IT and users can't just go around changing security. With GDPR and ISO certifications in mind, you just can't explain this. This should be the number 1 priority for Teams/Sharepoint, get the security up to business standards.
- Michael RennieApr 10, 2020Brass ContributorI ran the command Set-SPOSite -identity https://mytenant.sharepoint.com/ -DefaultLinkToExistingAccess $true
It completed with out any errors however the share sheet default option is still the same “people in my org with link”
How long does the change take to apply?
Is that the right command? Note: I used my tenant when I ran it.- StephenRiceApr 10, 2020Microsoft
Arne Vandeleene, thanks for the feedback! Our aim has been to build a lot of great controls here so that admins can tune the experience to fit their specific needs as needed. And we're always looking to improve in this space!
Michael Rennie, the command only works on a per-site basis so if you ran it for mytenant.sharepoint.com, it will only apply on that site collection. You will need to run it for each site collection where you want this default to apply (e.g. tenant.sharepoint.com/teams/team1, tenant.sharepoint.com/sites/projectalpha, etc).
Hope that helps!
Stephen Rice
Senior Program Manager, OneDrive
- Robin NilssonApr 13, 2020Bronze Contributor
StephenRice I was trying to set this today on a couple of sites since my security officer is reviewing our settings, and my PowerShell is giving me an error that the site is a group site and -DefaultSharingToExistingAccess isn't legit for a group site. Am I just behind on my PowerShell module? 16.0.19927.12000 is what I have installed. Or oes this mean not available yet?
16.0.19927.12000
Set-SPOSite :
https://XXXX.sharepoint.com/sites/SSSS is a
Groups site collection. The valid parameters for this type of
site collection are '-Identity', '-AllowSelfServiceUpgrade',
'-DefaultLinkPermission', '-DefaultSharingLinkType',
'-DenyAddAndCustomizePages', '-DisableCompanyWideSharingLinks',
'-DisableSharingForNonOwners', '-LockState', '-Owner',
'-ResourceQuota', '-ResourceQuotaWarningLevel',
'-SandboxedCodeActivationCapability', '-SharingCapability',
'-ShowPeoplePickerSuggestionsForGuestUsers',
'-SocialBarOnSitePagesDisabled', '-StorageQuota',
'-StorageQuotaReset', and '-StorageQuotaWarningLevel'.
At line:1 char:1
+ Set-SPOSite -identity
https://XXXX.sharepoint.com/sites/SSSS...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOSite], Se
rverException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerE
xception,Microsoft.Online.SharePoint.PowerShell.SetSite
- Swapna NethiJun 03, 2020Copper Contributor
Can you please provide me the exact command to set this option?
Also is it possible to set using ApplyPnPprovisioningtemplate? If so any pointers?
I have hundreds of sites which need this to be set .
- StephenRiceJun 03, 2020Microsoft
Sure Swapna Nethi !
Exact command would be:
Set-SPOSite -Identity YourSiteURLHere -DefaultLinkToExistingAccess $trueI'm not super familiar with the PnP side of things and I don't think this is available via that path (but not 100% on that). Thanks!
Stephen Rice
Senior Program Manager, OneDrive