0 votes

I would like to send (via email) a monthly report to managers so they can verify their team members. We have an issue with IT not finding out about role changes and terminations so my hope is this would help with that.

I have modified the 'Subordinates of user' report to add a few columns that are relevant for us.

How do I setup a schedule to send out this report to each person who has subordinates once a month (with only their subordinates)? Do I create a custom script that perhaps queries AD for a list of managers and then calls the report each time or is there a built-in way?

by (430 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

You need to create a Business Unit which will contain managers (the users who have subordinates) and specify the Business Unit as recipient for the Subordinates of user report scheduled for monthly generation. To do so:
i. Creating the Business Unit

  1. Launch Adaxes Administration Console.
  2. In the Console Tree, right-click your Adaxes service.
  3. In the context menu, navigate to New and click Business Unit.
  4. On the step 2 of the Create Business Unit wizard, click Add.
  5. Select Query Results.
  6. Enter the following LDAP filter into the Filter field: (&(sAMAccountType=805306368)(directReports=*))
  7. Click OK.
  8. Click Next and finish creating the Business Unit.

ii. Scheduling the Report

  1. Launch Adaxes Administration Console.
  2. In the Console Tree, right-click your Adaxes service.
  3. In the context menu, navigate to New and click Report Scheduled Task.
  4. On the step 2 of the Create Report Schedule wizard, select Monthly.

    Optionally, specify date and time for the report generation.
  5. Click Finish.
  6. In the Result Pane on the right, click New.
  7. In the Report field, specify the Subordinates of user report.
  8. Click Next.
  9. In the Subordinates of field, specify %distinguishedName%
  10. Click Next.
  11. Configure document options and click Next.
  12. Specify options for the report delivery and click Next.
  13. Click Add.
  14. In the Look in drop-down menu, select Business Units.
  15. Select the Business Unit created earlier.
  16. Click OK.
  17. Click Finish and save the changes. You should have something like the following:

Related questions

0 votes
1 answer

Hi, Is there a way I can create a rule based group or scheduled task in which the Direct reports of the direct reports are added to a group? So for example: CEO VP's ... in the list that no longer reports to a manager who reports to the CEO. Thanks in advance

asked Dec 22, 2022 by gareth.aylward (180 points)
0 votes
1 answer

I created a Report to report all Employees, and the following information: Name, Email, First Name, Last Name, Department, Office, Manager and Manager Email. ... {Name="ManagerEmail";Expression={(get-aduser -property emailaddress $_.manager).emailaddress}}

asked Jul 25, 2018 by rurbaniak (1.4k points)
0 votes
1 answer

I can add a security group as the users "manager" but I can't query members from that group I only have the option to query for manager "is" and not "includes". Using ... as a users manager, or is there a better way of adding multiple managers to a user?

asked Mar 13 by dominik.stawny (160 points)
0 votes
1 answer

Ideally looking to make this a rule based group, but report or business unit should work also. In our domain, service accounts become direct reports of the user who requested/ ... if a specific object is a/not a direct report. Is this possible? Thank you

asked Nov 14, 2023 by ThompsonAlex (40 points)
0 votes
1 answer

seting up a scheduled task to move users to thier correct OU. For some we can do this based on employee type and direct to a specific OU. For most of our users we will have to script this to move to the manager's OU.

asked Apr 12, 2023 by mightycabal (1.0k points)
3,351 questions
3,052 answers
7,793 comments
545,113 users