Skip Navigation

Prepare the initial computer hosting
BEMS

When you create a trusted application pool for the installation of
BEMS
, you also create the trusted-computer entry. Subsequent installations of
BEMS
machines do not require a new trusted application pool or designated trusted applications because they are added to the existing trusted application pool.
Verify that the account that you use to complete this task is a member of the RTCUniversalServerAdmins group.
  1. Log in to the computer that hosts the
    Skype for Business
    .
  2. Open the
    Management Shell
    .
  3. On the computer that hosts
    Skype for Business
    , create the trusted application pool.
    1. To obtain the SiteID of your
      Skype for Business
      , type
      Get-CsSite
      . Press
      Enter
      . Record the SiteID.
    2. To display the Registrar service value for a selected site, type
      Get-CsSite <
      SiteID
      > | Select-Object -ExpandProperty Services
      . Press
      Enter
      . Record the Registrar service value.
    3. To configure the trusted application entry for the newly created trusted application pool for
      BEMS
      , type
      New-CsTrustedApplicationPool -Force -Identity <
      YourPoolFQDN
      > -Registrar <
      registrar
      > -RequiresReplication $false -Site <
      SiteID
      > -ComputerFQDN <
      BEMSFQDN
      >
      . Press
      Enter
      .
      • Where <
        YourPoolFQDN
        > is the desired FQDN of the virtual Application pool of the
        BEMS
        instances.
      • Where <
        SiteID
        > is the SiteID that was recorded in step 3a.
      • Where <
        registrar
        > is the value recorded in step 3b.
      • Where <
        BEMSFQDN
        > is the FQDN of computer hosting
        BEMS
        .
      For example,
      New-CsTrustedApplicationPool -Force -Identity BEMSAppPool.mycompany.com -Registrar registrar.mycompany.com -RequiresReplication $false -Site 1 -ComputerFQDN BEMSHost.mycompany.com
    4. To create a trusted application entry, type
      New-CsTrustedApplication -Force -ApplicationId <
      appid_connect
      > -TrustedApplicationPoolFqdn <
      YourPoolFQDN
      > -Port 49555
      . Press
      Enter
      .
      Where <
      appid_connect
      > is the desired application ID of the
      BEMS
      Connect
      service.
      For example,
      New-CsTrustedApplication -Force -ApplicationId appid_connect -TrustedApplicationPoolFqdn BEMSAppPool.mycompany.com -Port 49555
    5. If you deploy the
      Presence
      service, create a second application entry. Type
      New-CsTrustedApplication -Force -ApplicationId <
      appid_presence
      > -TrustedApplicationPoolFqdn <
      YourPoolFQDN
      > -Port 49777
      . Press
      Enter
      .
      Where <
      appid_presence
      > is the desired application ID of the
      BEMS
      Presence
      service.
      For example,
      New-CsTrustedApplication -Force -ApplicationId appid_presence -TrustedApplicationPoolFqdn BEMSAppPool.mycompany.com -Port 49777
    6. If you deploy the
      Presence
      service, create an application endpoint. Type
      New-CsTrustedApplicationEndpoint -ApplicationId <
      appid_presence
      > -TrustedApplicationPoolFqdn <
      YourPoolFQDN
      > -SipAddress "sip:presence_<
      BEMSFQDN
      >@<
      SIPDomain
      >"
      .
      For example,
      New-CsTrustedApplicationEndpoint -ApplicationId appid_presence -TrustedApplicationPoolFqdn BEMSAppPool.mycompany.com -SipAddress "sip:presence_BEMSHost.mycompany.com@mycompany.com"
    7. To publish the change to the
      Skype for Business
      environment, type
      Enable-CsTopology
      . Press
      Enter
      .
If you are installing multiple
BEMS
servers, see Prepare additional computers hosting BEMS.