Aperture setup - Box API connection: Disabled by administrator

by jfarkas on ‎03-07-2016 04:46 PM - edited on ‎03-20-2016 12:08 PM by EmmaF (2,362 Views)

Symptoms

When attempting to establish an API connection from Aperture to Box, the Aperture administrator is presented with the error 'Disabled by Administrator.'

 

Error Message

Diagnosis

Note that this error comes from the website, api.box.com, rather than Aperture itself. Box offers customers the abiltiy to disable API access from Published or Unpublished API keys.  When enabled, this will require an API key exception (or whitelist) to be added for Aperture to continue.

 

 

Solution

First, identify the unique Apertue API key for connection to the Box tenant instance:

  1. In the Aperture dashboard, click Add a Cloud App.
  2. Click Box.
  3. Click the Connect to Box Account button.
  4. On the resulting page, do not log into Box. Instead, take note of the URL in the browser.  
  5. The unique API key is the client ID string in the URL https://api.box.com/oauth2/authorize?client_id=<API_KEY>&redirect_uri=https://...  
  6. Copy the API Key string (between 'client_id=' and '&').

API Key

 

To add Aperture to the list of allowed API Applications:

  1. Log into box as an administrator and click Admin Console in the upper left of the page.
  2. From the Admin Console, click the gear icon on the top right of the page and select Business Settings.admin console
  3. Navigate to the "Apps" section along the top barApps
  4. In the Application Settings section, note that Published and/or Unpublished settings are checked.Application Settings
  5. Add the Aperture API Key in the 'Except for' box. 
  6. Click Save.
  7. Now, follow the steps above to Add a Cloud App within Aperture. This time, the connection succeeds as the API Key will be on the key exception list.

 

Ask Questions Get Answers Join the Live Community