'Change TFS service account password

We have a TFS administrator account that is used to run all of our TFS services and scheduled tasks. What would be the best way to go ahead and update this password? Is there any issue with changing the password in Active Directory and then manually updating the account password in the Windows services that use that account? I thought there was another method to do this through TFS administration UI, but I can't seem to find that documentation.

thanks.



Solution 1:[1]

To change the password of TFSService, you must log on to the application-tier server for Azure DevOps and either use the administration console for Azure DevOps, or open a Command Prompt window and use the TFSConfig command-line utility. If your deployment includes more than one application-tier server, you must perform this task on each server to keep the account information synchronized.

Use the administration console to change the password

  1. Open the administration console for Azure DevOps on the server that hosts the application tier. For more information, see Open the Azure DevOps Server Administration Console.

  2. In the console, expand the server name and select Application Tier.

  3. In the Application Tier pane, select Update Account Password. The Update Account Password window opens.

  • Note

If you used a system account as the service account, you will see an error message when you select Update Account Password. You do not need to change the password of that account. System accounts do not have user-managed passwords.

  1. Enter the new password in Password, and then select OK. The Change Service Account window opens.

  2. Wait for all the status messages to complete in Status, and then select Close.

Use the TFSConfig utility to change the password

  1. On the application-tier server, open a Command Prompt window and change directories to the directory that contains the TFSConfig utility. By default, this utility is located in Drive:\Program Files\TFS 12.0\Tools.

  2. At the command line, enter TFSConfig Accounts /UpdatePassword /accountType:ApplicationTier /account:AccountName /password:NewPassword, and then press ENTER.

  3. You must specify both the name of the service account (AccountName) and the password of the account (NewPassword).

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kangcheng Jin-MSFT