--- title: "Enabling Office 365 integration using the CLI" slug: "enabling-office-365-integration-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:02Z published: 2026-08-24T19:53:02Z canonical: "docs.trellix.com/enabling-office-365-integration-using-the-cli" stale: true --- > ## 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. # Enabling Office 365 integration using the CLI Use the Email Security - Server appliance CLI to enable Office 365 integration. ### Prerequisites - Administrator access to the Email Security - Server appliance. **To enable Office 365 integration on the Email Security - Server appliance:** 1. Log in to the Email Security - Server appliance as an administrator. 2. Go to configure mode. ``` hostname > enable hostname # configure terminal ``` 3. Enable Office 365 integration. ``` hostname (config) # email-analysis o365 ad-sync enable ``` 4. Save your changes. ``` hostname (config) # write memory ```