How to export from Orchestrator, the users inactive for more than 90 days?
Issue Description: The option to export a list of users that were inactive for more than 90 days, is not found.
Resolution: The below query can be run in the Orchestrator database,
SELECT * FROM AuditLogs A JOIN (SELECT * FROM UserAccounts where DATEDIFF(DD,ISNULL(LastLoginTime,0), GETDATE()) >90) M ON A.UserId=M.UserId
This query returns a list of users who have not logged in to Orchestrator for 90 days. The value can be changed in the query as needed.