Configure Timerjobs for SharePoint Template

(SharePoint Online Only) Pre-requisite

Note This step is required if you are using the preferred method of application credentials and when not already executed on the site collection during template installation.


Configure the Timerjob application as scheduled task

Note These steps are for both SharePoint On-premise and SharePoint Online.

  1. Grab the site URL (parent site of your ucc) and client secret

    Example: use bold part)

    Note This is also the site for the UCC Creator.

  2. Copy the contents of the timerjobs scripts to <drive>\program files\anywhere365\scripts\SP_Timerjobs on the UCC server (may also be another Windows server, make sure the above pre-regs are met).

    Note The Timerjobs scrips can be requested at the support-desk.

  3. In the config file (WSP.UCC.SharePoint.WebJob.TimerJobs.exe.config), fill in the TargetUrl, between the quotes.

    <add key="TargetUrl" value="" />

  4. Next step is to configure user authentication.

    1. (SharePoint OnPremise) Fill in the Username and Encrypted Password.

      Note Use the Password Tool in the install directory to encrypt the password.

      <add key="Username" value="" />

      <add key="Password" value="" />

    2. (SharePoint Online) Fill in the ClientID and ClientSecret, between the quotes.

      <add key="ClientID" value="" />

      <add key="ClientSecret" value="" />

      Warning Find your site collection URL and Client Secret code. If you lost your Client Secret code, you can generate one by following “(Optional) Generate a new client secret

  5. Create a Windows Scheduled Task that runs indefinitely every 5 minutes (starting from rounded minutes e.g. 12.00, 12.05, 12.10, 12.15) and starts the executable (WSP.UCC.SharePoint.WebJob.TimerJobs.exe).]

    Or use the example XML below to import it into Task Scheduler:

    <?xml version="1.0" encoding="UTF-16"?>

    <Task version="1.2" xmlns="">



    <Author>Workstreampeople B.V./Author>













    <Principal id="Author">

























    <Actions Context="Author">


    <Command>"C:\Program Files\Anywhere365\Scripts\SP_Timerjobs\Wsp.A365.SharePoint.WebJob.TimerJobs.exe"</Command>




  6. Make sure that the account that performs the task has sufficient permissions to run the job, even if it is not logged in. Run with highest privileges.