Dynamic Membership Rule for All Users with Direct Reports

Sara Aguilera 21 Reputation points

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.
20,550 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 100K Reputation points MVP

    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

    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

    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

    You can use: DirectReports -ne $null