# TFS 2010 and the Team Foundation Create Workspace action

**URL:** https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189
**Category:** Discussion
**Created:** [August 15, 2013, 6:05am UTC](https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189 "2013-08-15T06:05:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![james\_reed](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@james\_reed](https://www.finalbuilder.com/forums/u/james_reed)
#### Post date: [August 15, 2013, 6:05am UTC](https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189/1 "2013-08-15T06:05:50Z")

</div>

We're using FinalBuilder 7.0.0.1968 to deploy software. In a number of our projects we're retrieving SQL scripts from TFS 2010.

Previously we had 2 TFS servers, both with a Default Collection and&nbsp;FinalBuilder worked fine. However recently we decided to consolidate our TFS servers and we now have 1 server with 2 collections.

Now when we run our project the "Team Foundation Create Workspace" action fails, stating that I do not have permission to access TFS. I know this is incorrect as I'm a TFS admin. Looking at the log I can see that FinalBuilder is trying to execute the following command to "TF.exe"

workspace /new /noprompt **/s:http://SERVERNAME:8080/tfs** /permission

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 16, 2013, 2:32am UTC](https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189/2 "2013-08-16T02:32:33Z")

</div>

Hi Jimbo,   
  
 We are looking into this today. We will let you know how we progress.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 16, 2013, 3:33am UTC](https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189/3 "2013-08-16T03:33:48Z")

</div>

Hi Jimbo,   
  
 I can reproduce what your seeing here, and will start working on a fix. A number of our actions will require the /collection: param added.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 19, 2013, 6:58am UTC](https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189/4 "2013-08-19T06:58:46Z")

</div>

Hi Jimbo,   
  
 Your build can be downloaded from here;   
  
 [http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700\_2432.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_2432.exe)   
  
 Let us know if this fix works for you. Note that there is a new option in the TFS FinalBuilder settings. Check the option for using TFS2012 and up and the actions will start to use the “collection” param where required.   
  
 Note that in testing I have seen some weird and possibly broken behavior from TFS. I have asked on stackoverflow about some of them, and example of one is here;   
  
 [http://stackoverflow.com/questions/18304968/tfs-workfold-unmap-multiple-workspaces-exist-with-the-name-xyz](http://stackoverflow.com/questions/18304968/tfs-workfold-unmap-multiple-workspaces-exist-with-the-name-xyz)

---

<div class="post-metadata">

### Author: ![james\_reed](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@james\_reed](https://www.finalbuilder.com/forums/u/james_reed)
#### Post date: [August 19, 2013, 12:47pm UTC](https://www.finalbuilder.com/forums/t/tfs-2010-and-the-team-foundation-create-workspace-action/2189/5 "2013-08-19T12:47:17Z")

</div>

Thanks Jason, I’ll update today and let you know how it goes.   
  
 I’ve also upvoted the question on stackoverflow.
