0 votes

We would like to have a business unit that is based on an adaxes custom attribute. I don't see a way of doing this. Do you all have any ideas?

by (1.8k points)

1 Answer

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

Hello Mark,

Unfortunately, there is no such possibility using Business Unit membership rules directly. As a solution, you can use a Scheduled Task and two PowerShell scripts. The scripts will add/remove a membership rule specifically for each user based on the custom attribute value. The task will look like the following: image.png Additionally, to make sure that after updating the custom attribute users are directly added/removed from the Business Unit, a Business Rule triggering After updating a user will be used: image.png If this approach meets your needs, we will provide you with the scripts.

0

Hi there, i am trying to accomplish this as well. Would it be possible to get a copy of the scripts?

0

Hello Richard,

Using scripts as described above is one of the approaches. However, it can be done without using scripts if you use an Active Directory attribute instead of an Adaxes custom one. In this case you will just need to specify a corresponding membership rule in the Business Unit. If required, the AD attribute can be updated based on a custom attribute update using a Business Rule like the following: image.png If you still want to use scripts, have a look at the following article from our repository: https://www.adaxes.com/script-repository/addremove-membership-rule-to-business-rule-for-target-object-s583.htm.

Related questions

0 votes
1 answer

I would like to know if it is possible to create a field in the web UI under user management to "assign" a machine to a user. I would like to be able to put the ... be moved to "workstation OU. Is there s custome field that can be used to accomplish this?

asked Oct 22, 2020 by copatterson (70 points)
0 votes
1 answer

This is for license purposes and we do not want them visible in the Adaxes portal.

asked Oct 22, 2021 by jfrederickwl (20 points)
0 votes
0 answers

It would be great if we could run a report on an OU and get the following information: Computer Name Local Accounts Whether or not the account is an administrator ... this is less important. Thanks in advance. Your support team is great and appreciated.

asked Sep 8, 2021 by mikek (80 points)
0 votes
1 answer

We are trying to extend our Adaxes management to O365 / Azure only user objects. Currently we use employee type to add traditional active directory accounts to business units and ... so, can this be used to create dynamic mail enabled security groups in O365?

asked May 3 by adaxes_user2 (20 points)
0 votes
1 answer

Hi: I am trying to create a business rule that will stop a value change based on the existing value. For example, if the telephonenumber is 1234 for a group and has to ... the value it uses is the incoming value of the change, not the existing value. Thanks!

asked Jun 3 by crobitaille (20 points)
2,757 questions
2,491 answers
6,523 comments
1,465,789 users