0 votes


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)
edited by

1 Answer

+1 vote
by (277k points)


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


Thank you very much!

Related questions

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

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 (220 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 1 day ago by mightycabal (1.0k points)
0 votes
1 answer

I have a feild called Decommissioned Date and I can not figure out how to run a scheduled task the day after that date. So If an account got decommissioned today I want the task to run tomorrow.

asked Jan 9, 2020 by hgletifer (1.3k points)
3,411 questions
3,108 answers
545,849 users