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 (2.3k points)

1 Answer

0 votes
by (288k 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

Is it possible to create a business unit and have it auto populate with group owners in a specific OU. I've tried a few scripts to get propertie adm-managedbylist but none have worked so far.

asked 4 days ago by C27 (20 points)
0 votes
1 answer

Dear colleagues, can you please advise if it is possible to create (and update reqularly) business unit of computer objects based on a query to external SQL DB (hostnames stored in SQL)? Thanks!

asked Dec 14, 2022 by Dmytro.Rudyi (920 points)
0 votes
1 answer

I want to make a custom field in which you can select a person from the active directory, is this possible? For example, as in the field manager

asked Nov 18, 2022 by Alvares (100 points)
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)
3,542 questions
3,233 answers
8,227 comments
547,809 users