Forum Discussion
Disable Onedrive for specific users
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)
- Dean_GrossMar 06, 2017Silver Contributor
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-azure-portal
- Robert LienMar 07, 2017Brass ContributorGood point, but not aware that Azure allows for assigning ONLY OneDrive4B without SharePoint. Since that is in the same license, I am having to have to keep OneDrive since I need SharePoint. thx.
- Dean_GrossMar 07, 2017Silver Contributor
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,