Setting site collection sharing by code

Introduction Set the site collection sharing (capabilities) properties in SharePoint Online by using clientside code. Sharing Capabilities With SharePoint Online you can set the “Sharing properties” of a site collection to one of the following 3 properties. Don’t allow sharing outside your organization Allow external users who accept sharing invitations and sign in as authenticated […]