Skip to main content

Box Connector

EmpowerID Box connector allows organizations to bring the user and group data in their Box system to EmpowerID, where it can be managed and synchronized with data in any connected back-end user directories. Once connected, you can manage this data from EmpowerID in the following ways:

  • Account Management

    • Inventory Box user accounts

    • Create, Update and Delete Box user accounts

    • Enable and Disable Box user accounts

  • Group Management

    • Inventory Box groups

    • Inventory Box group memberships

    • Create and Delete Box groups

    • Add and Remove members to and from Box groups

  • Attribute Flow
    Users in Box are inventoried as accounts in EmpowerID. The below table shows the attribute mappings of Box user attributes to EmpowerID Person attributes.

Attribute Flow Mappings
Box AttributeBox TableCorresponding EmpowerID AttributeDescription
NameUserNameName of the user
FirstNameUserFirstNameFirst name of the user
DisplayNameUserFriendlyNameDisplay Name of the user
LoginUserLoginLogin of the user
StatusUserActiveSpecifies whether the user is active
CompanyNameUserCompanyCompany name of the user
DescriptionUserDescriptionDescription of the user
LanguageUserPreferredLanguageLanguage of the user
Job_TitleUserTitleTitle of the user
PhoneUserTelephonePhone number of the user

Additionally, EmpowerID provides Provisioning policies or Resource Entitlements that allow you to automatically provision Box accounts for any person within your organization based on your policy requirements.

Prerequisites

In order to connect EmpowerID to Box, the following prerequisites need to be met:

  1. Your organization must have an enterprise Box account.
  2. You must supply the credentials for the Box administrator account. EmpowerID uses this account as a connection proxy to manage Box on your behalf.

Procedure

Step 1 – Register EmpowerID as an application in Box

To register EmpowerID as an application in box, follow the below steps:

  1. Login in https://app.box.com/developers/console.

  2. Click Dev Console and then click Create New App.

  3. Select Custom App.

  4. On the Authentication Method page, select Server Authentication with JWT and type the name of the app.

  5. Click Create App button. This will take you to the new app configuration page. Box creates the app and generates the developer token.

  6. Scroll down the configuration page and under App Access Level select Enterprise.

  7. Scroll down a bit more on configuration page and under Application scopes select the following options:

    • Write all files and folders stored in Box
    • Manage Users
    • Manage groups
    • Manage enterprise properties
  8. Under Advanced features select Make API calls using the as-user header and generate user access tokens.

  9. Under Add and Manage Public Keys, click Generate a Public/Private Keypair. When you click Generate a Public/Private Keypair, Box will send a Verification code to the mobile number linked to the account.

  10. Download the JSON file generated by “Generate a Public/Private Keypair.”

  11. Save your changes and then point your browser to https://app.box.com.

  12. Select Admin Console from sidebar.

  13. Select Enterprise Settings and then click the Apps tab.

  14. Under Custom Applications, Authorize New App and wait for some time before proceeding to the next step.

  15. Copy the value for the ClientID of the application from the JSON file you downloaded above.

  16. Paste the ClientID in the API Key field of the App Authorization dialog and then click Next.

  17. Click Authorize.

After registering EmpowerID in Box, the next step is to create a Box account store in EmpowerID.

Step 2 – Create a Box account store in EmpowerID

  1. On the navbar, expand Admin > Applications and Directories and select Account Stores and Systems.

  2. On the Account Stores page, click the Actions tab and then click Create Account Store.

  3. Under System Types, search for Box.

  4. Click Box to select the type and then click Submit.

  5. On the Box Settings page that appears, do the following:

    • Enter a Name in the Name field.

    • Enter a UPN Suffix in the UPN Suffix field.

    • Click Choose File and upload the application JSON file you downloaded from Box.

    • Click Submit.

  6. EmpowerID creates the account store and the associated resource system. The next step is to configure the attribute flow between the account store and EmpowerID.

Step 3 – Configure Attribute flow

EmpowerID allows configuring attribute synchronization rules between the Linux system and the EmpowerID Identity Warehouse. Attribute flow rules define how attributes are synchronized and can be weighted for prioritization across multiple sources.

Attribute Flow Options

  • No Sync: No synchronization occurs between EmpowerID and the Linux system.
  • Bidirectional Flow: Changes in either system are reflected in the other.
  • Account Store Changes Only: Changes made in Linux sync to EmpowerID but not vice versa.
  • EmpowerID Changes Only: Changes made in EmpowerID sync to Linux but not vice versa.

CRUD Operations

  • Create: Creates an attribute if it does not exist.
  • Update: Updates an existing attribute.
  • Delete: Removes an attribute value.

Configuring Attribute Flow

  1. Navigate to Account Stores and Systems and locate the newly created Linux account store.
  2. Click on the Account Store link.
  3. Select the Attribute Flow Rules tab.
  4. Adjust the synchronization direction using the Attribute Flow dropdown.
  5. Modify CRUD operation scores as needed to prioritize attribute sources.
  6. Save your changes.
info

EmpowerID only considers scores for attribute CRUD operations when multiple account stores with the same user records are connected to EmpowerID, such as would be the case if an HR System and this account store were being inventoried by EmpowerID.

Now that the attribute flow has been set, the next steps include configuring the account store and enabling EmpowerID to inventory it.

Step 4 – Configure account store settings

  1. On the Account Store and Resource System page, select the Account Store tab and then click the pencil icon to put the account store in edit mode.

    This opens the edit page for the Box account store. This page allows you to specify the account proxy used to connect EmpowerID to your Box account as well as how you want EmpowerID to handle the user information it discovers in Box during inventory. Settings that can be edited are described in the table below the image.

    Account Store Settings
    SettingDescription
    General Settings
    IT Environment TypeAllows you to specify the type of environment in which you are creating the account store.
    Account Store TypeAllows you to specify the type of account store you are creating.
    Option 1 Specify an Account ProxyAllows you to change the credentials for the account that EmpowerID uses to connect to and manage the account store.
    Option 2 Select a Vaulted Credential as Account ProxyAllows you to use a credential that you have vaulted in EmpowerID as the account that EmpowerID uses to connect to and manage the account store.
    Inventoried Directory ServerAllows you to select a connected server as the directory server for the account store.
    Is Remote (Cloud Gateway Connection Required)This setting appears for account stores with local directories, such as Active Directory, LDAP, SAP, etc. When enabled, this tells EmpowerID to use the Cloud Gateway Connection for that account store. The Cloud Gateway Connection must be installed on an on-premise machine. For installation information, please see Installing the EmpowerID Cloud Gateway Client.
    Is Visible in IAM ShopSpecifies whether the account store can be used to filter objects relative to the account store, such as groups, to users searching for resources in the IAM Shop.
    Authentication and Password Settings
    Allow Password SyncEnables or disables the synchronization of password changes to user accounts in the domain based on password changes for the owning person object or another account owned by the person. This setting does not prevent password changes by users running the reset user account password workflows.
    Queue Password ChangesSpecifies whether EmpowerID sends password changes to the Account Password Reset Inbox for batch processing.
    Password Manager Policy for Accounts without PersonSpecifies the Password Manager Policy to be used for user accounts not joined to an EmpowerID Person.
    Provisioning Settings
    Allow Person Provisioning (Joiner Source)Specifies whether EmpowerID Persons can be provisioned from user accounts in the account store.
    Allow Attribute FlowSpecifies whether attribute changes should flow between EmpowerID and the account store.
    Allow Provisioning (By RET)Allows or disallows the Resource Entitlement (RET) Inbox process to auto-provision accounts for this domain for users who receive RET policy-assigned user accounts, but have not yet had them provisioned.
    Allow Deprovisioning (By RET)Allows or disallows the Resource Entitlement Inbox process to auto de-provision accounts for this domain for users who still have RET policy-assigned user accounts, but no longer receive a policy that grants them a user account in the domain. De-provisioning only occurs if the de-provision action on the Resource Entitlement policy is set to De-Provision.
    Max Accounts per PersonThis specifies the maximum number of user accounts from this domain that an EmpowerID Person can have linked to them. This prevents the possibility of a runaway error caused by a wrongly configured Join rule. It is recommended that this value be set to 1 unless users will have more than 1 account and you wish them to be joined to the same person.
    Business Role Settings
    Allow Business Role and Location Re-EvaluationSpecifies whether Business Role and Location re-evaluation should occur for the account store
    Business Role and Location Re-Evaluation OrderSpecifies the order of the account store for re-evaluating Business Roles and locations
    Inventory Auto Provision OUs as IT System LocationsSpecifies whether EmpowerID should automatically provision external OUs as IT System locations
    Inventory Auto Provision External Roles as Business RolesSpecifies whether EmpowerID should provision Business roles for external account store roles
    Default Person Business RoleSpecifies the default EmpowerID Business Role to be assigned to each EmpowerID Person provisioned from the user accounts in the account store.
    Default Person Location (leave blank to use account container)Specifies the default EmpowerID Location to be assigned to each EmpowerID Person provisioned from the user accounts in the account store.
    Group Settings
    Allow Account Creation on Membership RequestSpecifies whether EmpowerID creates user accounts in the account store when an EmpowerID Person without one requests membership within a group belonging to the account store.
    Recertify External Group Changes as DetectedSpecifies whether detected group changes should trigger recertification.
    SetGroup of Groups to Monitor for Real-Time RecertificationSpecifies the SetGroup or Query-Based Collection with groups that need to be recertified when changes to the membership of one or more of those groups occurs. The setting must be set to the GUID of the target SetGroup. If the GUID for a specific SetGroup is not set and Recertify External Group Changes as Detected is enabled for the account store, EmpowerID processes all security group memberships for recertification.

    Group recertification is processed by the Continuous Group Membership Recertification permanent workflow. This workflow must be enabled for recertification to occur.
    Directory Clean Up Enabled
    Directory Clean Up EnabledSpecifies whether the SubmitAccountTermination permanent workflow should claim the account store for processing account terminations. When enabled, accounts in the account store that meet the qualifications to be marked for deletion are moved into a special OU within the external directory, disabled and finally deleted after going through an automated approval process. This process involves setting a number of system settings in EmpowerID and requires multiple approvals by designated personnel before an account is finally removed from the account store.
    Report Only Mode (No Changes)When enabled, a report of what the Directory Clean Up process would do is written to the log. The process itself is ignored and all accounts are set to Termination Pending,
    Special Use Settings
    Automatically Join Account to a Person on Inventory (Skip Account Inbox)Specifies whether EmpowerID should attempt to join user accounts in the account store to an existing EmpowerID Person during the inventory process. When enabled, the Account Inbox is bypassed.
    Automatically Create a Person on Inventory (Skip Account Inbox)Specifies whether EmpowerID should create new EmpowerID Persons from the user accounts discovered in the account store during the inventory process. When enabled, the Account Inbox is bypassed.
    Queue Password Changes on FailureSpecifies whether EmpowerID should send password changes to the Account Password Reset Inbox only when the change fails.
    Inventory Settings
    Inventory Schedule IntervalSpecifies the time span that occurs before EmpowerID performs a complete inventory of the account store. The default value is 10 minutes.
    Inventory EnabledAllows EmpowerID to inventory the user information in the account store.
    Membership Settings
    Membership Schedule IntervalSpecifies the time span in minutes that occurs before EmpowerID runs the Group Membership Reconciliation job. The default value is 10 minutes.
    Enable Group Membership ReconciliationAllows EmpowerID to manage the membership of the account store’s groups, adding and removing user to and from groups based on policy-based assignment rules.
  2. Edit the account store as needed and then click Save to save your changes.

Next, enable the Account Inbox permanent workflow to allow the Account Inbox to provision or join the user accounts in Box to EmpowerID Persons as demonstrated below.

Step 5 – Enable the Account Inbox Permanent Workflow

The Account Inbox workflow is essential for processing user accounts discovered during inventory.

  1. Navigate to Infrastructure Admin > EmpowerID Server and Settings > Permanent Workflows.
  2. Locate Account Inbox and click its Display Name link.
  3. Click the pencil icon to enter edit mode.
  4. Check Enabled.
  5. Click Save to activate the workflow.

Step 6 – Monitor Inventory

EmpowerID continuously inventories the account store, identifying new, updated, or orphaned accounts.

  1. Navigate to Identity Lifecycle > Account Inbox.
  2. Use the tabbed views to monitor inventory:
    • All – This tab displays a grid view of all user accounts and the status of those accounts in relation to the Account Inbox.
    • Proposed – This tab displays a grid view of how the system would process user accounts if person provisioning is enabled for the account store containing the user accounts.
    • Dashboard – This tab provides a quick summary of account inbox activity.
    • Orphans – This tab displays a grid view of all user accounts without an EmpowerID Person.

Regular monitoring ensures that newly discovered accounts are processed correctly and remain synchronized with EmpowerID policies.