michaeljbrewis Posted September 11, 2019 Posted September 11, 2019 Hi everyone, Since a few months ago everytime I create a new user in AD and the account syncs with Office 365. It creates them an Office 365 Mailbox. At the school, we use an on premise Exchange Server which has caused us no issues. However, our students have iPads and when they go to sign into outlook it only signs them into their Office 365 mailbox (which obviously displays no emails) and it wont let them sign into exchange even if they click Exchange in the set up process. Is there a way I disable this? Perhaps by PowerShell? At the moment the only way I can see to do it would be manually for every user. I have attached a screenshot of the setting I want to disable for every user.
kennysarmy Posted September 11, 2019 Posted September 11, 2019 Are you not able to multi select users (max 100 I believe) and make the change? You might need to be on the Preview view?
3s-gtech Posted September 11, 2019 Posted September 11, 2019 Do you use Powershell for assigning the licenses? You need to put in your Disabled Plans into your license script, so for staff that would be e.g.: $StaffPlanEdu = New-MsolLicenseOptions -AccountSkuId tenancyid:STANDARDWOFFPACK_FACULTY -DisabledPlans EXCHANGE_S_STANDARD ... Set-MsolUserLicense -UserPrincipalName $eachuser.UserPrincipalName -AddLicenses tenancyid:STANDARDWOFFPACK_FACULTY -LicenseOptions $StaffPlanEdu }
michaeljbrewis Posted September 11, 2019 Author Posted September 11, 2019 The only issue with that is we have 1500 users and I would need to remember how far down the list the selection tool got. - I'll give it ago. But it might be a bit more fiddly.
michaeljbrewis Posted September 11, 2019 Author Posted September 11, 2019 OOOO that looks interesting I'll see the powershell scripts currently look like. Thanks
3s-gtech Posted September 11, 2019 Posted September 11, 2019 OOOO that looks interesting I'll see the powershell scripts currently look like. Thanks Sometimes, when changing existing license holders it can be fussy. An example 'update' script is below (this one uses the 'Department' field in AD/Azure to filter). $StaffPlanEdu = New-MsolLicenseOptions -AccountSkuId tenancyid:STANDARDWOFFPACK_FACULTY -DisabledPlans RMS_S_ENTERPRISE,EXCHANGE_S_STANDARD,YAMMER_EDU,INTUNE_O365,POWERAPPS_O365_P2 $AllUn = Get-MsolUser -All -Department "Staff" foreach ($eachuser in $AllUn) { Set-MsolUser -UserPrincipalName $eachuser.UserPrincipalName -UsageLocation "GB" Set-MsolUserLicense -UserPrincipalName $eachuser.UserPrincipalName -LicenseOptions $StaffPlanEdu } 2
chaplic Posted September 11, 2019 Posted September 11, 2019 Removing the exchange license is a good move regardless, but assuming the pupils have a mailbox on prem AND sync is setup properly to Office365 then no mailboxes should be created regardless of the license.
michaeljbrewis Posted September 13, 2019 Author Posted September 13, 2019 Thank you for your help with this - this has worked :-)
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