Introduction

In this article, you will learn how to bulk delete users in Google Workspace using xFanatical Foresight. Managing users within an organization can often involve removing accounts for employees who leave, transition to other departments, or no longer require access. Manually deleting each user can be time-consuming and prone to error. While Google Admin Console allows multi-user deletion, it's limited to up to 50 user deletion at a time.

With the bulk deletion feature in xFanatical Foresight, administrators can efficiently remove multiple user accounts at once, ensuring a clean and organized workspace without the hassle. Whether you need to manage seasonal staff, offboard employees, or update your organizational structure, this feature saves time and streamlines the process.

Illustration of how xFanatical Foresight automates bulk delete users in Google Workspace.
Illustration of how xFanatical Foresight automates bulk delete users in Google Workspace.

Introducing xFanatical Foresight Automation

xFanatical Foresight is a powerful automation platform designed specifically for Google Workspace. It enables administrators to bulk delete users from their organization effortlessly. Instead of manually removing users one by one through the Google Admin Console, you can quickly and efficiently delete multiple user accounts at once. This helps maintain a streamlined and organized workspace, ensuring that inactive or unnecessary accounts are promptly removed. With xFanatical Foresight’s user-friendly interface and robust automation, the entire process is fast, accurate, and hassle-free, saving time and improving overall management efficiency.

Automation Setup Instructions

In this section, we guide you through the automation setup in xFanatical Foresight. We have 2 ways to set up automation rules, Set up automation from a template and Set up automation from scratch. After completing the automation rule, verify whether the automation meets your requirements.

Set Up Automation From a Template

Set Up Automation From a Template

Supported plans: xFanatical Foresight Elite plan.

  1. Sign into xFanatical Foresight with your Google Admin account.
  2. Go to the Templates page.
  3. Search for Bulk delete Google Workspace users and click on it.

  4. In the Templates > Bulk delete Google Workspace users page, click Copy rule.
    In the Templates then, Bulk delete Google Workspace users page, click the 'Copy rule' button to duplicate the automation rule in xFanatical Foresight.
  5. For the first time use of the template rule, an dialog Action needed will display requesting necessary permissions required to copy the rule. Click Connect with Google and authorize the permissions.
  6. Upon authorization, a dialog titled Copy of Bulk delete Google Workspace users will display.
  7. Click Next. The rule is auto-configured. No configurations required. 
  8. Click Review.
  9. In the Review screen,
    In the Review page, provide rule name and create rule
    1. In Rule name, customize the automation rule name.
    2. Click Create.
  10. The rule is created in the Rules page. 
     xFanatical Foresight rule graph for bulk deleting users from the organization.
    xFanatical Foresight rule graph for bulk deleting users in Google Workspace.
Set Up Automation From Scratch

Set Up Automation From Scratch

Supported plans: xFanatical Foresight Elite and Professional (Legacy).

  1. Create a Google Sheet with a User Primary Email column. Once completed, click File > Download > Comma Separated Values (.csv) to download the Google Sheet as a CSV file.
    Create CSV file for users to be deleted in Google Workspace.
  2. Sign into xFanatical Foresight with your Google Admin account. 
  3. Go to the Rules page. 
  4. Click the New Rule The New Rule button in xFanatical Foresight button.
  5. In the Select a trigger screen, select the Data uploaded trigger.
    Selecting Data Uploaded trigger on Select a trigger screen
  6. Click the Choose a CSV file created in Step 1.
  7. Click the Next button.
  8. In the Select an action screen, select the the Delete user action
    select Delete user action for the rule.
  9. In the Edit actions > Delete user screen,
     Configure delete user action for delete users rule.
    1. In the Primary email field, select the User primary email variable from the Data uploaded trigger.
    2. Click Review.
  10. In the Review screen,
    In the Review page, provide rule name and create rule
    1. In Rule name, enter a rule name for easy identification.
    2. Click Create.
  11.  The automation rule is created.
    xFanatical Foresight rule graph for bulk deleting users from the organization.
    xFanatical Foresight rule graph for bulk deleting users in Google Workspace.
Verify Automation

Verify Automation

To ensure that your rule setup automates as expected, it’s essential to conduct a simple test. The following instructions demonstrate how xFanatical Foresight automates the bulk deleting of the users from organization.

  1. Go to xFanatical Foresight.
  2. Go to the Templates page.
  3. Search Bulk delete Google Workspace users and click on it.
  4. Click on the Download sample CSV file button, or if you set up automation from scratch, then just use the CSV file which you have created.
    Download sample CSV file from the template.
  5. In the downloaded CSV file, delete the sample data from the User Primary Email column. Then, enter the actual primary email of the user you want to delete from the organization.
  6. Go to the Rules Page.
  7. Click on the upload-button. of Bulk delete Google Workspace users rule.
    Upload CSV file to bulk delete Google Workspace users rule.
  8. Select the CSV file to upload, which is set up in Step 5 of the Verify Automation section.
  9. Wait for the CSV file to be processed and receive a notification in the top right of xFanatical Foresight. In the notification message, click View log.
     A notification will be triggered and sent upon the execution of the rule, informing users of the action taken.
  10. In the Logs > Log details page, the Rule history section explains the automation history and task xFanatical Foresight has automated on behalf of your Google account.
    A detailed log screen, sent upon the execution of the rule, informing users of the action taken.
  11. Sign into your Google Admin Console and verify that the automation has successfully deleted the users in Google Workspace.
    Verification for the rule execution.

Notes

  • Once the automation rule is configured, the admin needs to upload the CSV file. After that, xFanatical Foresight seamlessly takes over and deletes Google Workspace users from the organization in bulk.
  • Make sure the upload file to rule headers should be the same as sample CSV file downloaded from Bulk delete Google Workspace users template.
  • When a user is deleted from Google Workspace, their data is retained for 20 days. During this period, administrators can restore the user account and recover the data. Learn more about restoring a recently deleted user.
  • At each time a rule is executed, you will receive a notification in the app telling you how it has happened to your rules and whether rules ran successfully or not.

Conclusion

In conclusion, using xFanatical Foresight to bulk delete users from the organization enhances efficiency, accuracy, and overall management of Google Workspace. By automating the process, administrators can quickly and securely remove multiple users simultaneously, ensuring compliance with organizational policies and reducing the risk of errors. This solution eliminates the need for manual intervention, saving valuable time and improving user deprovisioning workflows, making it an essential tool for managing large-scale user changes seamlessly.

Try a 14-day free trial with xFanatical Foresight and manage your tasks.


Related Articles

For more article please visit our website: Articles