Forum Discussion
Active Directory Users Remapping in DevOps Server 2022
Hi All,
We had a ransomware attack on our AD server and DevOps server. Luckily I had a backup of the DevOps server which I restored back after formating both the servers. I did not change anything after format hostname of DevOps & AD server, IP address, the domain name , created same user names in active directory, everything I have kept identical.
After installation and configuring DevOps AD users are not able to log in to DevOps. It keeps asking for credentials whenever a user tries to connect. Is there any option in TFS to remap active directory users? Please let me know. There are so many project created in TFS and its impossible for us to go and add AD users again on each project.
Regards
Imran Shaikh
1 Reply
Try remap users by using TFSConfig Identities
1. Open Command Prompt as an administrator.
2. Navigate to the TFSConfig tool location:
cd C:\Program Files\Azure DevOps Server 2022\Tools
3. Run the command to remap identities:
TFSConfig Identities /change /fromdomain:OldDomain /todomain:NewDomain
- If the Domain remains unchanged, try using /usedefaultdomain to remap users based on username similarity.