Hello,
To suspend all users in an OU on a certain date, follow this automation rule setup.
- Download the sample CSV file (attached) which includes only 1 column, Email, the primary email address.
- Rule 1: Bulk suspend users
- In the Select a trigger screen, select the Data uploaded trigger.
- In the Edit trigger > Data uploaded screen, drag and drop the sample CSV file.
- Click Next.
- In the Select an action screen, select the Suspend user action.
- In the Edit actions > Suspend user screen, in the Primary email field, select the Email variable from the Data uploaded trigger.
- Click Review.
- Name the rule "Bulk suspend users".
- Click Create.
- Rule 2: Schedule exporting all users in an OU.
- In the Select a trigger screen, select the Time trigger.
- In the Edit trigger > Time screen, in the Trigger time field, set the date time to retrieve users in an OU. It's the same as the datetime when the users will be suspended.
- Click Next.
- In the Select an action screen, select the List users action.
- In the Edit actions > List users screen,
- In the Organizational unit field, choose the OU where you plan to suspend users.
- Click Add next action.
- In the Select an action screen, select the Upload data to rule action.
- In the Edit actions > Upload data to rule screen,
- In the CSV file URL field, select the Users CSV Download Link variable from the List users action.
- In the Rule field, select the Bulk suspend users rule (Rule 1 above).
- Click Review.
- Name the rule "Schedule exporting all users in an OU".
- Click Create.
After you set the two rules, no further actions are required. xFanatical Foresight will suspend every user in the designated OU on the specified date.
If you have any questions, please feel free to ask.
Thank you.