a·gen·tic a·gil·i·ty

Granting access to Team Foundation Server 2012 for diagnostic troubleshooting

Learn how to grant users or groups access to TFS 2012 diagnostic activity logs for troubleshooting without full admin rights, using command-line permission settings.

Published on
2 minute read
Image
https://nkdagility.com/resources/8N31NtGZFyB
Subscribe

In TFS 2012 the product team added a way to get to the tbl_Command information without needing to connect directly to the SQL Server and having access to the tables. This was an awesome add as being able to diagnose server issues and troubleshoot user reported problems makes us a little more efficient.

Granting access to Team Foundation Server 2012 for diagnostic troubleshooting

Figure: Viewing the diagnostic activity logs for troubleshooting

However I had always had to give access by adding the user to the “Team Foundation Administrators” group which is a little too much power just to do a little diagnostic spelunking… so my question is:

How do I give permission to the Activity Log without giving TFS Administrator?

Well, it looks like the command line has the answer. Although there is no representative entry in the GUI to give permission for a user only to the diagnostic troubleshooting page you can grant it explicitly:

1tfssecurity /a+ Diagnostic Diagnostic Troubleshoot n:domain\username ALLOW /server:http://tfsserver:8080

This gives that group explicit access.

Granting access to Team Foundation Server 2012 for diagnostic troubleshooting

Figure: Use the command line to grant diagnostic troubleshooting permission

What might be a better and more manageable solution would be to create a group called “Team Foundation Troubleshooters” and instead grant that group permission to that access control. This is done in exactly the same way, you just need to replace the domain account with the TFS Group.

Troubleshooting
Subscribe

Related Blog

Related videos

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Kongsberg Maritime Logo

Kongsberg Maritime

CR2

Genus Breeding Ltd Logo

Genus Breeding Ltd

Sage Logo

Sage

Freadom Logo

Freadom

Xceptor - Process and Data Automation Logo

Xceptor - Process and Data Automation

Flowmaster (a Mentor Graphics Company) Logo

Flowmaster (a Mentor Graphics Company)

Emerson Process Management Logo

Emerson Process Management

Milliman Logo

Milliman

Epic Games Logo

Epic Games

Boeing Logo

Boeing

Akaditi Logo

Akaditi

NIT A/S

Teleplan Logo

Teleplan

Capita Secure Information Solutions Ltd Logo

Capita Secure Information Solutions Ltd

YearUp.org Logo

YearUp.org

DFDS Logo

DFDS

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.

Washington Department of Enterprise Services Logo

Washington Department of Enterprise Services

Nottingham County Council Logo

Nottingham County Council

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

New Hampshire Supreme Court Logo

New Hampshire Supreme Court

Royal Air Force Logo

Royal Air Force

Washington Department of Transport Logo

Washington Department of Transport

Cognizant Microsoft Business Group (MBG) Logo

Cognizant Microsoft Business Group (MBG)

Boeing Logo

Boeing

Deliotte Logo

Deliotte

YearUp.org Logo

YearUp.org

ALS Life Sciences Logo

ALS Life Sciences

NIT A/S