Forum Discussion
Unable to Share with External Users
Hello Everyone,
We have exactly the same problem but with OneDrive, the powershell commandline seems only for SharePoint Sites, anyone tried with OneDrive ?
Tried with OneDrive and it Works! Get the URL from SharePoint Admin Center - look for the one with my-sharepoint in it - Thats it.
- Douglas ClellandAug 29, 2017Brass Contributor
Thats Good news Dale! what script did you use?
- Dale RobertsonSep 01, 2017Copper Contributor
the one posted above:
Yes this was using SharePoint Online Management shell which you can get here:
https://www.microsoft.com/en-ca/download/details.aspx?id=35588Note: to run this you have to be a "Global Admin" or it won't work.
$adminUPN="replace_with_admin-username"
$orgName="Company Name"
$usercredential = Get-Credential -username $adminUPN -Message "type password"
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential
$siteurl="https://$orgName.sharepoint.com/sites/desired_site_collection"
set-sposite -identity $siteurl -sharingcapability ExternalUserAndGuestSharingThe
"Connect-SPOService -Url https://$orgName-admin.sharepoint.com"
URL you get from Sharepoint online admin center
- Farshad AbasiOct 12, 2017Copper Contributor
Hi everyone,
Thank you for the discusion and the PowerShell solution. I noticed that it was mentioned back in August that a fix was being rolled out for the GUI. Does anyone know when we can expect this?
Cheers,
-f.