Configuring app communication and authorization

Prev Next

After you create and register your Microsoft Office 365 app, you must configure the app to communicate with the Email Security - Server appliance using the property values that were generated from the registration process. You can use either the CLI or Web UI.

Prerequisites

  • Administrator or Operator access to the Email Security - Server appliance.

  • A connection to the Email Security - Server appliance.

  • App property values: application ID, secret password, and tenant ID.

To configure the app communication and authorization using the CLI:
  1. Enable the CLI configuration mode:

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

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

    hostname (config) # o365 config secret <MicrosoftOfficeSecretPassword>
  4. Enter your app tenant ID.

    hostname (config) # o365 config tenant-id <MicrosoftOfficeTenantID>
  5. View your Office 365 configuration. Below is an example of a Microsoft Office configuration.

    hostname (config) # show o365 configuration
    
    Microsoft Graph Configuration:
       
    App ID: fa05a980-3998-439b-b9d1-516bfdc98299
    Secret: ********
    Redirect URL: https://www.fireeye.com
    Tenant ID: 72aec9ee-f35d-40fa-a185-a986e5acabac

    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
To configure the app communication and authorization using the Web UI:
  1. Log in to the Email Security - Server appliance Web UI.

  2. Go to the Settings > Email Server page.

  3. Enter the app property values for the following:

    • App ID

    • Secret Key

    • Tenant ID

  4. Click UPDATE.