Ask a questionAsk a question
 

Answeruser or group might be in a different domain

  • Friday, April 28, 2006 2:39 PMJason Fransella Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have just set up a dual server installation.  Everything seems to have installed correctly.  When I try to add a member to the team foundation groups using the "add users and groups" / "windows user or group", I get the error:

    Team Foundation Server could not resolve the user or group [user display name here].  The user or group might be a member of a different domain, or the server might not have access to that domain.  Verify the domain membership of the server and any domain trusts.

    The servers are all part of the same domain.  The service account is a domain account.  What do I need to do to fix this problem?

    Thanks for your assistance,

    Jason Fransella

Answers

  • Thursday, June 22, 2006 10:58 PMBill Essary MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The problem is probably just the fact that the client machine could not resolve the user or group name.  For example, if the TFS server is in a domain that has one-way trust to the user domain, it would not be possible for an administrator to use the UI on a client machine to add a service account from the domain hosting TFS to any of the TFS groups.  Another way of thinking about this is to consider Windows Explorer.  If you can right click on a folder on the client machine and set shared folder permissions for the user you are trying to add to the TFS group, then the TFS security management UI should work.

    In this situation, you either need to find a client machine that has the same sort of domain trust relationships as the server, or you need to use the TfsSecurity.exe tool from the Tools subdirectory on the TFS AT to edit group membership.  You would be using the /g+ command to add users.

All Replies

  • Tuesday, May 16, 2006 4:32 PMcristof Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sorry I can't help, but we're having the same issue.
  • Thursday, May 18, 2006 10:11 PMChris Nieboer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We have a single server setup and are having the same issue. Any answers out there yet?
  • Thursday, June 22, 2006 10:58 PMBill Essary MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The problem is probably just the fact that the client machine could not resolve the user or group name.  For example, if the TFS server is in a domain that has one-way trust to the user domain, it would not be possible for an administrator to use the UI on a client machine to add a service account from the domain hosting TFS to any of the TFS groups.  Another way of thinking about this is to consider Windows Explorer.  If you can right click on a folder on the client machine and set shared folder permissions for the user you are trying to add to the TFS group, then the TFS security management UI should work.

    In this situation, you either need to find a client machine that has the same sort of domain trust relationships as the server, or you need to use the TfsSecurity.exe tool from the Tools subdirectory on the TFS AT to edit group membership.  You would be using the /g+ command to add users.

  • Thursday, June 22, 2006 11:00 PMChris Nieboer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It's a bug in the windows Gui utility use the command line and it works... At least it did for me.

     

     

  • Friday, June 23, 2006 6:01 PMBill Essary MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The Windows GUI is actually doing what it is supposed to do.  The UI constrains the world view according to the client machine context.  The problem is really that the editing group membership for TFS requires TFS server context.  We would have had to do more than invoke the standard Windows GUI to get that context on the client and we did not do that in V1.0.
  • Sunday, September 23, 2007 11:19 AMhttp___www.ilkon.com Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    did they solve this bug in vs 2008 beta2?