Retrieve Data from SharePoint Online

To automatically retrieve content from SharePoint Online (part of Office 365), create a new fetch task by following these steps. The connector runs each fetch task automatically, based on the schedule that is defined in the configuration file.

To create a new Fetch Task

  1. Stop the connector.
  2. Open the connector’s configuration file in a text editor.
  3. In the [FetchTasks] section of the configuration file, specify the number of fetch tasks using the Number parameter. If you are configuring the first fetch task, type Number=1. If one or more fetch tasks have already been configured, increase the value of the Number parameter by one (1). Below the Number parameter, specify the names of the fetch tasks, starting from zero (0). For example:

    [FetchTasks]
    Number=1
    0=MyTask
  4. NOTE: The fetch tasks that you configure are run in sequence. If you want to run tasks in parallel, set the TaskThreads parameter.

  5. Below the [FetchTasks] section, create a new TaskName section. The name of the section must match the name of the new fetch task. For example:

    [FetchTasks]
    Number=1
    0=MyTask
    
    [MyTask]
  6. In the new section, set the following parameters.

    SharepointOnline A Boolean that specifies whether you are retrieving data from a SharePoint Online shared server. To retrieve data from a SharePoint Online shared server, set this parameter to true. If you are retrieving data from a SharePoint Online dedicated server, set this parameter to false.
    SharepointUrlType

    The type of starting point from which to retrieve data:

    • TenantAdmin - retrieve all site collections from an instance of SharePoint Online.
    • SiteCollection - retrieve a single site collection.
    • PersonalSiteCollection - retrieve a personal site collection.
    SharepointUrl

    The starting point from which to retrieve data:

    • If you set SharePointUrlType=TenantAdmin, specify the tenant admin URL.
    • If you set SharepointUrlType=SiteCollection, specify the URL of the site collection.
    • If you set SharepointUrlType=PersonalSiteCollection, specify the URL of the personal site collection.
    SharepointAdminUrl The URL of the admin site collection. If you want to retrieve user profiles from SharePoint Online, you must set this parameter.
    SharepointMySiteUrl The URL of the "MySites" site collection.
    Username The user name for authentication with SharePoint. You can encrypt the user name before adding it to the configuration file.
    Password The password for authentication with SharePoint. Micro Focus recommends encrypting the password. For information about how to do this, see Encrypt Passwords.
  7. (Optional) You can set additional configuration parameters to specify the information that you want to retrieve. For more information about the parameters that you can use, refer to the SharePoint Remote Connector Reference.
  8. Save and close the configuration file.