0 votes

Hi,

I would like to check and change description of all rule-based groups.

My idea: Run a scheduled task and check for "GroupMembershipUpdateRecirrenceType" or "Membership Type".

Based on this article https://adaxes.com/sdk/IAdmGroup2/#MembershipType_details I understand, this value can only be a string?

But I get this error, only numbers allowed? image.png

by (1.1k points)

1 Answer

0 votes
by (272k points)

Hello,

You are right about the only numbers being allowed for the Membership Type property. As the operation is one-time, there is no need to use a scheduled task. You can achieve the desired as follows:

  1. Launch Adaxes Administration console.
  2. Generate the Rule-based groups report (by default located in container Reports\All Reports\Groups) without selecting a scope (everywhere is selected by default).
  3. Select all the groups in the report and then right-click one of them.
  4. In the context menu, click Add/Modify Property.
  5. In the dialog that opens, select the Description property and click Next.
  6. Enter Rule-based group, no manual change! - %description% and click Finish. For each group, the %description% value reference will resolve into the group property value.
0

Hi,

thanks for your answer.

I would like to update also each new created rule-based group automatically - without checking reports each time.

I also thought to run and export report and read groups from there.

But for now I solved it with this logic image.png

0

Hello,

If you want the business rule to only trigger for rule-based groups, you need to only check the Membership Type property. Also, you should always keep the If operation succeeded condition in rules triggering after an operation. Finally, your business rule should look like the following: image.png

Related questions

0 votes
1 answer

Hi, our user objects are synced from HR system into AD and generated by a middleware - would a business rule "After creating a user" be triggered in this way or not? Looks ... for this? I need to control those tasks and would like to exit in case of issues

asked Jun 5, 2023 by wintec01 (1.1k points)
0 votes
1 answer

The script create two reports of inactive workstation operating systems. The report is too detailed to run from one of the adaxes reports. Basically how can I set the script up to ... sure How I did this but I can't find it now (probably something simple).

asked Nov 30, 2022 by mightycabal (1.0k points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

Hello! how do i manage do get adaxes to remove all groups from the user after one month? We have a Business Rule where you can add an end of Date when the Account ... value field the powershell script works but not with the +1 Month. Thanks for your help!

asked Jun 14, 2023 by eww ag (140 points)
0 votes
1 answer

I would like to have a script that removes the offboarded users from all teams groups

asked Jan 3 by bodson (20 points)
3,349 questions
3,050 answers
7,791 comments
545,066 users