Always prompted for credentials in TFS 2010?
Join the DZone community and get the full member experience.Join For Free
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?
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:
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.
hint: you can do this by adding “*.mydomain.com” to the list of websites that are automatically in internet explorers “intranet” list
- please can you change the domain policy to add this automatically to internet explorer
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?
video: administering tfs 2010 – always prompted for credentials?
but i just want the simple steps!
- open ie
- click “ tools | internet option… “
- go to “ security ” tab.
- select “ local intranet | sites | advanced “
- confirm that “ *.mydomain.com ” is in the list and add it if it is not.
- 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.
Published at DZone with permission of Martin Hinshelwood, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.