The UWP build option is listed in VSTS (Visual Studio Team Services, formerly VSO (Visual Studio Online) which is Microsoft hosted TFS service).
I suspect you are running TFS 2015 on premises. I don't see this build option on the TFS feature timeline but in general features in VSTS will be available in the next TFS update. I believe TFS 2015 Update 2 will arrive before April.
The UWP template is only available for VSO for now. However the template is just a combination of several tasks and settings. You can create a build definition on your TFS project and refer to VSO UWP template to add tasks and settings.
Since TFS 2015 support Rest API, if you want to have this template on TFS. you can get the configuration of UWP template from VSO project and create a UWP build template in your TFS base on the infromation you get from VSO via Rest API: Build definition templates
Asked in February 2016Viewed 3,576 timesVoted 8Answered 2 times