SOLVED

Setting "Anyone" share link permissions on individual sites in Sharepoint

%3CLINGO-SUB%20id%3D%22lingo-sub-137058%22%20slang%3D%22en-US%22%3ESetting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137058%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20attempting%20to%20use%20Sharepoint%20sites%20%2F%20collections%20to%20store%20various%20common%20Documents.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20want%20to%20create%20different%20sites%20for%20specific%20purposes%20(Finance%2C%20Art%2C%20etc.)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20occasionally%20will%20want%20to%20share%20files%20in%20these%20site%20with%20external%20users%20via%20the%20Anyone%20option%2C%20although%20the%20default%20sharing%20option%20will%20still%20be%20within%20the%20organization.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20successfully%20set%20up%20these%20permissions%20in%20the%20Admin%20center%20and%20are%20getting%20the%20desired%20effect%20on%20the%20default%20TeamSite.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20844px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25590i41C2A2D3C2722432%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22team%20site.PNG%22%20title%3D%22team%20site.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHowever%2C%20I%20can%20not%20seem%20to%20get%20the%20same%20permission%20to%20present%20itself%20on%20the%20other%20sites%20we%20have%20created.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20727px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25592i3B888A096C65D605%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22not%20share.PNG%22%20title%3D%22not%20share.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20have%20gone%20through%20the%20instructions%20here%20with%20no%20success%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FShare-your-Office-365-sites-with-external-users-89502322-bfbb-43d6-9207-4030f8ce26e0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FShare-your-Office-365-sites-with-external-users-89502322-bfbb-43d6-9207-4030f8ce26e0%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAm%20I%20missing%20something%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-137058%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-200822%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-200822%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F100520%22%20target%3D%22_blank%22%3E%40Ken%20Hardin%3C%2FA%3E%26nbsp%3BHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20reviewing%20the%20error%20that%20you%20received.%26nbsp%3B%20This%20is%20caused%20by%20not%20having%20the%20SharePoint%20Online%20Management%20Shell.%26nbsp%3B%20If%20you%20follow%20this%20link%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D35588%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D35588%3C%2FA%3E%26nbsp%3BYou%20can%20install%20the%20module%20which%20will%20then%20accept%20the%20Connect-SPOService%20cmdlet.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20below%20script%20is%20a%20modified%20variation%20of%20what%20is%20found%20on%20the%20previous%20site%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fturn-external-sharing-on-or-off-for-sharepoint-online-6288296a-b6b7-4ea4-b4ed-c297bf833e30%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fturn-external-sharing-on-or-off-for-sharepoint-online-6288296a-b6b7-4ea4-b4ed-c297bf833e30%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3E%3CSTRONG%3E%24userCredential%20%3D%20Get-Credential%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EConnect-SPOService%20-Url%20%3C%2FSTRONG%3E%3CA%20href%3D%22https%3A%2F%2FTenantName-admin.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSTRONG%3Ehttps%3A%2F%2F%3CEM%3ETenantName%3C%2FEM%3E-admin.sharepoint.com%3C%2FSTRONG%3E%3C%2FA%3E%3CSTRONG%3E%20-Credential%20%24userCredential%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%24sites%20%3D%20%3C%2FSTRONG%3E%3CSTRONG%3EGet-SPOSite%26nbsp%3B-Limit%26nbsp%3BALL%3C%2FSTRONG%3E%3CSTRONG%3E%20-includepersonalsite%3A%3C%2FSTRONG%3E%3CSTRONG%3E%24true%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EForeach(%24site%20in%20%24sites)%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ESet-SPOSite%20-Identity%20%24site.Url%20-SharingCapability%20%3C%2FSTRONG%3E%3CEM%3EExternalUserSharingOnly%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3E%7D%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWrite-Host(%22External%20Sharing%20Capability%20updated%20for%20all%20sites.%22)%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20script%20will%20need%20some%20modification%20from%20you.%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EThe%20URL%20section%20in%20line%20%3CSTRONG%3E2%3C%2FSTRONG%3E%20will%20need%20to%20be%20changed%20to%20reflect%20the%20SharePoint%20Admin%20Center%20URL.%26nbsp%3B%3C%2FLI%3E%3CLI%3EThe%20portion%20of%20line%20%3CSTRONG%3E6%20%3C%2FSTRONG%3E%22in%20italics%22%26nbsp%3Bwill%20need%20to%20be%20changed%20to%20reflect%20the%20sharing%20permission%20that%20you%20want%20to%20have%20enabled%20for%20all%20sites.%26nbsp%3B%20The%20sharing%20permission%20can%20be%20found%20in%20the%20link%20mentioned%20above.%26nbsp%3B%26nbsp%3B%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSTRONG%3ENOTE%3A%26nbsp%3B%3C%2FSTRONG%3EThe%20Script%20given%20will%20also%20update%20the%20sharing%20capability%20of%20all%20OneDrive%20sites%20as%20well.%26nbsp%3B%20The%20script%20in%20the%20article%20does%20not.%26nbsp%3B%20You%20can%20omit%20the%20OneDrive%20for%20Business%20from%20being%20updated%20by%20the%20script%20by%20changing%20the%20term%20in%20line%26nbsp%3B%3CSTRONG%3E3%3C%2FSTRONG%3E%20%22%3CSTRONG%3E-includepersonalsite%3A%3C%2FSTRONG%3E%3CSTRONG%3E%24true%22%26nbsp%3B%3C%2FSTRONG%3Efrom%20%24true%20to%20%24false.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-140565%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-140565%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9466%22%20target%3D%22_blank%22%3E%40Salvatore%20Biscari%3C%2FA%3E%26nbsp%3BHello%20Again%2C%20Mr.%20Biscari%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20attempted%20to%20run%20the%20Powershell%20script%20as%20directed%20(see%20attached%20for%20mods)%20and%20I%20get%20a%20bunch%20of%20red%20(I%20assume%20error)%20feedback%20from%20Powershell%20prior%20to%20the%20closing%20%22External%20Sharing%20Capability%20updated%20for%20all%20sites.%22%20message%20displaying.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20855px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26208iDDC4C82AE7B09FC0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22error%20codes.PNG%22%20title%3D%22error%20codes.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%2C%20predictably%2C%20the%20Anyone%20Sharing%20setting%20has%20not%20changed%20in%20the%20Sharepoint%20interface.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20refer%20us%20to%20some%20source%20that%20can%20handle%20this%20task%20for%20a%20fee%2C%20etc.%3F%20Candidly%2C%20we%20never%20expected%20to%20have%20to%20suss%20out%20running%20a%20script%20to%20set%20a%20very%20basic%20permission%20such%20as%20File%20Sharing%20on%20what%20is%20marketed%20as%20a%20SaaS%20solution%2C%20and%20are%20simply%20out%20of%20out%20depth%20here%2C%20I%20am%20afraid.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20attached%20our%20edits%20to%20the%20script%2C%20in%20case%20we%20have%20simply%20made%20some%20obvious%20blunder.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20so%20much%20for%20all%20your%20help.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EKen%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137386%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137386%22%20slang%3D%22en-US%22%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137301%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137301%22%20slang%3D%22en-US%22%3E%3COL%3E%0A%3CLI%3EThe%20script%20updates%20the%20setting%20only%20for%20existing%20sites.%3C%2FLI%3E%0A%3CLI%3ECorrect.%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137296%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137296%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20reply%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9466%22%20target%3D%22_blank%22%3E%40Salvatore%20Biscari%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20documentation%20you%20reference%2C%20there%20is%20a%20script%20that%20will%20%22Updating%20the%20sharing%20setting%20for%20all%20sites%20in%20a%20tenant.%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETwo%20Questions%2C%20if%20I%20may%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1)%20Will%20this%20modify%20the%20sharing%20setting%20for%20all%20current%20and%20%3CSTRONG%3EFUTURE%3C%2FSTRONG%3E%20sites%2C%20or%20would%20this%20need%20to%20be%20run%20again%20when%20new%20sites%20are%20created%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2)%20Just%20to%20be%20clear%2C%20the%20parameter%26nbsp%3B%3CSPAN%3EExternalUserAndGuestSharing%20is%20the%20one%20that%20will%20turn%20on%20anonymous%20sharing%20permissions%20(Anyone)%2C%20correct%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThanks%20again%2C%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EKen%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eand%20continued%20thanks%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F68018%22%20target%3D%22_blank%22%3E%40Andrew%20Mueller%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137247%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137247%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9466%22%20target%3D%22_blank%22%3E%40Salvatore%20Biscari%3C%2FA%3E%2C%20good%20point.%26nbsp%3B%20The%20new%20SPO%20Admin%20Center%26nbsp%3Bhas%20the%20new%20modern%20site%20collections%20on%20it%2C%20but%20I%20have%20not%20heard%20an%26nbsp%3BETA%20for%20GA.%26nbsp%3B%20The%20preview%20right%20now%20shows%20all%20of%20them%20but%20there%20are%20very%20few%20controls%20yet.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137243%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137243%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20SPO%20Admin%20Center%2C%20you%20don't%20see%20the%20site%20collections%20connected%20to%20Groups%20(aka%20Modern%20Team%20Sites)%20and%2C%20indeed%2C%20those%20site%20collections%20are%20not%20enabled%20for%20anonymous%20sharing%2C%20by%20default.%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20enable%20them%20(which%20at%20the%20moment%20could%20be%20done%20only%20by%20PowerShell)%20see%20the%20Office%20365%20Groups%20section%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FTurn-external-sharing-on-or-off-for-SharePoint-Online-6288296a-b6b7-4ea4-b4ed-c297bf833e30%23ID0EAABAAA%3DOffice_365_Groups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FTurn-external-sharing-on-or-off-for-SharePoint-Online-6288296a-b6b7-4ea4-b4ed-c297bf833e30%23ID0EAABAAA%3DOffice_365_Groups%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHope%20it%20helps...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137239%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137239%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20response%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F68018%22%20target%3D%22_blank%22%3E%40Andrew%20Mueller%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20I%20go%20to%20the%20Admin%20center%2C%20I%20can%20not%20see%20the%20sites%20I%20have%20created%20in%20that%20interface.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAll%20I%20see%20if%20this%2C%20the%20default%20sharepoint%20collections%2C%20I%20suppose%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25625iB353580DC1CCCD0F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22admin%20site.PNG%22%20title%3D%22admin%20site.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20I%20search%20on%20the%20URL%20depicted%20below%2C%20it%20tells%20me%20it%20can%20not%20find%20the%20site%2C%20although%20it%20does%20exist.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25628i31490A75FFC4381A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22site%20does%20exist.PNG%22%20title%3D%22site%20does%20exist.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhy%20can%20I%20not%20see%20my%20sites%20(as%20depicted%20above)%20in%20the%20Collections%20tab%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137104%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137104%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ken%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEven%20after%20enabling%20External%20and%20anonymous%20sharing%20in%20the%20SharePoint%20Admin%20Console%2C%20new%20sites%20are%20created%20with%20anonymous%20sharing%20disabled.%26nbsp%3B%20You%20need%20to%20select%20the%20site%20in%20the%20SharePoint%20Admin%20Console%20and%20select%20%22Sharing%22%20on%20the%20site%20in%20question%20and%20then%20change%20the%20first%20set%20of%20options%20to%20the%20fourth%26nbsp%3Bradio%20button%20entitled%3A%20%22%3CSPAN%20style%3D%22color%3A%20rgb(68%2C%2068%2C%2068)%3B%20text-transform%3A%20none%3B%20text-indent%3A%200px%3B%20letter-spacing%3A%20normal%3B%20font-family%3A%20Verdana%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-weight%3A%20400%3B%20word-spacing%3A%200px%3B%20float%3A%20none%3B%20display%3A%20inline%20!important%3B%20white-space%3A%20normal%3B%20orphans%3A%202%3B%20widows%3A%202%3B%20background-color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20-webkit-text-stroke-width%3A%200px%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3EAllow%20sharing%20with%20all%20external%20users%2C%20and%20by%20using%20anonymous%20access%20links%22.%26nbsp%3B%20Then%20you%20should%20see%20the%20%22Anyone%22%20option%20available%20on%20that%20site.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20rgb(68%2C%2068%2C%2068)%3B%20text-transform%3A%20none%3B%20text-indent%3A%200px%3B%20letter-spacing%3A%20normal%3B%20font-family%3A%20Verdana%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-weight%3A%20400%3B%20word-spacing%3A%200px%3B%20float%3A%20none%3B%20display%3A%20inline%20!important%3B%20white-space%3A%20normal%3B%20orphans%3A%202%3B%20widows%3A%202%3B%20background-color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20-webkit-text-stroke-width%3A%200px%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25607i94E3EECECC85515B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22three.png%22%20title%3D%22three.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20rgb(68%2C%2068%2C%2068)%3B%20text-transform%3A%20none%3B%20text-indent%3A%200px%3B%20letter-spacing%3A%20normal%3B%20font-family%3A%20Verdana%3B%20font-size%3A%2013.33px%3B%20font-style%3A%20normal%3B%20font-weight%3A%20400%3B%20word-spacing%3A%200px%3B%20float%3A%20none%3B%20display%3A%20inline%20!important%3B%20white-space%3A%20normal%3B%20orphans%3A%202%3B%20widows%3A%202%3B%20background-color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20-webkit-text-stroke-width%3A%200px%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25605iB0FD92E79C6D6B4C%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22two.png%22%20title%3D%22two.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-418028%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-418028%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255009%22%20target%3D%22_blank%22%3E%40WillinColo%3C%2FA%3E%26nbsp%3BJust%20a%20quick%20note%20...%20this%20has%20apparently%20been%20resolved%20in%20the%20new%20Admin%20interface%20for%20share%20point.%20I%20was%20just%20able%20to%20select%20a%20new%20site%20under%20Active%20Sites%20and%20set%20Anyone%20under%20the%20share%20options.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-302507%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20%22Anyone%22%20share%20link%20permissions%20on%20individual%20sites%20in%20Sharepoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-302507%22%20slang%3D%22en-US%22%3E%3CP%3EWow!%20Thank%20you%20so%20much.%20I%20didn't%20know%20what%20powershell%20was%20until%20today.%20I%20had%20the%20same%20issues%20as%20above%20and%20this%20worked%20to%20fix%20it.%20Felt%20so%20good%20to%20see%20that%20%22Anyone%22%20option%20now%20selectable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20ridiculous%20that%20it%20took%20this%20much%20just%20to%20change%20that%20option.%20Microsoft%2C%20change%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEDIT%3A%20See%20Ken%20Hardin's%20comment%20below.%20Looks%20like%20they%20fixed%20it.%20Great%20news!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

We are attempting to use Sharepoint sites / collections to store various common Documents.

 

We want to create different sites for specific purposes (Finance, Art, etc.)

 

We occasionally will want to share files in these site with external users via the Anyone option, although the default sharing option will still be within the organization.

 

We have successfully set up these permissions in the Admin center and are getting the desired effect on the default TeamSite.

 

team site.PNG

However, I can not seem to get the same permission to present itself on the other sites we have created.

 

not share.PNG

I have gone through the instructions here with no success: https://support.office.com/en-us/article/Share-your-Office-365-sites-with-external-users-89502322-bf...

 

Am I missing something?

 

Thanks!

 

11 Replies
Highlighted

Hi Ken,

 

Even after enabling External and anonymous sharing in the SharePoint Admin Console, new sites are created with anonymous sharing disabled.  You need to select the site in the SharePoint Admin Console and select "Sharing" on the site in question and then change the first set of options to the fourth radio button entitled: "Allow sharing with all external users, and by using anonymous access links".  Then you should see the "Anyone" option available on that site.

 

three.png

 

two.png

 

Highlighted

Thanks for the response, @Andrew Mueller

 

When I go to the Admin center, I can not see the sites I have created in that interface.

 

All I see if this, the default sharepoint collections, I suppose:

 

admin site.PNG

 

 

When I search on the URL depicted below, it tells me it can not find the site, although it does exist.

 

site does exist.PNG

 

Why can I not see my sites (as depicted above) in the Collections tab?

 

Thanks!

Highlighted

In the SPO Admin Center, you don't see the site collections connected to Groups (aka Modern Team Sites) and, indeed, those site collections are not enabled for anonymous sharing, by default.

In order to enable them (which at the moment could be done only by PowerShell) see the Office 365 Groups section in https://support.office.com/en-us/article/Turn-external-sharing-on-or-off-for-SharePoint-Online-62882...

Hope it helps...

Highlighted

Thanks @Salvatore Biscari, good point.  The new SPO Admin Center has the new modern site collections on it, but I have not heard an ETA for GA.  The preview right now shows all of them but there are very few controls yet. 

Highlighted

Thanks for the reply @Salvatore Biscari.

 

In the documentation you reference, there is a script that will "Updating the sharing setting for all sites in a tenant."

 

Two Questions, if I may:

 

1) Will this modify the sharing setting for all current and FUTURE sites, or would this need to be run again when new sites are created?

 

2) Just to be clear, the parameter ExternalUserAndGuestSharing is the one that will turn on anonymous sharing permissions (Anyone), correct?

 

Thanks again, 

 

Ken

 

and continued thanks to @Andrew Mueller

 

 

Highlighted
Best Response confirmed by Ken Hardin (Occasional Contributor)
Solution
  1. The script updates the setting only for existing sites.
  2. Correct.
Highlighted
Highlighted

@Salvatore Biscari Hello Again, Mr. Biscari:

 

I have attempted to run the Powershell script as directed (see attached for mods) and I get a bunch of red (I assume error) feedback from Powershell prior to the closing "External Sharing Capability updated for all sites." message displaying.

 

error codes.PNG

 

And, predictably, the Anyone Sharing setting has not changed in the Sharepoint interface.

 

Can you refer us to some source that can handle this task for a fee, etc.? Candidly, we never expected to have to suss out running a script to set a very basic permission such as File Sharing on what is marketed as a SaaS solution, and are simply out of out depth here, I am afraid.

 

I have attached our edits to the script, in case we have simply made some obvious blunder.

 

Thanks so much for all your help.

 

Ken

 

Highlighted

@Ken Hardin Hello,

 

I was reviewing the error that you received.  This is caused by not having the SharePoint Online Management Shell.  If you follow this link 

https://www.microsoft.com/en-us/download/details.aspx?id=35588 You can install the module which will then accept the Connect-SPOService cmdlet.  

 

The below script is a modified variation of what is found on the previous site: 

https://support.office.com/en-us/article/turn-external-sharing-on-or-off-for-sharepoint-online-62882...

 

 

  1. $userCredential = Get-Credential
  2. Connect-SPOService -Url https://TenantName-admin.sharepoint.com -Credential $userCredential
  3. $sites = Get-SPOSite -Limit ALL -includepersonalsite:$true
  4. Foreach($site in $sites)
  5. {
  6. Set-SPOSite -Identity $site.Url -SharingCapability ExternalUserSharingOnly
  7. }
  8. Write-Host("External Sharing Capability updated for all sites.")

 

This script will need some modification from you. 

  1. The URL section in line 2 will need to be changed to reflect the SharePoint Admin Center URL. 
  2. The portion of line 6 "in italics" will need to be changed to reflect the sharing permission that you want to have enabled for all sites.  The sharing permission can be found in the link mentioned above.  

NOTE: The Script given will also update the sharing capability of all OneDrive sites as well.  The script in the article does not.  You can omit the OneDrive for Business from being updated by the script by changing the term in line 3 "-includepersonalsite:$true" from $true to $false.

Highlighted

Wow! Thank you so much. I didn't know what powershell was until today. I had the same issues as above and this worked to fix it. Felt so good to see that "Anyone" option now selectable.

 

It's ridiculous that it took this much just to change that option. Microsoft, change this.

 

EDIT: See Ken Hardin's comment below. Looks like they fixed it. Great news!

Highlighted

@WillinColo Just a quick note ... this has apparently been resolved in the new Admin interface for share point. I was just able to select a new site under Active Sites and set Anyone under the share options.