Link to home
Start Free TrialLog in
Avatar of sglee
sglee

asked on

How to increase the maximum number of ActiveSync Devices for a User

Hi,
 
I have SBS2011/Exchange 2010. I saw this in an article that following Exchange Management Shell command will increase the default # of devices for an mailbox user  from default value of 10 to 20.

New-Throttlingpolicy "Increased ActiveSync Devices" -EasMaxDevices 20 -EasMaxConcurrency 20              Set-Mailbox USER_MAILBOX -ThrottlingPolicy "Increased ActiveSync Devices"

With that I have questions:
(1) Is that the right syntax/command?
(2) How can I verify the current settings for everyone or for the organization for that matter?
(3) Can I see this number in Exchange Management Console?

Thanks.
Avatar of Jean-Ré
Jean-Ré

Hi,

You can see on the present policy:
 Get-ThrottlingPolicy | fl EAS*
Avatar of sglee

ASKER

When I run the command:
[PS] C:\Users\admin\Desktop>Get-ThrottlingPolicy | fl EAS*


EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

How do I set max number of devices for all mailboxes to 20?
Avatar of sglee

ASKER

I searched and found this command:

New-Throttlingpolicy "Increased ActiveSync Devices" -EasMaxDevices 20 -EasMaxConcurrency 20

When I ran in my Exchange Shell window, it took it.
I ran Get-ThrottlingPolicy | fl EAS* and it showed the following:
EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 20
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 20
EASMaxDeviceDeletesPerMonth :

I tried to apply the policy by running:
Set-Mailbox $MAILBOX -ThrottlingPolicy "Increased ActiveSync Devices"

But this generated an error:

Cannot bind argument to parameter 'Identity' because it is null.
    + CategoryInfo          : InvalidData: (:) [Set-Mailbox], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Set-Mailbox
ASKER CERTIFIED SOLUTION
Avatar of Jean-Ré
Jean-Ré

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sglee

ASKER

When I ran - Get-Mailbox -RecipientTypeDetails UserMailbox | set-mailbox -ThrottlingPolicy "Increased ActiveSync Devices", it went successfully.

[PS] C:\Users\admin\Desktop>Get-ThrottlingPolicy | fl EAS*


EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 20
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 20
EASMaxDeviceDeletesPerMonth :
Avatar of sglee

ASKER

(1) What is the difference between:
Get-Mailbox -RecipientTypeDetails UserMailbox | set-mailbox -ThrottlingPolicy "Increased ActiveSync Devices
and
Set-Mailbox $MAILBOX -ThrottlingPolicy "Increased ActiveSync Devices

(2) When I run Get-ThrottlingPolicy | fl EAS*, it show two sets of numbers - 10s and 20s as in DD: 42377319.
Should I take further action?

EASMaxConcurrency           : 10
.
.
.
EASMaxConcurrency           : 20
You create new throtthling policy so when you get you have 2 of throttling
And if you check mailbox get-mailbox |fl ThrottlingPolicy  

you'll see which one is affected to your mailbox.

The difference between $MAILBOX and get-mailbox? it's just you not put anything in $MAILBOX;
Normally with your command you should affect some mailbox to your variable like:
$MAILBOX = get-mailbox (which one you want in policy)
Avatar of sglee

ASKER

@Jean-Re
I am confused. When I run Get-ThrottlingPolicy | fl EAS* now, I get the following.
Has maximum # of mobile devices per mailbox account been increased to 20?
Am I all done here?

------------------------------------------------------------------------------------------------
[PS] C:\Users\admin\Desktop> Get-ThrottlingPolicy | fl EAS*


EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 10
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 10
EASMaxDeviceDeletesPerMonth :

EASMaxConcurrency           : 20
EASPercentTimeInAD          :
EASPercentTimeInCAS         :
EASPercentTimeInMailboxRPC  :
EASMaxDevices               : 20
EASMaxDeviceDeletesPerMonth :
------------------------------------------------------------------------------------------------
Do: Get-ThrottlingPolicy | fl Name, EASMaxDevices
And
Get-Mailbox | fl ThrottlingPolicy

If you throttling policy with 20 device is correctly applied on mailbox it's OK, if not you need to set-mailbox to change the trhtteling
Avatar of sglee

ASKER

[PS] C:\Users\admin\Desktop>Get-ThrottlingPolicy | fl Name, EASMaxDevices
Name          : DefaultThrottlingPolicy_f39f2d66-7e30-46ba-83e8-4b11ebfd54d2
EASMaxDevices : 10
Name          : SymantecEWSRestoreThrottlingPolicy
EASMaxDevices : 10
Name          : Increased ActiveSync Devices
EASMaxDevices : 20
------------------------------------------------------
[PS] C:\Users\admin\Desktop>Get-Mailbox | fl ThrottlingPolicy
ThrottlingPolicy :
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy :
ThrottlingPolicy :
ThrottlingPolicy :
ThrottlingPolicy :
ThrottlingPolicy :
ThrottlingPolicy :
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy : Increased ActiveSync Devices
ThrottlingPolicy :
OK so it's good
Avatar of sglee

ASKER

OK. It is good to know.
Why Get-Mailbox | fl ThrottlingPolicy command kept repeating "ThrottlingPolicy : Increased ActiveSync Devices" as a result?
Because you get all your mailbox, do just a get-mailbox to understand what you are doing .
Avatar of sglee

ASKER

I see. Thank you for your help.
Avatar of sglee

ASKER

@Jean-Ré
I am not sure if what we did is related to this or not, but I am seeing a bunch of Event ID : 36887 every second.
When I did some research, one article seem to indicate that this could happen when there is a policy change.

What do you think?
Fatal-Error-46.png