/TFS.ADImageSync

Team Foundation Server 2012 server extension which regularly synchronizes user images from active directory to Team Foundation Server 2012.

Primary LanguageC#

TFS.ADImageSync

Overview

Features

  • synchronize images from Active Directory to Team Foundation Server 2012
  • create square images from non-square images

Components

  • ADImageSync.Console
  • ADImageSync.Job
  • Powershell Scripts

Orignial implementation

Original implementation provided by Betty
More details can be found here: tfs-automation-set-user-images-to-be

ADImageSync.Console

Console client for one time synchronisation

ADImageSync.Job

ADImageSyncJob is a Team Foundation Server 2012 server extension which can sync your Active Directory images to Team Foundation Server 2012 on regular basis.

Installation

  1. Copy the compiled job to the following folder and restart the tfs agent service.
    c:\Program Files\Microsoft Team Foundation Server 11.0\Application Tier\TFSJobAgent\plugins
  2. Then run the Install_AdImageSyncJob.ps1 powershell script to register the job.
  3. Finally check the state of the job by looking in the tfs database
    select * from tfs_configuration.dbo.tbl_JobHistory where jobid = '66590D0D-3D89-4A04-878A-2204E9077E50'

Diagnostic

To check if the job is running without any errors TFS 2012 provides the not documented diagnostic page at

Job details can be found here:

Powershell Scripts

A collection of scripts to install and schedule tfs jobs.

How to build

Copy the following files to the folder: libs\TFS.Server\

  • Microsoft.TeamFoundation.Framework.Server.dll

You should find them here: C:\Program Files\Microsoft Team Foundation Server 11.0\Application Tier\TFSJobAgent\