0 votes

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 the "All Managers" doesn't help either.

image.png

image.png

It works just fine for groups and OUs:

image.png

Is there a way I can query if a initiator is a member of the security group assigned as a users manager, or is there a better way of adding multiple managers to a user?

by (280 points)

1 Answer

0 votes
by (294k points)

Hello Dominik,

First of all, the Manager property is single valued. It is impossible for a suer to have multiple managers. The restriction comes from AD and is not related to Adaxes. If you specify a group in the property, the only way to check its members is using a script. At the same time, All Managers is a virtual property in Adaxes used to search through all the managers in the chain. For example, if the user being processed has a manager, it will be checked first, then if that user has a manager, that user will also be checked and etc. If that is what you need, just change the operator to equals from includes.

Multiple managers

Related questions

0 votes
1 answer

I have tried it using the Custom Commands Action "Add the user to a group", which only allows me to add the user to one group at a time, and can't use the multiple DNs that the ... I can't get it to work. Could you assist me in finding the best way to do this?

asked Jan 16 by dominik.stawny (280 points)
0 votes
1 answer

Every manager has an overview, where you can see to whom he/she is reporting to and who is reporting to the manager. This will be visible in Microsoft teams ... purpose for this is to use it for email communication (account/password expiration notifications).

asked Jul 4, 2022 by RoBeDi (60 points)
0 votes
1 answer

I'm currently writing an "After User Creation" rule and I have a PowerShell script that adds the newly created, on-premises synced user to a handful of cloud ... powershell cmdlet that fails. I need to use PowerShell for the additional condtional flexibility.

asked Dec 13 by smcfarland (60 points)
0 votes
1 answer

Hi all, How can I add a user directly to an Entra ID group? I understand it might be possible via CLI e.g. Add-AzureADGroupMember - But is there a built-in GUI method via Business Rules? Thanks, David

asked Oct 2 by dshortall (80 points)
0 votes
0 answers

We have a multiforest set up. One of the domains is a non hybrid. Whenever a user is created in that domain it gives an error saying- 'Property 'ms-exch-target- ... active Directory schema'. How can we write an exception while adding to that non-hybrid domain?

asked Oct 31, 2022 by Aishwarya Gavali (40 points)
3,588 questions
3,277 answers
8,303 comments
548,097 users