I want to list the Active users per group and add them separately in a Group,and make it a Distribution list for my communications of Upgrades or any Tableau related. I don't want all the AD groups and Looking options if I can create selected Users using tabcmd/TSM directly into a Group?
I can't help you with your desired approach but we solve that same problem differently.
1) publish a Tableau workbook listing active users from the Postgres DB
2) our IT department connects to that workbook and downloads a CSV (scripted)
3) they update an existing Google group with the contents of the CSV (scripted)
4) I use the Google group to send notes to active Tableau Server users only