I was just wondering if there was any available documentation on how to create and/or edit Dynatrace user accounts via a command line interface? (Example, On the Hosting Linux Server that hosts the Web Application we could say run a ./dynatrace create-user -username "Test" -password "1234" ) or if there was anyway to manipulate it via Rest API?
The reason for asking this is we have yet to successfully integrate Dynatrace with Active Directory. As a stop gap I have built a script to automatically generate passwords and emails and wanted to take it a step further by taking that information and passing it to the Server that hosts the Dynatrace client to create these new accounts in a single click!
Any idea's or thoughts on this would be greatly appreciated.
Solved! Go to Solution.
You can use the Cluster Management API to create users:
@Patrick H. - Thank you! This is exactly what I was looking for.
This is really healpfull.
May I know, is there any API available to retrieve the user accounts and their timespent on (or) no. of times they accessed the DT UI screens. This would help the admins to check the frequent users of Dynatrace. I see there is audit log available to track the user id, but, we need to manually capture the no of login attempts. Having API would really help.
This is currently not possible via the API. If you go to the cluster Management Console of you Managed Cluster you can check all currently available endpoints: