Mar 03 2017 03:53 PM
Mar 03 2017 04:12 PM
If, You mean you have list of user or all and you want change their license options (Plans)? For example, if you want to disable "Sites" you need to disable license option - "Sharepoint (Plan 1)" etc.
Example on PowerShell
(ctreate variable for license options)
$myO365SkuOption = New-MsolLicenseOptions -AccountSkuId <tenant>:ENTERPRISEPACK ` -DisabledPlans SHAREPOINTWAC
(set this option to user)
Set-MsolUserLicense -UserPrincipalName email@example.com ` -LicenseOptions $myO365SkuOption
Or you can do it from GUI Admin center (User list menu)
Mar 04 2017 12:17 AM
Mar 04 2017 11:22 AM
Mar 04 2017 01:07 PM
As each Onedrive is technically a site collection where the the given user gets access rights through the site collection admin role, you can simply remove the user from the site collection admin role through the SP admin center or the Set-SPOUser PS cmdlet.
Mar 06 2017 07:37 AM
Ok, not the solution I was hoping for.
So if each user has its own site collection for OneDrive, does that also mean that we can remote the ability for a specific user to not be able to share anonymous links, while other specific users can. I assume I would disable for the site collection "<domain>-my.sharepoint.com" and then enable via PS for individual users?
Mar 06 2017 08:30 AM - edited Mar 06 2017 08:30 AM
Be aware that every user is (and must be) the site collection admin of his/her ODFB site collection.
Hence, whatever you configure in ODFB can be later reconfigured by the user and you can't forbid it.
Mar 06 2017 12:10 PM
To expand on this answer, there is new functionality for assigning licenses using Groups in Azure AD, see https://docs.microsoft.com/en-us/azure/active-directory/active-directory-licensing-group-assignment-...
Mar 06 2017 08:37 PM
Mar 07 2017 05:44 AM
I agree with you and reminded me that the License assignment options seem to be incomplete because it is possible to buy standalone ODfB plans, but there does not seem to be anyway (in PowerShell or Azure AD) to assign a comparable license,
Apr 25 2017 08:53 AM - edited Apr 25 2017 08:53 AM
Have you managed to find an answer / solution to this?
Apr 26 2017 03:04 PM
Hi, I have not. It appears to me that OneDrive does not have a seperate license control to disable Onedrive for users without disabling sharepoint also.
Jun 20 2017 12:57 PM
This is possible from SPO perspective via User Profiles. From SharePoint Admin Center > User Profiles > Manage User Permissions. Remove the 'Create Personal Site' permission for Everyone Except external users. Instead add a Security group with users which will have ODB access and assign it Create Personal Site permsisions. From now on, clicking on OneDrive shall redirect the users to Delve instead of ODB.
To remove onedrive client sync as well, delete the Mysite of the user via powershell or change site admins.
Hope this helps!
Jun 22 2017 07:09 PM
I have tried this approach and it doesn't work, as the test user still able to access their ODFB files normally.
Jun 23 2017 01:52 AM
Jun 27 2017 06:22 PM
Can I ask the reason behind wanting to stop certain using have access to OneDrive? Is it more in line with the fear of certain behaviours surrounding compliance/security such as sharing, downloading, granting permissions etc? If so, shoot me a pm and I can point you in the right direction but I don't want to throw third-party solutions into this thread.
Jun 29 2017 10:04 AM
The reason for the request, is to be able to allow only key trusted/long time employees to share outside company if possible, not including all employees. Currently am not looking at 2rd party solutions.
I do believe I seen that MS is working to get this capability soon however.
Jun 29 2017 10:36 AM - edited Jun 29 2017 10:37 AM
One solution for that problem is to block external sharing for all OneDrive sites, enable it for designated SPO site collections and tell the trusted users to share from those external sharing enabled sites.
Jun 29 2017 10:40 AM
Yes I have thought of this, however, it creates complications in my view, since some users need to be able to share directly from their main storage, without having to copy a file to another site, and then share from there, but thank you.
Jun 30 2017 07:58 AM
Please check this post on how to Selectively disable OneDrive for Busniess.