Change to ActiveDirectory will require all new API keys for TeamCity?


We want to switch to using Active Directory for our OctopusDeploy server but have so far created a large number of teamcity builds triggering our projects.

I read into moving to AD and noted that it would require some manual intervention to clean up duplicate users initially.

This makes me assume that I will also need to create new API keys for teamcity triggers?

Is this the case?



Hi Anthony,

Thanks for getting in touch! If you delete the user whose API Key is triggering your builds, then you will have to create a new API Key with whichever new user you want to run your builds with. If you don’t delete that account (cause it wont be duplicate of any AD account), those API Keys will still work, even though that account wont be able to log into the Web portal.

Hope that helps!