Saturday 13 April 2013

Exchange 2010 (mailbox move) and Blackberry Enterprise

Exchange 2010 (mailbox move) and Blackberry Enterprise

We have a group of users which use Blackberry phones at work, to manage these devices we have a Blackberry Enterprise Server or simple BES.

The other day we were moving some users to a new database, and for my surprise some of the Blackberries just stopped communicating with the BES server.

I started to look into this problem it was around 5:30pm, looked at all the logs, eventviewer, firewalls etc.
I looked at space on the BES server, I applied all patches, applied SP2 for Exchange 2010 and no results.

I started to look into the BES service account "BESAdmin" and its permissions. I looked at the registry keys and this is what I found.

If you moved some users to a different Exchange 2010 Database, you need to give the "BESAdmin" permissions to the new Database, see below:

Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin, ms-Exch-Store-Visible

As a work around you can also do the following:

Create the following  DWORD Reg key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem\

- Maximum Allowed Sessions Per User

Note: Just set it to as many connections you need
 
Once you have added the reg key "Maximum Allowed Sessions Per User", you need to restart the service "MSExchange Information Store"

Note: Sometimes this service does not restart properly and you may need to reboot the Exchange 2010 Server.
I would strongly suggest doing this out of hours and make sure you have a back up of your registry.

by Renato de Oliveira

No comments:

Post a Comment