# 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 tenant admin URL. The connector then retrieves all site collections. | ✗ | ✓
`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 specifies a tenant admin URL for SharePoint Online (where `exampletenant` is the name of the tenant associated with the SharePoint instance):
    SharePointOnline=TRUE
    SharePointUrlType=TenantAdmin
    SharePointUrl=https://exampletenant-admin.sharepoint.com
See Also: | SharepointUrlType SharepointMySiteUrl SharepointOnline

_FT_HTML5_bannerTitle.htm