To authorize and connect your app on the File Protect appliance using the CLI:
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Generate an app admin consent authorization and paste the URL generated from the
authorizecommand into a Web browser. Copy the tenant ID value forStep 3.
hostname (config) # fmps o365 authorize Paste the following URL in your browser and approve the app's access. Copy the value of 'tenant=' and use with cli: fmps o365 cvonnect tenant-id* https://login.microsoftonline.com/common/adminconsent?redirect_uri=https%3A%2F%2 Fwww.fireeye.com&client_id=49b9606f-50dd-4ee1-b080-70e10cb855d0Below is a sample of an admin consent containing a
tenantretrieved from the redirect URL in the Web browser..png)
Get access token for API communication for tenant-id retrieved from Step 2.
hostname (config)# fmps o365 connect tenant-id <MicrosoftOfficeTenantID>Save your changes.
hostname (config) # write memory