-
BlackBerry Enterprise Server 5.0 SP3 to SP4
-
BlackBerry Collaboration Service
-
Microsoft Lync 2010
- Stop the BlackBerry Collaboration Service.
- Ensure that the service account has RTCComponentUniversalServices group rights.
-
Locate the RIMPUBLIC.PROPERTY file in <drive>:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BBIM\Servers\instance\config and open with Notepad.
Note : Due to Windows 2008 Security, it may be necessary to open a command windows as Administrator to be able to save this file. - Add this line to the file:
improxy.RIMMSConnector.autoprovision=false - Save the file.
- Log into the server hosting the BlackBerry Collaboration Service as a user with RTCUniversalServerAdmins group rights.
-
Browse to <drive>:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BBIM\bin
-
If using the BCSProvisioner:
- Double-click on BCSProvisioner.exe
- In the Instant-messaging server pool drop-down, select the Lync pool to connect to.
- In the BlackBerry Collaboration Service server FQDN field, enter the Fully Qualified Domain Name of the server hosting the BlackBerry Collaboration Service.
- In the Listening port field, enter 65061.
- Click the Provision button.
-
Start the BlackBerry Collaboration Service.
-
If using the ApplicationProvisioner:
-
Double-click on ApplicationProvisioner.exe
-
In the Application name field, enter RIMMSConnector
-
Click Find or Create... button.
-
In the Application pool field, drop it down to see if the local server is already listed. If it is, the server is already provisioned. This tool can be used to remove an existing entry if required.
-
Click the Add button.
-
Beside the Server Fqdn field is a checkbox labeled Localhost. Click this to automatically populate the local server information.
-
In the Listening port field, enter 65061.
-
Click the OK button.
-
5. Start the BlackBerry Collaboration Service.
- Log into the Lync 2010 environment to access Lync PowerShell as a user with RTCUniversalServerAdmins group rights.
- Display the available Sites within the Lync environment:
Get-CsSite -
This will return the details of the Trusted Application Pool, if it already exists:
Get-CsTrustedApplicationPool
If the command did not return any data, then a Trusted Application Pool does not exist, and needs to be created.-
To create a Trusted Application Pool with the name of BESAppPool in Site 1 from the Get-CsSite command above, use this command:
New-CsTrustedApplicationPool -Identity BESAppPool.example.com -Registrar Registrar:REGISTRAR.example.com -Site 1 -ComputerFQDN fqdn_of_BCS_server.example.com -ThrottleAsServer $true -TreatAsAuthenticated $true -
Create the Trusted Application Entry in the new Pool:
New-CsTrustedApplication -ApplicationId RIMMSConnector -TrustedApplicationPoolFqdn BESAppPool.example.com -Port 65061
-
-
To query the existing Trusted Application list for RIMMSConnector entries:
Get-CsTrustedApplication | ? { $_.LegacyApplicationName -eq "RIMMSConnector" } -
Add any additional BlackBerry Collaboration Service server references to this Trusted Application Pool:
New-CsTrustedApplicationComputer -Identity fqdn_of_BCS_server.example.com -Pool BESAppPool.example.com -
Write the changes to Active Directory:
Enable-CsTopology - Force or wait for Active Directory Replication to ensure the server hosting the BlackBerry Collaboration Service can access the new data in Active Directory.
- Start the BlackBerry Collaboration Service.
How to use Lync PowerShell commands to remove a BlackBerry Collaboration Service from Trusted Services:
- Log into the Lync 2010 environment to access Lync PowerShell as a user with RTCUniversalServerAdmins group rights.
- Display the available Sites within the Lync environment:
Get-CsSite - Display the available Trusted Application Pools:
Get-CsTrustedApplicationPool - Display all existing Trusted Application entries for the BlackBerry Collaboration Service servers:
Get-CsTrustedApplication | ? { $_.LegacyApplicationName -eq "RIMMSConnector" } - To remove a single BlackBerry Collaboration Service server from an existing pool (Note : a pool must have at least one member) :
Remove-CsTrustedApplicationComputer -Identity fqdn_of_BCS_server.example.com - To remove a Trusted Application Pool (this step is required if the desire is to remove the last BlackBerry Collaboration Service server from the pool and the pool only holds BlackBerry Collaboration Service servers) :
- Locate the pool name from step 3
- Enter this command:
Remove-CsTrustedApplicationPool -Identity BESAppPool.example.com
- Write the changes to Active Directory:
Enable-CsTopology
Note : If Lync PowerShell was used to create the Trusted Service entries, tools like the BCSProvisioner and ApplicationProvisioner will not be able to properly read the Active Directory Trusted Service records due to the existence of a record that represents the Trusted Application Pool.
Disclaimer
By downloading, accessing or otherwise using the Knowledge Base documents you agree:
(a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and
(b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.
Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.

