question

SaraAguilera-2959 avatar image
0 Votes"
SaraAguilera-2959 asked ToniTong-2102 answered

Dynamic Membership Rule for All Users with Direct Reports

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!

azure-ad-tenant
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
0 Votes"
michev answered EibaHaddad-8208 commented

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

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How then would you create a dynamic group for all managers?

0 Votes 0 ·
michev avatar image michev SaraAguilera-2959 ·

You cannot create a dynamic one. You can however list all users with at least one "direct report" and add them all to some group, repeat periodically to ensure all managers are added as needed.

1 Vote 1 ·

How do you list all users with at least one direct report? Appreciate your help.

0 Votes 0 ·
Show more comments
StuartJSeed-7825 avatar image
0 Votes"
StuartJSeed-7825 answered

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?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ToniTong-2102 avatar image
0 Votes"
ToniTong-2102 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.