Aperture setup - Box API connection: Disabled by administrator
10871
Created On 09/25/18 15:19 PM - Last Modified 03/01/23 17:52 PM
Symptom
When attempting to establish an API connection from Aperture to Box, the Aperture administrator is presented with the error "Disabled by Administrator".
Cause
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.
Resolution
First, identify the unique Apertue API key for connection to the Box tenant instance:
- In the Aperture dashboard, click Add a Cloud App
- Click Box
- Click the Connect to Box Account button
- On the resulting page, do not log into Box. Instead, take note of the URL in the browser.
- 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://...
- Copy the API Key string (between 'client_id=' and '&').
To add Aperture to the list of allowed API Applications:
- Log into box as an administrator and click Admin Console in the upper left of the page
- From the Admin Console, click the gear icon on the top right of the page and select Business Settings
- Navigate to the "Apps" section along the top bar
- In the Application Settings section, note that Published and/or Unpublished settings are checked.
- Add the Aperture API Key in the 'Except for' box
- Click Save
- 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