--- title: "Configuring app communication using the CLI" slug: "configuring-app-communication-using-the-cli" updated: 2026-09-08T21:44:57Z published: 2026-09-08T21:44:57Z canonical: "docs.trellix.com/configuring-app-communication-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring app communication using the CLI 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 ``` 3. Enter your Office 365 secret password. ``` hostname (config) # fmps o365 config secret ``` 4. Enter your Office 365 redirect URL. ``` hostname (config) # fmps o365 config redirect-url ``` 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 ``` :