# 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 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. 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]

1. 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`.
   `SSLMethod` | The version of SSL/TLS to use to connect to SharePoint Online. To use the latest protocol supported by both client and server, set this parameter to `NEGOTIATE`.
   `SharepointUrlType` | The type of site collection from which you want to retrieve data: `SiteCollection` `PersonalSiteCollection`
   `SharepointUrl` | 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.

2. (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 OData Connector Reference.
3. Save and close the configuration file.

Related Topics

- SharePoint Mapped Security

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm