What is SEFAUtil?
Secondary Extension Feature Activation
What does it do?
Enables Lync Server 2010\2013 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.
Where is it?
SEFAUtil is installed as part of the Lync RESKIT (2010 & 2013).
C:\Program Files\Microsoft Lync Server 2010\ResKit
C:\Program Files\Microsoft Lync Server 2013\ResKit
How to get it working?
The pc\server from which the SEFAUtil.exe will be run needs to added as a trusted application, allowing the machine to query the Lync databases. This means that a trusted application pool needs to be configured to which this trusted application belongs to. In summary, trusted applications belong to trusted application Pools.
In the example below the Lync FE server is used as the Application Pool and also the application server from which the SEFAUtil will also be run. From Lync Management Shell:-
New-CsTrustedApplicationPool -id mySEFAUtilServer.domain.com -Registrar mylyncpool.domain.com -site Site:MySite
id is the FQDN of the server that will be used to run SEFAutil
Registrar is the FQDN of your Lync Pool
Site is your Lync Pool Site name, can be obtained from Get-CsSite
New-CsTrustedApplication -ApplicationId sefautil -TrustedApplicationPoolFqdn mySEFAUtilServer.domain.com -Port 7489
Applicationid can be anything you choose, sefautil in my case
TrustedApplicationPoolFqdn is the FQDN of the server that will be used to run SEFAutil
Port can be changed to suit your needs as long as the port isn’t in use of course
STEP 4 (if running on a separate Server)
When you run SEFAutil on a dedicated server you then need to install Lync Server 2010\2013 core components 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
How to use SEFAUtil.exe?
From Command Prompt run:-
SEFAUtil.exe /server:mylyncpool.domain.com email@example.com
SEFAUtil.exe doesn’t provide much feedback. None if it errors, so add /verbose to the end of the command to see more information
Below is the list of switches found by using /?
SEFAUtil.exe [/adddelegate:] /simulringdelegates [/server:]
SEFAUtil.exe [/adddelegate:] /fwdtodelegates [/server:]
SEFAUtil.exe [/adddelegate:] /delayringdelegates: [/server:]
SEFAUtil.exe [/removedelegate:] [/server:]
SEFAUtil.exe [/disabledelegation] [/server:]
SEFAUtil.exe [/setfwddestination:] /enablefwdnoanswer [/callanswerwaittime:] [/server:]
SEFAUtil.exe [/setfwddestination:] /enablefwdimmediate [/server:]
SEFAUtil.exe [/disablefwdimmediate | /disablefwdnoanswer] [/server:]
SEFAUtil.exe [/setsimulringdestination:] /enablesimulring [/server:]
SEFAUtil.exe /disablesimulring [/server:]
SEFAUtil.exe [/enablegrouppickup: | /disablegrouppickup][/server:]
SEFAUtil.exe [/addteammember:] /simulringteam [/server:]
SEFAUtil.exe [/addteammember:] /delayringteam: [/server:]
SEFAUtil.exe [/removeteammember:] [/server:]
SEFAUtil.exe [/disableteamcall] [/server:]
/server: Lync Server FQDN, required if auto-discovery is not enabled
/adddelegate: add delegate on-behalf of the user
/removedelegate: removes delegate on behalf of the user
/simulringdelegates: Sets user’s call handling rules to ring delegates endpoints simultaneously
/delayringdelegates: Sets number of seconds Boss’ endpoints ring before ringing delegates
/fwdtodelegates: Sets user’s call handling rules to forward calls to delegates
/disabledelegation: Disables delegate ringing for the user
/setfwddestination: Sets the user’s forward immediate or forward-no-answer destination
/enablefwdimmediate: Sets user’s call handling rules to immediately forward all calls to Fwd Destination
/enablefwdnoanswer: Sets user’s call handling rules to forward unanswered calls to Fwd destination
/callanswerwaittime: Sets the number of seconds to wait for user to pick up the call
/disablefwdimmediate: Disables forward immediate
/disablefwdnoanswer: Disables forward-no-answer
/setsimulringdestination: Sets the user’s Simul Ring destination
/enablesimulring: Sets user’s call handling rules to Simul ring calls to Simul Ring Destination
/disablesimulring: Disables Simul Ring
/enablegrouppickup: Enables Group pickup
/disablegrouppickup: Disables Group pickup
/addteammember: add team member on-behalf of the user
/removeteammember: removes team member on behalf of the user
/simulringteam: Sets user’s call handling rules to ring team member endpoints simultaneously
/delayringteam: Sets number of seconds user’s endpoints ring before ringing team members
/disableteamcall: Disables team ringing for the user