Setting up a Trusted Application for Lync 2010

Updated 10/26/2023 - this is an old post and our latest application for Microsoft Teams is available via the Microsoft Teams Store or Microsoft Appsource (must easier to deploy than the older Lync 2010 apps). Things have come a long way from 2010 Lync and our latest chat first service desk, with integration into Azure OpenAI and ChatGPT is the latest in a long line of applications as a Microsoft Partner.



  1. Open Lync Management Shell

  2. Create TrustedApplicationPool

    1. Run Get-CsSite.  Note SiteId

    2. Run Get-CsService –Registrar.  Note Identity:Registrar:

    3. Run New-CsTrustedApplicationPool –Identity [LyncServer] –Registrar [Registrar] –Site [SiteId]

    4. Run Enable-CsTopology

  3. Run New-CsTrustedApplication – Save these settings, as you will need them to configure BLM

    1. ApplicationId: Supply a descriptive name here

    2. TrustedApplicationPoolFqdn: The fully-qualified domain name of the trusted application pool created in the previous step.  Can be found by running Get-CsTrustedApplicationPool

    3. Port: Select a port to access the trusted application.  Should be >1024.  Be sure that the port is open on your firewall.

    4. Run Enable-CsTopology to commit the changes

    5. Run “Get-CsTrustedApplication > [some file name].txt”  This will save the information you will need to configure BuddyList Migrator to a text file, as it is very difficult to copy from the Management Shell.

  4.    Setup TrustedApplicationEndpoint

    1.   Run New-CsTrustedApplicationEnpdoint –ApplicationID urn:application:yourAppname –TrustedApplicationPoolFqdn appPoolFQDN –SipAddress sip:name@domain –DisplayName “Name”

  5. Setup Certificates for the machine on which you will install BuddyList Migrator.  If installing to the Lync Server, this can be ignored

    1. Run mmc

    2. Add the Certificates snap-in.  Select “Local Computer”

    3. Go to Personal->Certifcates

    4. Action->All Tasks->Request New Certificate

    5. Continue through the Wizard.  Select “Computer” for the type of certificate.


Previous
Previous

Integrating Instant Alert Manager for OCS and Lync with Email

Next
Next

Checking the presence of a user (or queue) in Sametime using JavaScript