--- title: "Configuring a SharePoint Online scan using the CLI" slug: "configuring-a-sharepoint-online-scan-using-the-cli" updated: 2026-09-08T21:44:57Z published: 2026-09-08T21:44:57Z canonical: "docs.trellix.com/configuring-a-sharepoint-online-scan-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 a SharePoint Online scan using the CLI Configure and start a continuous SharePoint Online scan using the CLI. ### Prerequisites - Administrator access to the File Protect appliance. - A SharePoint Online storage. To configure a scan for SharePoint Online storage: 1. Enable the CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Create a SharePoint Online scan. ``` hostname (config) # fmps scan create from share ``` MySharePointStorge is the SharePoint Online storage on which the scan will run. Confirmation is displayed. ``` configured ``` 3. Save your changes. ``` hostname (config) # write memory ``` To start a scan from an existing scan: 1. Enable the CLI configuration mode: 2. ``` hostname > enable hostname # configure terminal ``` 3. Start a SharePoint Online continuous scan from an existing scan. ``` hostname (config) # fmps scan start continuous ``` ** is the ID of the existing scan. 4. Save your changes. hostname (config) # **write memory** :