Configuring app communication using the CLI

Prev Next

After you create and register your app, you must configure the app to communicate with either OneDrive or Sharepoint using the property values that were generated from the registration process.

Prerequisites

  • Administrator or Operator access to the File Protect appliance.

  • A connection to the File Protect appliance.

  • App property values: application ID, secret password, and redirect URL

To configure the app using the CLI:

  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Enter your Office 365 app ID.

    hostname (config) # fmps o365 config app-id <MicrosoftOfficeAppID>
  3. Enter your Office 365 secret password.

    hostname (config) # fmps o365 config secret  <MicrosoftOfficeSecretPassword>
  4. Enter your Office 365 redirect URL.

    hostname (config) # fmps o365 config redirect-url <MicrosoftOfficeRedirectURL> 
  5. View your Office 365 configuration. Below is an example of a OneDrive configuration.

    hostname (config) # show fmps o365
    OneDrive Configuration:
       
     App ID: 49b9606f-50dd-4ee1-b080-70e10cb855d0  
     Secret: ********
     Redirect URL: https://www.fireeye.com
     Is Configured: Yes
     Tenant ID: 0abd131d-43f7-4689-8be9-6a89e1f8d117
     Is Connected: Yes

    Note

    If your app is not connected, make sure that you have established the prerequisites and configured your app ID, secret, and redirect URL.

  6. Save your changes.

    hostname (config) # write memory