Google Workspace - Change Users OU
  • 19 Sep 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Google Workspace - Change Users OU

  • Dark
    Light
  • PDF

Article summary

Google Workspace - Change Users OU moves a user account into an OU in Google Workspace.

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

Note:

General Settings

  • Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.

  • Use stored credentials from Google Workspace adapter - Select this option to use the first connected Google Workspace adapter credentials.
    • When you select this option, the Select Adapter Connection drop-down is available, and you can choose which adapter connection to use for this Enforcement Action.
    Note:

    To use this option, you must successfully configure a Google Workspace adapter connection.

Required Fields

These fields must be configured to run the Enforcement Set.

  • Organization Unit - The name of the OU you want to move the user account into. The format must contain all levels of the OU hierarchy seperated by a "/" character starting with the root level (which is represented by the "/" character).
    If you need to move the users to the root OU, enter only the / character in this field.
    GoogleOUs

  • Compute Node - The Axonius node to use when connecting to the specified host. For more details, see Connecting Additional Axonius Nodes.

Additional Fields

These fields are optional.

  • Gateway Name - Select the Gateway through which to connect to perform the action.

Connection and Credentials

When Use stored credentials from the adapter is toggled off, some fields are required to create the connection, while other fields are optional.

  • Email of an admin account to impersonate - The email of your Google Workspace admin.
  • JSON Key pair for the service account - Upload the JSON file you have created for your service account. For more details, refer to Google Workspace adapter.

APIs

Axonius uses the Google Workspace - Manage user accounts API.

Required Permissions

This action requires that you enter the following scope in your Google account's Domain Wide Delegation for the Client ID used for this connection (inside the JSON file):
'https://www.googleapis.com/auth/admin.directory.user'


For more details about other Enforcement Actions available, see Action Library.


Was this article helpful?