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

Always prompted for credentials in TFS 2010?

Explains why TFS 2010 repeatedly prompts for credentials and how to resolve it by configuring your domain as an intranet site in Internet Explorer settings.

Published on
3 minute read
Image
https://nkdagility.com/resources/fESk_RDaaIB
Subscribe

Always prompted for credentials in TFS 2010?

Sometimes when you setup TFS you find that your users, or just some of them, are being prompted for credentials. While manageable this is annoying and is not really related to TFS. This is an Active Directory thing and yes, there is a workaround…


The best way to fix this is to have your Active Directory administrator add your OWN domain to the list detected as internal and thus intranet. By default using just the server NETBIOS name will work anyway, but in this world of domain names http://tfs.company.com looks a lot better and is easier to remember than http://tfs . Its a brain thing… and it is a Kerberos thing, but don’t worry about that.

So, first, why is this happening?

Always prompted for credentials in TFS 2010? Figure: User Authentication on the Internet / Intranet

Its the default and it should be this way!

If you accidentally change this to allow authentication in all zones you may be exposing your username and password beyond the bounds of your internal network. This is not good.

So, if you want to fix this send this email to your Active Directory administrator or support desk:

Dear Admin,

Can you please make it so that all things that I access thorough the network as “*.mydomain.com” are classed as “intranet” so that I can authenticate correctly without having to enter my username and password every time. Can you also make sure that everyone i work with has the same setting applied automatically.

Always prompted for credentials in TFS 2010? ** Always prompted for credentials in TFS 2010? ****Figure: Bad example, I should not have to do this locally**

Hint: you can do this by adding “*.mydomain.com” to the list of websites that are automatically in Internet Explorers “Intranet” list

Always prompted for credentials in TFS 2010? Always prompted for credentials in TFS 2010? Figure: Good example, now i can authenticate

Thanks,

Frustrated local user

But, sometimes you get a less than prompt response. How can I solve this in the mean time, knowing that my Support team is working hard of fixing it permanently?

[screencast url=“ http://www.screencast.com/t/PAx7VWfa3jn" width=“640” height=“360”] Screencast: Administering TFS 2010 - Always prompted for credentials?

But I just want the simple steps!

  1. Open IE
  2. Click “Tools | Internet Option…Always prompted for credentials in TFS 2010? Figure: Internet Options is well hidden
  3. Go to “Security” tab. Always prompted for credentials in TFS 2010? Figure: These settings apply to all internet access, not just IE
  4. Select “Local Intranet | Sites | AdvancedAlways prompted for credentials in TFS 2010? Figure: All useful options are hidden away
  5. Confirm that “*.mydomain.com” is in the list and add it if it is not.
  6. Close all instances of Internet Explorer

Now when you open IE and go to any address that contains your company domain it will automatically pass through your Active Directory identity.

Troubleshooting Install and Configuration Windows
Subscribe

Related Blog

No related videos found.

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.​

Graham & Brown Logo

Graham & Brown

Slicedbread Logo

Slicedbread

SuperControl Logo

SuperControl

ProgramUtvikling Logo

ProgramUtvikling

Ericson Logo

Ericson

Cognizant Microsoft Business Group (MBG) Logo

Cognizant Microsoft Business Group (MBG)

Akaditi Logo

Akaditi

CR2

Philips Logo

Philips

Milliman Logo

Milliman

ALS Life Sciences Logo

ALS Life Sciences

DFDS Logo

DFDS

Sage Logo

Sage

Qualco Logo

Qualco

Trayport Logo

Trayport

Boxit Document Solutions Logo

Boxit Document Solutions

Flowmaster (a Mentor Graphics Company) Logo

Flowmaster (a Mentor Graphics Company)

Brandes Investment Partners L.P. Logo

Brandes Investment Partners L.P.

Washington Department of Transport Logo

Washington Department of Transport

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

Washington Department of Enterprise Services Logo

Washington Department of Enterprise Services

Nottingham County Council Logo

Nottingham County Council

Ghana Police Service Logo

Ghana Police Service

New Hampshire Supreme Court Logo

New Hampshire Supreme Court

ALS Life Sciences Logo

ALS Life Sciences

Flowmaster (a Mentor Graphics Company) Logo

Flowmaster (a Mentor Graphics Company)

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.

Freadom Logo

Freadom

Brandes Investment Partners L.P. Logo

Brandes Investment Partners L.P.

Boeing Logo

Boeing