MrFrostmaul Posted May 27, 2016 Posted May 27, 2016 As per the announcement on the admin panel on the message centre a few days ago about Planner being on by default.... Does anyone have a script or setting that will disable this for all users? I have a script which disables Yammer for users underneath the faculty and student main licence, but cannot workout an option to disable planner in the same way. Thanks
MrFrostmaul Posted June 5, 2016 Author Posted June 5, 2016 I have managed to find this, but have a script already using to disable Yammer_EDU, but when running the one for Office 365 Planner it will re-enable Yammer and same other way around. Would anyone be able to look at the two scripts and merge them so it will disable both?
Arthur Posted June 5, 2016 Posted June 5, 2016 Does anyone have a script or setting that will disable this for all users? I have used a script called Set-O365UserLicense.ps1 from Matt McNabb to successfully disable Planner (among other things). It works the opposite way to most Office 365 scripts in that it automatically disables any plan you haven't specifically enabled (which I think is more logical). Once you have connected to Office 365 and loaded the Set-O365UserLicense function (e.g. by dot sourcing: . .\Set-O365UserLicense.ps1), modify the first line of the script below to get all of the users you wish to modify (in this case students), change the name of your tenant (red) and add the plans you want to enable for all of those users (purple). $Students = Get-MsolUser -Department Students -All $StudentTemplate = @{ AccountSkuId = '[color="#FF0000"]myschool[/color]:STANDARDWOFFPACK_IW_STUDENT' EnabledPlans = '[color="#800080"]OFFICE_FORMS_PLAN_2[/color]','[color="#800080"]EXCHANGE_S_STANDARD[/color]','[color="#800080"]OFFICESUBSCRIPTION[/color]' } $Students | Set-O365UserLicense -LicenseTemplate $StudentTemplate If your users have multiple plans assigned to them from different AccountSkuIds, create multiple templates like this... $Students = Get-MsolUser -Department Students -All $StudentTemplate1 = @{ AccountSkuId = '[color="#FF0000"]myschool[/color]:STANDARDWOFFPACK_IW_STUDENT' EnabledPlans = '[color="#800080"]OFFICE_FORMS_PLAN_2[/color]','[color="#800080"]EXCHANGE_S_STANDARD[/color]','[color="#800080"]OFFICESUBSCRIPTION[/color]' } $StudentTemplate2 = @{ AccountSkuId = '[color="#FF0000"]myschool[/color]:PROJECTONLINE_PLAN_1_STUDENT' EnabledPlans = '[color="#800080"]SHAREPOINT_PROJECT_EDU[/color]','[color="#800080"]SHAREPOINTENTERPRISE_EDU[/color]' } $Students | Set-O365UserLicense -LicenseTemplate $StudentTemplate1,$StudentTemplate2 To test the script with a single user (highly recommended! ), change the first line... $Students = Get-MsolUser -UserPrincipalName [email protected] 1
MrFrostmaul Posted June 6, 2016 Author Posted June 6, 2016 Thank you Just what I've been looking for. Many Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now