Dynamic Membership Rule for All Users with Direct Reports

Sara Aguilera 21 Reputation points
2021-03-04T18:13:18.907+00:00

Looking for rule syntax to capture all users who have direct reports. Tried 'Direct Reports -ne NULL' and 'Direct Reports -like "*"'

New at this. Thanks!

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,666 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 96,161 Reputation points MVP
    2021-03-04T18:38:11.073+00:00

    That's not doable afaik, you can only use this clause for specific person's direct reports.


3 additional answers

Sort by: Most helpful
  1. Stuart J. Seed 1 Reputation point
    2022-07-12T11:31:07.563+00:00

    Any progress on this? Having a dynamic group of all managers would be very useful - all I can think of at the moment is to add a custom attribute and populate with 'isManager' based on results from our HRIS software, not very dynamic as we would need to keep importing as and when they change roles.

    How about something along the lines of ' if direct reports is not null' - that sort of logic?

    0 comments No comments

  2. Toni Tong 1 Reputation point
    2022-07-25T00:22:24.203+00:00

    same requirement here. I need a dynamic group with all staff who has direct reports to them.

    0 comments No comments

  3. Raphael Porto 1 Reputation point
    2022-12-29T20:23:57.183+00:00

    You can use: DirectReports -ne $null