We have an app (on Office365 tenant) for Self-Service Site Provisioning. The external sharing options is enabled by default at the tenant level. However, when we provision sites using the app the "External sharing" option is not enabled at the site collection level. is there an API method to enable external sharing for site collections ?. (Same as share a site with external users by using the UI option)
Thanks,
Mohan