TFS Users Incorrect - azure-devops

I have just started working with a company that uses VS Team Services. They set me up with a user account and then pulled the code base to my local PC. Whenever I go to check-out/check-in a file, the username that appears is that of the administrator, not me. I'm not at all familiar with team services because I used git previously. I tried removing the existing workspace and then re-created it, making sure VS showed my username on the team connection settings, but this didn't change anything. I'm using VS 2010 currently.
Here are some screenshots
Checkout not me
And
TFS Connection showing me

First, make sure your personal account has been added to the team project you are working on. Check Add users to a team project.
Then, go to Team Explorer as the screenshot below, click Manage Connections or Select Team Projects (depends on the VS version), select the VSTS you are using, and click Switch User to use your own account:

Related

Visual Studio App Center - VSTS Multiple Organizations

I am currently trying to set up a build through Visual Studio App Center to connect to a VSTS repository.
I have a VSTS account through my works Active Directory and I am also a member of other organizations VSTS instances using the same email. When I connect to configure a build through VSTS, I am only given options to projects that I have access to in only my organization.
I have revoked my initial connection per this, but it is still showing only the projects within my organization when re-authorizing.
Is there a way to connect to projects that are a part of the other organizations I am affiliated with?
Revoke the connection first and then following the steps below:
Switch to VSTS Web Portal.
Click on Personal Settings and click "My profile".
Switch to the Directory which contains the VSTS account you want to connect.
Go back to VSAC and connect to the VSTS. You should see the switched Directory on the OAuth page:

How to manage workspaces of the entire team in Visual Studio Team Services Online?

We have this VSTS online account, and we want to see a list of all mapped workspaces of all users in one place.
We know that we can go to each developer's PC and use tf.exe workspaces to get the list of workspaces on that machine.
But we need to do it without going to each developer's PC. The reason we need this is that we suspect some team members use their credentials and map a workspace on a machine outside our company's environment, without our permission.
Is there a way to see all mapped workspaces in one central place?
The easiest way is to use something like Attrice TFS Sidekicks. It should work with VSTS, even if it doesn't say it does.
However, the more permanent solution is to set up conditional access in your Azure AD. That allows you to add restrictions so that your users cannot log in from outside your network.
(I know it's an old post, but researching for my own purposes...)
Extrapolating off of how to remove TFS workspace mapping for another user
The following worked for me:
>tf.exe workspaces /collection:https://contoso.visualstudio.com/ /owner:*

How to allow a user to access only specific projects in my solution

I'm using VSTS on Visualstudio.com to host our Solution. I have one solution with multiple Visual Studio projects, all hosted in a Team Project inside TFS. Now I'll have some one to help me with development, but I don't want him to have access to all the Visual Studio projects, only some of them. How can I give him access to some of the Visual Studio projects while denying access to the other ones?
If you are using TFVC as source control, you can refer to these steps below:
Add the user to your VSTS
Go to the admin page of that team project
Select Security tab
Click Create group to create a new group (e.g. CodeGroup)
Set View project-level information to Allow in Permissions tab
Add the corresponding user to that group in Members tab
Click Version Control tab
Select the folder of the project (one of the project in your solution folder)
Click Add to add CodeGroup (step4)
Set Read and Check in permissions to Allow
If you are using Git as source control, you can’t set the security for an item (project in a solution) in the repository.
On the other hand, If there are some project references that the user can’t access, I recommend that you can package and push the assembly to the feed of your VSTS: Package Management in Team Services and TFS

Login to TFS 2010 as a different user in Source end point in opshub

I have installed the free version of opshub. I would like to connect to tfs 2010 as the source endpoint in opshub as a different user.
The issue is, it automatically uses my current AD credentials and connects to tfs 2010.
I removed the existing connection and re added the tfs but still uses my current ad credentials
I would like to connect as a different user.
Any help is appreciated.
Few things that i might have not mentioned.
I am running the migration from my laptop and TFS 2010 in on a aws instance.
There are no files in the cache folder, So i created a new ad user and added that user to tfs 2010 and removed my login from tfs 2010.
Then from my laptop, I switched to the new user that i created and ran the migration but the changeset still shows my name.
Is it because, I created the empty project in VSTS?
So does the tool uses VSTS or tfs 2010 login credentials for changeset?
To be noted I am using the free tool and all the changesets will not be migrated including the users. It only shows changeset so and so migrated by Goutam Rajput.
The tool uses VSTS credential to create the changeset. So all the changeset show the same name is an expected behavior. If you want to keep these information, you need to use commercial version, the information will be placed in the changeset comments.
Due to the model/limitation of TFS itself, the Work item ID’s and
Change set ID’s of the migrated content in Visual Studio Online will
not match the Work item ID's and Change set ID's of the same content
in on premise TFS. When using the commercial version metadata
information about the source Change set like original username,
original check-in timestamp are embedded in Change set comments during
migration for Change sets.
You can also try with the method in this question to keep these information: Should the username and timestamp be migrated for changesets?

How to disable visualstudio.com stored project's multiple check-out default effect all users?

Im doing this from workspace manual for all my project. And my colleague making same. Cant i set defaul somewhere when i'm creating project? or from .visualstudio.com ?
Thanks
If users have Server Workspaces you can configure this via Team Explorer. If you connect to a Team Project and click Settings, then Version Control you should see the options that you are looking for.
This setting affects all users of that team project. You will need to set it for each new team project.