Permission And Group Management In Visual Studio Team Services

This Article provides a detail for each built-in Group and permission in VSTS and how to create a new group and manage permissions.

In my previous article, we learned how to set-up Visual Studio Team Services. In this session, we will learn how to assign roles and permission to individuals or a group in Visual Studio Team Services. Also, we will check each built-in group and permission.

In Visual Studio Team Services, we can give permission to an individual user or a group of users. After you have logged in to VSTS, select the Project in which you want to set permission. Here, I am selecting 'MSTeamProject'.

Visual Studio

Once you are in, click on the Settings and navigate to Security.

Visual Studio

You can see the built-in collection-level groups which have predefined permissions and access, created by VSTS.

Visual Studio 
Let's create a Group in Visual Studio. For that, click on 'Create group' button.

Visual Studio

Enter the Group name that you want to create and click on 'Create Group'.

Visual Studio 

Once you create the group, VSTS assigns the default built-in collection 'Project Collection Valid users'.That means the role and permissions for the 'Dev Team' Group will be inherited from the 'Project Collection Valid users'.

Visual Studio 

You can see in the above screen that the Group 'Dev Team' has predefined Permissions that are inherited from the Project Collection's Valid Users. As an admin, you can manage permissions and for that, click the group name you just created and change the permission levels by just clicking on 'Allow', 'Not Set', or 'Deny'.

Visual Studio

Visual Studio

Once you set the permission, click on the Save Changes button to apply the settings.

You can edit the group details and permissions anytime as per the requirements of your projects or add team members or groups in the newly created group.

Visual Studio 
Also, admin can manage 'Member of' Permission. So if there is a need we can remove the newly-created group from the Project Collection's Valid User Group.

Visual Studio 

In my next article, we will see how to add users to an administrator role,  how to add users to an account, how to add users to a team project or a team, and how to make a user a team admin.

Hope you like the article. Please leave your feedback, comments, and suggestions in the comment box.