How to get SEFAutil running?

(Feb 27, 2013 - The Lync 2013 ResKit, which includes a new version of SefaUtil, is available here https://www.microsoft.com/en-us/download/details.aspx?id=36821)

(Updated with pointer to UCMA 3.0 documentation and also only describing using SEFAutil on a dedicated server. We recommend installing trusted applications on dedicated servers. However using Lync Server Management Shell cmdlets you can configure CsTrustedApplicationPool on a server already running EE/SE or Director)

 

SEFAUtil (secondary extension feature activation)enables Lync Server 2010 administrators and helpdesk agents to configure delegate-ringing and call-forwarding settings on behalf of a Lync Server user. This tool also allows administrators to query the call-routing settings that are published for a particular user. SEFAutil is a utility part of the Microsoft Lync Server 2010 Resource Kit Tools. It is a UCMA 3.0 application and in order for it to work you need to configure a trusted application. For more information about this look here.

The trusted application pool is related to a registrar and you need to find the SiteId of the site in which the registrar is located. You can use the PS cmdlet Get-CsSite to find the SiteId. In my case the site is called Søborg, so the cmdlet I used is the following:

  • $Site=Get-CsSite –Identity Søborg

You then need to create the trusted application pool. In my lab it is running on a dedicated server (jenstr31.inframss.dk) and the registrar is cs1.inframss.dk. The PS cmdlet to create the trusted application pool is:

  • New-CsTrustedApplicationPool –id jenstr31.inframss.dk –Registrar cs1.inframss.dk -site $Site.SiteId

After having create the trusted application pool you then need to create a trusted application representing SEFAutil. The PS cmdlet to do this is:

  • New-CsTrustedApplication –ApplicationId sefautil –TrustedApplicationPoolFqdn jenstr31.inframss.dk –Port 7489

The ApplicationId needs to be sefautil, but the Port number can be whatever number you would like. After having added the trusted application pool and trusted application you need to enable the topology by issuing the PS cmdlet Enable-CsTopology.

When you run SEFAutil on a dedicated server you then need to install Lync Server 2010 on the server. The setup steps you need to perform are the following:

  • Install or Update Lync Server System
  • Install Local Configuration Store
  • Request, Install or Assign Certificates
  • Start Services

Now the infrastructure is ready and you can continue with installing the Lync Server 2010 Resource Kit Tools. When it is installed start a command prompt and run SEFAutil. The Word document describing the Microsoft Lync Server 2010 Resource Kit Tools has a good description on how to run SEFAutil.