How to create a new MobileDeviceMailboxPolicy in Exchange 2016. (also known as ActiveSync Policy)
In this post I will create a new Mobile Device Mailbox policy and assign to the sales users, these users are on the road daily and they are in locations where mobile reception is not always the best and the device needs to meet some basic company security policies.
Note that Microsoft will be discontinuing the ActiveSyncMailboxPolicy cmdlet and it will be replaced with MobileDeviceMailboxPolicy. And for the purpose of this post I will be using the MobileDeviceMailboxPolicy as some of the parameters required in my security requirements are not available in the ActiveSyncMailboxPolicy.
To get started I will create a new MobileDeviceMailboxPolicy with the following requirements:
- AttachementsEnabled false
- MaxInactivityTimeLock 5 minutes
- MaxDevicePasswordFailedAttempts 5
- MinPasswordLength 8
- MinPasswordComplexCharacters 3
- PasswordHistory 10
Now that the require for the new policy has been specified, I can go ahead and create the new policy using the following Exchange cmdlets.
1 New-MobileDeviceMailboxPolicy -Name:"SalesTeamPolicy" -PasswordEnabled:$true -AlphanumericPasswordRequired:$true -PasswordRecoveryEnabled:$true -IsDefault:$false -AttachmentsEnabled:$false -MaxPasswordFailedAttempts 5 -MaxInactivityTimeLock "00:05:00" -MinPasswordLength 8 -PasswordHistory 10 -MinPasswordComplexCharacters 3