# SharepointUrl

The starting point for the `synchronize` fetch action.

The value to set for this parameter depends on the value you set for SharepointUrlType. The following table describes the options that are available for SharePoint and SharePoint Online.

SharePointUrlType | SharePointUrl | SharePoint | SharePoint Online
--- | --- | --- | ---
`WebApplication` | The web application URL. The connector then retrieves all content databases and site collections. | ✓ | ✗
`TenantAdmin` | The URL of the primary SharePoint site collection. The connector then retrieves all site collections and sites. | ✗ | ✓
`SiteCollection` | The site collection URL. | ✓ | ✓
`PersonalSiteCollection` | The personal site collection URL. In this case you must also set the parameter SharepointMySiteUrl. | ✗ | ✓

To retrieve information from SharePoint Online, you must also set the parameter SharepointOnline.

Type: | String
Default: |
Required: | Yes
Configuration Section: | TaskName or Fetchtasks
Example: | The following example specifies a site collection URL for a SharePoint server:
    SharePointOnline=FALSE
    SharePointUrlType=SiteCollection
    SharepointUrl=http://sharepointhost/sites/mysite
The following example retrieves all sites from an instance of SharePoint Online:
    SharePointOnline=TRUE
    SharePointUrlType=TenantAdmin
    SharePointUrl=https://example.sharepoint.com
See Also: | SharepointUrlType SharepointMySiteUrl SharepointOnline

_FT_HTML5_bannerTitle.htm