We can add programmatically users and groups to TFS, and add AD users/groups in TFS using administrative context for a team project. But can I add groups with users from the Active Directory to the TFS collection programatically? I'm working on the following situation: after creating a new group with users on AD, include it in TFS collection programatically.
I'm interested in a .NET C# solution if possible.