Introduction
In this article, you will learn how to bulk show and hide users in Google Workspace using xFanatical Foresight. As organizations grow, managing user visibility in Google Workspace becomes essential for privacy, security, and organizational policies. Hiding users prevents them from appearing in the global directory, ensuring sensitive accounts remain private and reducing unnecessary clutter. Manually hiding users one by one through the Google Admin Console can be time-consuming and inefficient.
Let’s take an example: A company wants to hide temporary contractor accounts and inactive employees from the global directory to maintain a clean and secure user list. Doing this manually for each user would be tedious and prone to errors. With xFanatical Foresight’s bulk user-hiding feature, IT admins can efficiently manage user visibility across multiple accounts, ensuring compliance with organizational policies while saving valuable time.
Illustration of how xFanatical Foresight automates the bulk hiding of users in Google Workspace.
Introducing xFanatical Foresight Automation
xFanatical Foresight is a powerful automation platform designed specifically for Google Workspace. It enables administrators to efficiently hide users in bulk in Google Workspace, ensuring privacy and compliance with organizational policies. Instead of manually hiding users one by one in the Google Admin Console, you can seamlessly conceal multiple accounts at once, preventing them from appearing in the global directory. This enhances data security, reduces unnecessary visibility, and streamlines directory management. With xFanatical Foresight’s easy interface and powerful automation, bulk user hiding is fast, accurate, and hassle-free.
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
Supported plans: xFanatical Foresight Elite plan.
- Sign into xFanatical Foresight with your Google Admin account.
- Go to the Templates page.
- Search for Bulk hide users from directory and click on it.
- In the Templates > Bulk hide users from directory page, click Copy rule.
- 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.
- Upon authorization, a dialog titled Copy of bulk hide users from directory will display.
- Click Next. The rule is auto-configured. No configurations required.
- Click Review.
- In the Review screen,
- In Rule name, customize the automation rule name.
- Click Create.
- The rule is created in the Rules page.
xFanatical Foresight rule graph for bulk hiding users in Google Workspace.
Set Up Automation From Scratch
Supported plans: xFanatical Foresight Elite and Professional (Legacy).
- 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.
- Sign into xFanatical Foresight with your Google Admin account.
- Go to the Rules page.
- Click the New Rule
button.
- In the Select a trigger screen, select Data Uploaded trigger.
- Click the Choose a CSV file created in Step 1.
- Click the Next button.
- In the Select an action screen, select Update user directory sharing action.
- In the Edit actions > Update user directory sharing screen,
- In the Primary email field, select the User primary email variable from the Data uploaded trigger.
- In the Share user in the directory field, select false to hide the user.
- Click Review.
- In the Review screen,
- In Rule name, give your rule a name for easy identification.
- Click Create.
- The automation rule is created.
xFanatical Foresight rule graph for bulk hiding users in Google Workspace.
Verify Automation
To ensure that your rule setup automates as expected, it’s essential to conduct a simple test. The following instructions illustrate how xFanatical Foresight automates the bulk hiding of users in Google Workspace, streamlining user visibility management across the organization.
- Sign in to your Gmail account, click on Compose.
- In the To field, begin typing the user’s name or email.
- Check if the user appears in the autocomplete list to confirm whether they are currently visible in the organization’s directory.
- Go to xFanatical Foresight.
- Go to the Templates page.
- Search the Bulk hide users from directory template and click on it.
- Click on the Download sample CSV file button, or if you set up automation from scratch, then use the CSV file which you have created.
- In the downloaded CSV file, replace the sample data with the actual primary email addresses of the users whose directory sharing settings need to be updated in Google Workspace.
- Go to the Rules page.
- Click on the
of Bulk hide users from directory rule.
- Select the CSV file to upload, which is set up in Step 5.
- 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.
- 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.
- Check the user’s Gmail inbox and confirm that the automation has successfully updated the directory sharing settings, effectively hiding the user from the organization’s directory.
Notes
- Once the admin uploads CSV file to the rule, xFanatical Foresight seamlessly takes over, automatically hiding users in bulk within Google Workspace, ensuring efficient directory management with minimal effort.
- Make sure the upload file to rule headers should be the same as sample CSV file downloaded from Bulk hide users from directory template.
- In the Google Admin Console, go to Users > [User Name] > User Information > Directory sharing to review and verify the user's directory sharing settings. This ensures the user's visibility is correctly configured based on your organization's preferences.
- To make users visible again, simply update the Share user in the directory field value to true, ensuring they reappear in the Google Workspace directory seamlessly.
- 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
Bulk hiding users in Google Workspace helps administrators maintain privacy, enhance security, and streamline user visibility management. Instead of manually adjusting directory settings for each user, xFanatical Foresight automates the process, ensuring accuracy and efficiency. By leveraging this automation, IT teams can effortlessly control which users appear in the directory, reducing administrative workload and improving organizational management.
Try a 14-day free trial with xFanatical Foresight and manage your tasks.
Related Articles
For more article please visit our website: Articles