How to disable features at a global/license level, without touching individual users?

%3CLINGO-SUB%20id%3D%22lingo-sub-242745%22%20slang%3D%22en-US%22%3EHow%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242745%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20figure%20out%20the%20answer%20to%20something%20that%20should%20be%20an%20easy%20question%2C%20but%20I%20can't%20seem%20to%20find%20the%20documentation%20I'm%20looking%20for%2C%20and%20as%20per%20usual%20O365%20tier-1%20support%20has%20been%20abysmal.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20we%20disable%20a%20feature%20either%20globally%2C%20or%20at%20the%20license%20level%3F%20Like%20for%20example%2C%20what%20if%20I%20want%20to%20turn%20SharePoint%20off%2C%20or%2C%20Microsoft%20Teams%2C%20or%20any%20of%20the%20other%20features%20that%20we%20don't%20want%20our%20users%20using%3F%20I%20understand%20how%20to%20auto-license%20users%20via%20Azure%2C%20and%20I've%20seen%20the%20documentation%20on%20how%20to%20select%20a%20bunch%20of%20users%20and%20update%20which%20products%20they%20have%20access%20to%20all%20at%20once.%20But%2C%20we%20don't%20want%20to%20have%20to%20do%20this%20each%20time%20we%20create%20users.%20How%20do%20I%20simply%20tell%20Office%20365%20%22anyone%20with%20xyz%20type%20license%20should%20only%20have%20abc%20products%2C%20PERIOD%3F%3F%3F%22%20This%20can't%20be%20this%20difficult...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-242745%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EEducation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-244970%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-244970%22%20slang%3D%22en-US%22%3E%3CP%3EAnother%20question%20I%20have%20is%2C%20regarding%20some%20of%20these%20features%20--%20I%20don't%20understand%26nbsp%3B%3CEM%3Ewhy%3C%2FEM%3E%20I%20would%20want%20students%20to%20have%20these%3F%20Why%20would%20Microsoft%20think%20that%20a%20student%20should%20have%20%22Azure%20Active%20Directory%20Basic%22%20or%20%22Azure%20Rights%20Management%3F%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20509px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F46347i0C82BA1D402644F9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22o365.png%22%20title%3D%22o365.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-244927%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-244927%22%20slang%3D%22en-US%22%3E%3CP%3EAdam%2C%20that's%20cool%20--%20similar%20to%20the%20autolicense%20script%20we're%20already%20using%2C%20but%20I%20guess%20I%20didn't%20realize%20you%20could%20also%20specify%20products%20as%20part%20of%20it.%20I%20will%20work%20on%20tweaking%20what%20we've%20got%2C%20using%20some%20of%20the%20parameters%20I'm%20seeing%20in%20that%20article.%20Thanks!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-244406%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-244406%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20I%20said%2C%20it%20depends%20on%20the%20service.%20In%20general%2C%20Microsoft's%20mantra%20is%20%22enabled%20by%20default%22%20and%20unfortunately%20not%20all%20services%20can%20be%20toggled.%20SPO%20is%20one%20such%20example%2C%20if%20you%20really%20must%20disable%20it%2C%20you%20can%20use%20the%20Conditional%20access%20controls%2C%20or%20toggle%20the%20IP-based%20restrictions%20in%20the%20SPO%2FODFB%20admin%20center.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242942%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242942%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F187646%22%20target%3D%22_blank%22%3E%40Matthew%20Gudites%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20problem%20I%20had%20to%20handle%20all%20the%20time%20for%20my%20clients.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%20I%20never%20found%20an%20efficient%20way%20to%20do%20this%20in%20bulk%2Fautomatically.%20I%20will%20give%20you%20the%20two%20options%20I%20presented%20to%20my%20clients%2C%20and%20it%20was%20up%20to%20them%20to%20choose.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20A%20simple%20PowerShell%20script%20can%20do%20this%2C%20and%20in%20a%20way%20you%20are%20creating%20a%20%22New%20License%22%20like%20you%20say.%20This%20blog%20post%20does%20a%20great%20job%20of%20showing%20the%20steps%20to%20create%20a%20new%20variable%20that%20has%20the%20options%20you%20may%20want%20step%20by%20step%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fexitcodezero.wordpress.com%2F2013%2F03%2F14%2Fhow-to-assign-selective-office-365-license-options%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fexitcodezero.wordpress.com%2F2013%2F03%2F14%2Fhow-to-assign-selective-office-365-license-options%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELets%20say%20I%20create%20the%20Variable%20%24license%20%3D%26nbsp%3BNew-MsolLicenseOptions%20-AccountSkuId%20TenantName%3AENTERPRISEPACK%20-DisabledPlans%20RMS_S_ENTERPRISE%2C%20MCOSTANDARD%2C%20SHAREPOINTENTERPRISE%3CBR%20%2F%3E%3CBR%20%2F%3EI%20would%20then%20just%20need%20to%20loop%20through%20all%20my%20users%2C%20and%20assign%20the%20license.%20If%20you%20have%20just%20one%20type%20this%20is%20easy%3A%3CBR%20%2F%3EGet-MsolUser%20-All%20%7C%20where%20%7B%24_.isLicensed%20-eq%20%24true%7D%20%7C%20Set-MsolUserLicense%20-UserPrincipalName%20user%40domain.com%20-AddLicenses%20TenantName%3AENTERPRISEPACK%20-LicenseOptions%20%24license%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EIf%20it%20was%20a%20subset%20of%20users%2C%20you%20would%20just%20need%20to%20modify%20your%20where%20statement%20to%20filter%20further.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20would%20just%20give%20them%20a%20script%20that%20did%20this%2C%20and%20have%20them%20run%20it%20once%20a%20week.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20I%20would%20recommend%20they%20build%20the%20assignment%20into%20their%20user%20creation%20process%2C%20through%20either%20manually%20selecting%20the%20options%20to%20enable%20in%20the%20GUI%2C%20or%20through%20a%20similar%20PS%20command.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20helps!%3CBR%20%2F%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242895%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242895%22%20slang%3D%22en-US%22%3E%3CP%3EOk%2C%20but%20then%20if%20using%20the%20%22Licensing%22%20feature%20isn't%20the%20way%20to%20do%20it%2C%20how%20do%20I%20just%20turn%20stuff%20off%3F%20What%20if%20I%20want%20to%20disable%20SharePoint%20across%20the%20board%2C%20or%20Yammer%2C%20and%20so%20forth%3F%3F%20Where's%20the%20%22off%20switch%22%3F%20When%20I%20go%20to%20the%20Admin%20Center%20-%26gt%3B%20Products%2C%20the%20%22Products%22%20page%20just%20brings%20up%20the%20list%20of%20licenses%20and%20the%20products%20associated%20with%20them%2C%20with%20no%20way%20to%20turn%20a%20%22product%22%20off.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242874%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242874%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20every%20service%2Ffeature%20in%20O365%20is%20enforcing%20license%20requirements%2C%20so%20you%20cannot%20rely%20on%20this%20method%20across%20the%20board.%20Take%20SPO%20as%20an%20example%2C%20every%20user%20in%20the%20organization%20can%20happily%20browse%20any%20sites%20which%20are%20opened%20to%20the%20whole%20company%2C%20regardless%20of%20what%20licenses%20it%20has.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20still%20use%20this%20to%20limit%20access%20to%20those%20services%20that%20do%20enforce%20licensing%20requirements%2C%20and%20combine%20it%20with%20service-level%20controls%20for%20(some%20of)%20the%20others.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242808%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242808%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20looked%20through%20the%20documentation%20and%20I%20still%20don't%20see%20a%20way%20to%20do%20what%20I'm%20trying%20to%20do.%20I%20successfully%20created%20a%20new%20AD%20group%20and%20used%20Azure%20portal%20to%20assign%20a%20license%20to%20that%20group%2C%20and%20only%20the%20services%20I%20want%2C%20but%20then%20when%20I%20add%20new%20people%20to%20that%20group%2C%20that%20license%20doesn't%20get%20applied.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20create%20a%20NEW%20license%20altogether%2C%20which%20only%20contains%20the%20products%20I%20want%20in%20it%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242765%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242765%22%20slang%3D%22en-US%22%3E%3CP%3EOK%20so%20if%20I'm%20reading%20that%20correctly%2C%20I%20can%20assign%20a%20license%20(and%20whatever%20products%20I%20check%20while%20making%20the%20assignment)%20to%20a%20group%2C%20and%20then%20anyone%20who%20is%20in%20that%20security%20group%20will%20automatically%20get%20that%20%22version%22%20of%20the%20license%20with%20just%20those%20products%20assigned%20to%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242759%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20disable%20features%20at%20a%20global%2Flicense%20level%2C%20without%20touching%20individual%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242759%22%20slang%3D%22en-US%22%3EGroup-based%20licensing%20might%20be%20an%20option%3F%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Ffundamentals%2Factive-directory-licensing-whatis-azure-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Ffundamentals%2Factive-directory-licensing-whatis-azure-portal%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I'm trying to figure out the answer to something that should be an easy question, but I can't seem to find the documentation I'm looking for, and as per usual O365 tier-1 support has been abysmal.

 

How do we disable a feature either globally, or at the license level? Like for example, what if I want to turn SharePoint off, or, Microsoft Teams, or any of the other features that we don't want our users using? I understand how to auto-license users via Azure, and I've seen the documentation on how to select a bunch of users and update which products they have access to all at once. But, we don't want to have to do this each time we create users. How do I simply tell Office 365 "anyone with xyz type license should only have abc products, PERIOD???" This can't be this difficult...

9 Replies
Highlighted

OK so if I'm reading that correctly, I can assign a license (and whatever products I check while making the assignment) to a group, and then anyone who is in that security group will automatically get that "version" of the license with just those products assigned to it?

Highlighted

I've looked through the documentation and I still don't see a way to do what I'm trying to do. I successfully created a new AD group and used Azure portal to assign a license to that group, and only the services I want, but then when I add new people to that group, that license doesn't get applied.

 

Is there a way to create a NEW license altogether, which only contains the products I want in it? 

Highlighted

Not every service/feature in O365 is enforcing license requirements, so you cannot rely on this method across the board. Take SPO as an example, every user in the organization can happily browse any sites which are opened to the whole company, regardless of what licenses it has.

 

You can still use this to limit access to those services that do enforce licensing requirements, and combine it with service-level controls for (some of) the others.

Highlighted

Ok, but then if using the "Licensing" feature isn't the way to do it, how do I just turn stuff off? What if I want to disable SharePoint across the board, or Yammer, and so forth?? Where's the "off switch"? When I go to the Admin Center -> Products, the "Products" page just brings up the list of licenses and the products associated with them, with no way to turn a "product" off. 

Highlighted

Hey @Matthew Gudites,

 

This is a problem I had to handle all the time for my clients.

 

Unfortunately I never found an efficient way to do this in bulk/automatically. I will give you the two options I presented to my clients, and it was up to them to choose.

 

1. A simple PowerShell script can do this, and in a way you are creating a "New License" like you say. This blog post does a great job of showing the steps to create a new variable that has the options you may want step by step - https://exitcodezero.wordpress.com/2013/03/14/how-to-assign-selective-office-365-license-options/

 

Lets say I create the Variable $license = New-MsolLicenseOptions -AccountSkuId TenantName:ENTERPRISEPACK -DisabledPlans RMS_S_ENTERPRISE, MCOSTANDARD, SHAREPOINTENTERPRISE

I would then just need to loop through all my users, and assign the license. If you have just one type this is easy:
Get-MsolUser -All | where {$_.isLicensed -eq $true} | Set-MsolUserLicense -UserPrincipalName user@domain.com -AddLicenses TenantName:ENTERPRISEPACK -LicenseOptions $license

If it was a subset of users, you would just need to modify your where statement to filter further.

I would just give them a script that did this, and have them run it once a week.

 

2. I would recommend they build the assignment into their user creation process, through either manually selecting the options to enable in the GUI, or through a similar PS command.

Hope this helps!
Adam

Highlighted

As I said, it depends on the service. In general, Microsoft's mantra is "enabled by default" and unfortunately not all services can be toggled. SPO is one such example, if you really must disable it, you can use the Conditional access controls, or toggle the IP-based restrictions in the SPO/ODFB admin center.

Adam, that's cool -- similar to the autolicense script we're already using, but I guess I didn't realize you could also specify products as part of it. I will work on tweaking what we've got, using some of the parameters I'm seeing in that article. Thanks!!

Highlighted

Another question I have is, regarding some of these features -- I don't understand why I would want students to have these? Why would Microsoft think that a student should have "Azure Active Directory Basic" or "Azure Rights Management?"

 

 

o365.png