Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 276673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:57:29+00:00 2026-05-12T00:57:29+00:00

Does anyone know if it is possible to prevent a work item from being

  • 0

Does anyone know if it is possible to prevent a work item from being assigned to a specific user account in TFS?

After migrating a TFS from one domain to another, some of my team members have two user accounts, the original one from the old domain, and a new one from the new domain. I’d like to stop work items from being assigned to the old account.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T00:57:29+00:00Added an answer on May 12, 2026 at 12:57 am

    Most process templates restrict username fields with the rule. (If yours doesn’t, you should do so.) Then all you need to do is remove the invalid accounts from TFS Valid Users group.

    Unfortunately, you can’t do this directly — TFS manages this group automatically based on ACLs found throughout the rest of the system. You have to hunt them down. See these threads for more details:

    • http://social.msdn.microsoft.com/Forums/en-US/tfsadmin/thread/6e5af2ab-1cbc-4d12-9078-454147926316
    • http://social.msdn.microsoft.com/forums/en-US/tfsadmin/thread/1ce8b5b0-9924-45ed-919b-49a6a61bb7c7

    Once you find all instances where the old domain is being referenced, the general strategy for cleaning up orphans is to add a new ACL, wait for TFS to sync (or iisreset), then remove everything.

    However, this may not be possible if you’ve taken the old domain offline, or there’s no trust relationship between the two domains, etc etc. At some point it becomes easier to edit TfsIntegration manually. I usually don’t recommend mucking in the TFS databases since it’s unsupported and subject to change with every patch. For optimum safety, I’d still strongly suggest using stored procedures rather than trying to interpret the schema relationships (and make sure you hold the necessary locks, etc). prc_security_delete_identity is your best entry point: all you need to know is the old account’s SID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know whether it is possible to refer to another section from the
Does anyone know if its possible to use Bulk insert from following code: FORALL
does anyone know how to prevent hibernate from loading a collection or many-to-one assocation?
Does anyone know if its possible to use phing to copy an entire folder
Does anyone know if its possible to turn off dreamweavers custom icons that it
Does anyone know if its possible to set the amount of memory available in
I was wondering does anyone know if its possible to open a wifi and
Does anyone know if this is possible? I can't see to find much info
Does anyone know if it is possible to implement playback of an audio file
Does anyone know why is it not possible to get the virtualpath when you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.