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 expires.

2023-06-14_08h49_43.png After that we want that after 1 month all User groups are removed, but for whatever reason that does not work.

Am i doing something wrong here? Without the + 1M in value field the powershell script works but not with the +1 Month. 2023-06-14_08h51_05.png

Thanks for your help!

by (140 points)

1 Answer

by (305k points)
+1 vote

Hello,

To achieve the desired, use a scheduled task like below. image.png Condition settings image.png

by (140 points)
0

Thank you very much!

Related questions

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

I have a scheduled task that runs a Powershell script against an AD group, "Group 1". I need to get all of the members of Group 1, and add them to Group 2. The ... identity in the error message start with 'user;'? What is the correct way to accomplish this?

asked Aug 27, 2019 by ngb (360 points)
0 votes
1 answer

HI Support, I'm looking for a business Rule that remove a user from a couple of groups after the User is added to a group. ie 1. The User MaxMi is added to the ... not able to create a powershell scripts for removing the added user from the other Groups. Thx,

asked Jan 4, 2016 by Napoleon (700 points)
0 votes
1 answer

I am using this script to remove all users from groups when they are terminated. This script doesn't remove users from Azure only groups just on prem. How would I change ... .LogMessage("Can not remove $U from $GN"+$_.Exception.Message, "Information") } }

asked Jun 18, 2024 by mightycabal (1.1k points)
0 votes
1 answer

Is there a way to have a Scheduled Task run a Powershell script on the 1st and 3rd Wednesday of every month? Adaxes Version 2017.2 3.8.14823.0

asked Jun 24, 2019 by hgletifer (1.3k points)
0 votes
1 answer