TF30172: You don't have permission - tfs

I have a tfs server installed, and it allow me to connect, but when try to create a team project, it shows this message.
TF30172: You do not have permission to create a new team project.
All my permission are currently set, or at at least I think so.
What else can I check?

This is a know issue with Visual Studio 2010 and Team Foundation Server 2012.
From Buck Hodges' blog:
You must use the Visual Studio Team Explorer 2012 (included in all Visual Studio editions or may be separately downloaded) to create a team project on a TFS 2012 server. If you use VS 2010, you will get an error about not having permission. The error message is very misleading, because it’s not a problem with your permissions.
You should to install this hotfix to resolve this issue.

You Should have the right in Team Project Collection administrator . you have to add yourself in this group.
and after that may be it is also required to add yourself in Contributor group.
kindly check that you have give the rights in Team Project Collection Setting .
not in Team Project Setting.

Having tried a plethora of solutions including many reinstalls, service pack reapplication, hotfixes and the two answers provided by Mak and DaveShaw.
The workaround I used was to create the new team project using Visual Studio 2013. Once I did that I was able to add my solutions to source control. I guess VS 2012 could be used too.

Related

How to Setup TFS(Team Foundation Server) and Visual Studio 2017

Firstly,I was used TFS(Team Foundation Server) and Visual Studio 2015 in my previous project.In this project,My leader setup the TFS and I just used it and it is very nice to use.
Now i am developing new project with Visual Studio 2017 and I want to use TFS.I was googled but not clear for me.So Please Let me known,where can i see clear step by step setup guide of TFS with Visual Studio 2017.
Visual Studio includes all the client pieces for TFS in the default install.
So all you need to do is go to the Team menu to connect to the TFS server. The URL will depend on the configuration of the server: get this from the Admin. (For VSTS it will be your-account.visualstudio.com.)
There is a new user's guide which should help with the details.
So you want to add the new solution which is created in VS 2017 into TFS. Please follow the steps below:
Connect to your team project in VS 2017.
Add your solution to source control. Refer to Add a existing app.
Check your new project into TFS.
Hi you just go to the team Explorer and using the admin rights link add the TFS that u want to use.
And from source control you can get the files of the project.
Hope this will work #Jze

"No repositories available" in Visual Studio 2017 when connecting to TFS

When I try to connect to TFS 2015 from within Visual Studio 2017, I get the message "No repositories available". The tfs server is listed, but I cannot connect.
No problems in Visual Studio 2015.
Do you have an idea, what I could do?
Thank you
This is a new UI design changed by Visual Studio 2017.
In Visual Studio 2017, we changed the behavior of the Connect page. We
now populate the Connect Page list with only the items you’ve
selected.
If you select a project and click "Connect", you will see only the project node in the Connect page. To get your repositories to appear
on the Connect page you need to select the repository node in the
Connect dialog and hit Connect.
This change was made in response to feedback from folks who had large
numbers of repositories in their team projects and wanted to not have
them all added whenever they connected to anything in said project.
More details please refer the visual studio team's comment in this similar question: Team Explorer does not show the repositories within a multi repository project
I had similar issue ,for me TFS is using Kerberos authentication. I changed the authentication to NTLM by running command from Developer tools under TFS server.
TFSConfig Authentication [/provider:NTLM|Negotiate] [/viewAll] [/siteType:ApplicationTier|Proxy]
Reference - https://learn.microsoft.com/en-us/azure/devops/server/command-line/tfsconfig-cmd?view=azure-devops#authentication
We also did IISRESET after this.
After this i am able to view the Repos under visual studio.

Are workspace templates as implemented in Powertools for TFS 2013 still available in TFS 2017?

In respect to the following question Is there a way to easily share Workspace settings (folder mappings) for Visual Studio Online / Team Foundation Server? and an entry I found regarding to this topic https://social.msdn.microsoft.com/Forums/vstudio/en-US/c9b16b30-4534-4781-a2e8-fb413a2df0af/power-tools-for-tfs-2017-with-vs-2017-rc?forum=tfsgeneral I wanted to ask if anyone knows how to achieve this very much needed functionality in TFS 2017?
Thanks.
Unfortunately we cannot create the workspace templates with VS 2017 for now.
According to release notes it says most of the previous Power Tools have been integrated into TFS 2017 that means no separate power tools for TFS 2017.
But the Team Utilities feature component is not integrated, that means these haven't shipped for Visual Studio 2017.
I have submitted a user voice here for you to suggest this feature, you can go and vote it up to achieve it in future.
Another similar thread for your reference: Team Members Team Utilities section in VS 2017

VS Team Services Online 2015 Import wit error tf237090 - does not exist or access is denied

I am attempting to edit our work item template for bugs in Team Services (Visual Studio Online).
I can successfully export a wit in xml, but when I try to import a wit I get the following error: tf237090 - does not exist or access is denied.
Things I have tried:
Check my permissions. I am running Visual Studio 2015 as administrator. In the DefaultCollection control panel in Visual Studio Team Services I am a member of the Project Collection Administrators group.
Export a wit, then immediately try to import the wit back to the server with no changes. Still get the error. This is using the Team Power Tools Process Editor in Visual Studio 2015.
Use the command line witadmin tool for Visual Studio 2015 (also ran the command prompt as administrator). I get the same error even if I export a wit, then try to import the same exact wit.
No file locks or open files. I have created a temporary directory to export the wit to and repeated all of the above steps without editing or opening the wit.xml.
Check the forums for the error code, I haven't been able to find any useful information except perhaps 3 year old posts about this not being a feature yet the Visual Studio Team Services help pages indicate it is supported. Similar questions on StackOverflow that I have searched for are not relevant or go unanswered.
Is this a supported feature in Team Services Online? What other steps can I use to diagnose and fix this problem?
Thanks in advance
The short of it is that this feature is not supported currently. More information here:
http://blogs.msdn.com/b/visualstudioalm/archive/2015/07/27/visual-studio-online-process-customization-update.aspx

Unable to see documents in Team Explorer 2013 after upgrade

We have upgraded TFS2008 to 2013 on a new server and source control/workitem tracking is okay - we can use all that from within VS2013 Pro.
We have also upgraded Sharepoint (containing all the project documentation) to a new database server and using the TFS 2013 Adminisration Console we can see the Team Projects listed there.
However although from the VS2013 Team Exlorer we can add the team projects and open the 'web portal' for each team project, we cannot see any of the documents nor can we (seemingly) view in a browser the portal that in VS2008 shows the document libraries.
Are we missing something in the unfamiliar interface, or can anyone advise what the cause might be and how to fix it?
You need to "wire up" the Team Projects to the Sharepoint sites. It sounds like they have been detached through the order of the upgrade.
Sharepoint needs to be upgraded and available during the upgrade process or this happens
You can however easily wire them back up. In the Team Project in Visual Studio go to the Team Explorer and do "Settings|Portal".
You should have a dialog for wiring up The existing Sharepoint to the Team Project.
If you don't you may have Tbeen disconnected at the collection level. In which case you can open the TFS Administration Console and follow: http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2013/

Resources