We do not want users to get their mailboxed provisioned in Exchange Online.
In order to enable our E5 Security licenses, we need to give users an Exchange Online licenses.
We have about 2500 users... and generally, we do not have any issues... we give the Exchange Online license to a user and they do NOT get a mailbox provisioned because they already have it on premise. This is expected behavior. However, we have about 15 users who are getting provisioned in Exchange online and I cannot identify why. They have an msExchMailboxGUID in their AD record and it syncs to Azure AD. That should be the end of it... but alas, it is not.
Has anyone had this issue and/or shed some light?
Thought I'd ask the community before opening a ticket with Microsoft.
In gist, remove the exchange online license from the user. run the Set-User [USER] -PermanentlyClearPreviousMailboxInfo powershell command run a delta AD Sync to make sure Azure AD picks up the Mailbox GUID Verify 365 is showing the users mailbox is on prem in the admin.microsoft.com/#/users console re-apply the licenses and this time, a mailbox should not be created.