Forum Discussion
Robert Lien
Mar 03, 2017Brass Contributor
Disable Onedrive for specific users
Hello, Is there ability either in the Portal or via Powershell where I can disable OneDrive4B without disabling other Sharepoint sites? thx
mustafiz salam sajib
Mar 04, 2017Copper Contributor
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 user1@tenant.onmicrosoft.com ` -LicenseOptions $myO365SkuOption
Or you can do it from GUI Admin center (User list menu)
Robert Lien
Mar 04, 2017Brass Contributor
Hi, your answers seems to cover all of shareponit, including OneDrive4B. Questions was if I can disable the personal OneDrive4B without other company SharePoint resources.
thx
thx