Jump to content

Recommended Posts

Posted

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. Capture.PNG

 

I have attached a screenshot of the setting I want to disable for every user.

Posted

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
}

Posted
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
}

  • Thanks 2
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...