Home > get-started > Create App Profiles

Export to PDF

Create App Profiles

To create a custom Google app to connect Confidence Platform for Google to your Google tenant, you can refer to the following sections for the required permissions and configurations for your custom app.

For details on how to create a Google app, refer to the section in the AvePoint Online Services user guide. When the app is in place, refer to the and sections to configure an app profile for the custom Google app.

For details custom Google app permissions required by each module on this platform, refer to the following sections.

Permissions for Administration

To ensure the data retrieval and management in the Administration module, complete the following configurations:

  1. Enable the following APIs in the projects where the Google service accounts are created:

    • Admin SDK API

    • Cloud Identity API

    • Enterprise License Manager API

    • Google Drive API

  2. Configure the following scopes in the OAuth scopes field:

ScopePurpose
https://www.googleapis.com/auth/admin.datatransferTransfer data of users who will be deleted to existing users
https://www.googleapis.com/auth/admin.directory.domain.readonlyGet domain information for object details or filters
https://www.googleapis.com/auth/admin.directory.groupGet and update user-group membership
https://www.googleapis.com/auth/admin.directory.group.readonlyScan all groups for user-group membership
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyGet organization unit for object details and filters
https://www.googleapis.com/auth/admin.directory.rolemanagementShow user role assignments in user details
https://www.googleapis.com/auth/admin.directory.userGet, create, and update users
https://www.googleapis.com/auth/admin.directory.user.readonlyScan all users into the product
https://www.googleapis.com/auth/admin.directory.userschemaShow and edit customer schema in user details
https://www.googleapis.com/auth/admin.reports.audit.readonlyGet audits for Google objects
https://www.googleapis.com/auth/admin.reports.usage.readonlyGet object usage status
https://www.googleapis.com/auth/apps.licensingGet user license assignments and assign, edit, and remove licenses for users
https://www.googleapis.com/auth/cloud-identity.groupsGet group details
https://www.googleapis.com/auth/cloud-identity.orgunitsChange organization unit for shared drives
https://www.googleapis.com/auth/driveGet, create, and edit shared drives
https://www.googleapis.com/auth/drive.readonlyScan all shared drives into the product
  1. Assign the Super Admin permission to the admin account used for custom app profile creation.

Permissions for Governance

To ensure the data retrieval and management in the Governance module, complete the following configurations:

  1. Enable the following APIs in the projects where the Google service accounts are created:

    • Admin SDK API

    • Enterprise License Manager API

    • Google Drive API

  2. Configure the following scopes in the OAuth scopes field:

ScopePurpose
https://www.googleapis.com/auth/admin.datatransferTransfer data in user lifecycle management
https://www.googleapis.com/auth/admin.directory.domain.readonlyRetrieve domain for service creation
https://www.googleapis.com/auth/admin.directory.groupAdd user to group in user provisioning
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groups from the source
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve domain for service creation
https://www.googleapis.com/auth/admin.directory.userCreate user in user provisioning
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve users from source
https://www.googleapis.com/auth/admin.directory.userschemaCreate user in user provisioning
https://www.googleapis.com/auth/apps.licensingAssign licenses in user provisioning
  1. Assign the Super Admin permission to the admin account used for custom app profile creation.

Permissions for Risk Intelligence

To ensure the data retrieval and management in the Risk Intelligence module, complete the following configurations:

  1. Enable the following APIs in the projects where the Google service accounts are created:

    • Admin SDK API

    • Cloud Asset API

    • Cloud Identity API

    • Cloud Resource Manager API

    • Drive Labels API

    • Google Drive API

    • Identity and Access Management (IAM) API

  2. Configure the following scopes in the OAuth scopes field:

ScopePurpose
https://www.googleapis.com/auth/admin.directory.domain.readonlyRetrieve domains in your domain.
https://www.googleapis.com/auth/drive.admin.labels.readonlyRetrieve all information of labels on files in drives for sensitive definition.
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groups in your domain.
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyGet and compare organization conditions in Google search profile.
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve users in your domain.
https://www.googleapis.com/auth/admin.reports.audit.readonlyRetrieve DLP (Data Loss Prevention) activities in your domain.
https://www.googleapis.com/auth/admin.reports.usage.readonlyRetrieve activities in your domain.
https://www.googleapis.com/auth/cloud-identity.userinvitations.readonlyRetrieve unmanaged user information.
https://www.googleapis.com/auth/driveDiscovery folders and files under My Drive and Shared Drives for reports.
  1. Assign the Super Admin permission or the following permissions to the admin account used for custom app profile creation:

    • Admin API privileges

      • User > Read

      • Domain Management

    • Admin console privileges:

      • Drive and Docs > Settings

      • Reports

      • Data Classification > Manage Labels

  2. Grant the following permissions to the Google service account:

    • resourcemanager.organizations.get

    • resourcemanager.organizations.getIamPolicy

    • resourcemanager.folders.get

    • resourcemanager.folders.getIamPolicy

    • resourcemanager.folders.list

    • resourcemanager.projects.get

    • resourcemanager.projects.getIamPolicy

    • resourcemanager.projects.list

    • cloudasset.assets.listResource

    • cloudasset.assets.searchAllIamPolicies

    • serviceusage.services.use

    • resourcemanager.organizations.setIamPolicy

    • resourcemanager.folders.setIamPolicy

    • resourcemanager.projects.setIamPolicy

Permissions for Policy Enforcement

To ensure the data retrieval and management in the Policy Enforcement module, complete the following configurations:

  1. Enable the following APIs in the projects where the Google service accounts are created:

    • Admin SDK API

    • Google Drive API

    • Drive Labels API

    • Cloud Identity API

    • Gmail API

    • Google Setting API

  2. Configure the following scopes in the OAuth scopes field:

ScopePurposeWhich rule needs this
https://www.googleapis.com/auth/admin.directory.domain.readonlyRetrieve object domainsAll rules
https://www.googleapis.com/auth/admin.directory.userUpdate user propertiesInactive user account detection
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersAdmin role assignment restriction
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersDrive user / group restriction
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersInactive user account detection
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersManager / Content manager restriction
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersMember invitation restriction
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersMembership restriction
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersOrphaned users drive permission detection
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersShared drive creation restriction
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve usersShared permission expiration enforcement
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsAdmin role assignment restriction
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsDrive user / group restriction
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsInactive user account detection
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsManager / Content manager restriction
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsMember invitation restriction
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsMembership restriction
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsShared drive creation restriction
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsShared permission expiration enforcement
https://www.googleapis.com/auth/admin.directory.orgunit.readonlyRetrieve organization unitsOrphaned users drive permission detection
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsDrive user / group restriction
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsExternal access to groups restriction
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsExternal group member detection
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsGroup with external users detection
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsManager / Content manager restriction
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsMember invitation restriction (within 30 days)
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsMembership restriction
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsOrphaned users drive permission detection
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsSharing link restriction
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groupsUser permission replacement
https://www.googleapis.com/auth/admin.reports.audit.readonlyRetrieve drive activitiesManager count restriction
https://www.googleapis.com/auth/admin.reports.audit.readonlyRetrieve drive activitiesManager enforcement
https://www.googleapis.com/auth/admin.reports.audit.readonlyRetrieve drive activitiesMember invitation restriction
https://www.googleapis.com/auth/admin.directory.rolemanagementRetrieve role assignmentsAdmin role assignment restriction
https://www.googleapis.com/auth/apps.groups.settingsRetrieve and update group settingsExternal access to groups restriction
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesDrive user / group restriction
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesEdit permission restriction for sharing links
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesExternal sharing expiration enforcement
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesExternal user manager / content manager permission restriction
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesExternal user monitor
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesFile permission inheritance protection
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesMember invitation restriction
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesOrphaned users drive permission detection
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesShadow user detection
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesShared drive settings restriction
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesSharing link restriction
https://www.googleapis.com/auth/driveRetrieve, update, and delete drivesUser permission replacement
https://mail.google.com/Retrieve mailbox forwarding settingsExternal email forwarding restriction
https://www.googleapis.com/auth/drive.readonlyRetrieve drive permissionsManager count restriction
https://www.googleapis.com/auth/drive.readonlyRetrieve drive permissionsManager enforcement
  1. Assign the Super Admin permission or the following permissions to the admin account used for custom app profile creation:

    • Admin API privileges

      • User > Read

      • Domain Management

    • Admin console privileges:

      • Drive and Docs > Settings

      • Reports

      • Data Classification > Manage Labels

Permissions for Information Management

To ensure the data retrieval and management in the Information management module, complete the following configurations:

  1. Enable the following APIs in the projects where the Google service accounts are created:

    • Admin SDK API

    • Drive Labels API

    • Google Drive API

  2. Configure the following scopes in the OAuth scopes field:

ScopePurpose
https://www.googleapis.com/auth/admin.directory.domain.readonlyRetrieve domains related to your customers.
https://www.googleapis.com/auth/admin.directory.group.readonlyRetrieve groups in your domain.
https://www.googleapis.com/auth/admin.directory.user.readonlyRetrieve users in your domain.
https://www.googleapis.com/auth/admin.reports.audit.readonlyRetrieve drive activities report.
https://www.googleapis.com/auth/admin.reports.usage.readonlyRetrieve the size and activity usage of all My Drive and Shared Drives.
https://www.googleapis.com/auth/driveCreate, update, and delete folders and files under My Drive and Shared Drives.
https://www.googleapis.com/auth/drive.admin.labelsCreate, update, and delete Google Drive labels in your organization.
https://www.googleapis.com/auth/drive.labelsRetrieve all information of labels on files.
https://www.googleapis.com/auth/drive.readonlyRetrieve all information of files under My Drive and Shared Drives.
  1. Assign the following permissions to the admin account used for custom app profile creation:

    • Admin API privileges

      • User > Read

      • Group > Read

      • Domain Management

      • Reports

    • Admin console privileges:

      • Drive and Docs > Settings

      • Data Classification > Manage Labels