TeamCity 2017.1 Help

How to Retrieve Administrator Password

Retrieve Administrator Password

On the first start with an empty database TeamCity displays the Administrator Setup page. A TeamCity installation should always have a user with the System Administrator role.

If a System Administrator is unable to login (the user name/password is forgotten) or n o user with TeamCity System Administration role exists on not the first server start (e.g. due to an occasional misconfiguration, database failure, etc.) log in as a super user and create a new account with System Administrator role.

Other options (less recommended): Otherwise you can use REST API to add the System Administrator role to any existing user. There are also instructions to patch roles directly in the database provided by a user.

Last modified: 20 April 2023