I've done this many times before and I don't recall hitting this problem, however I'm creating mailboxes on exchange shell using new-mailbox and the accounts which are created in AD are all disabled by default.
I understand that this is normal behavour if a password is not supplied, however I've provided a password.
New-Mailbox -Name 'Joe.Bloggs' -Alias 'Joe.Bloggs' -Password (ConvertTo-SecureString -String 'MyPassword123' -AsPlainText -Force) -ResetPasswordOnNextLogon $false -OrganizationalUnit 'MyDomain/MyTopLevelOU/ChildOU' -UserPrincipalName 'Joe.Bloggs@domain.com' -SamAccountName 'Joe.Bloggs' -FirstName 'Joe' -LastName 'Bloggs' -DisplayName 'Joe Bloggs'
Can anyone see why this would be the case or explain how I can resolve?