Test Manager - Change Tenant

How to change tenant settings in Test Manager ?

To know what tenant is configured in Test Manager, navigate to the installation directory (typically C:\Program Files (x86)\UiPath\TestManager) and open appsettings.Production.json file in NotePad or NotePad++.

Section "Orchestrator" will be visible, under which the tenant name is displayed. See below screenshot for reference -


To change the tenant, follow below steps -

  1. Open C:\Program Files (x86)\UiPath\TestManager\appsettings.Production.json and modify the "Tenant" value to use new tenant name
  2. Run "select * from [Orchestrator_database].[dbo].[Tenants]" table to grab the Tenant ID from "[Key]" column and replace it in the appsettings.Production.json file.

See below screenshot for reference -

If the issue still persists, run below SQLs on TestManager database -

  • delete [testmanager_db].[tmusr].[userdata]
  • delete [testmanager_db].[tmusr].[users]

This applies to Test Manager versions 2020.4 and 2020.10 where multi-tenancy is not supported.