# Troubleshoot the Connector

This section describes how to troubleshoot common problems that might occur when you set up the SharePoint Remote Connector.

The synchronize task fails with the error "Access has been blocked by Conditional Access policies"

An administrator might have configured a conditional access policy that blocks legacy authentication. The SharePoint Remote Connector does not support connecting to the SharePoint API using OAuth. If an administrator has blocked legacy authentication, Micro Focus recommends that you use the SharePoint OData Connector instead.

Error: HTTP414 Request URI too long

This error can occur when the Internet Information Services (IIS) web server refuses to accept long URLs. To resolve this issue, update the `web.config` configuration file for the SharePoint site in IIS. For example:

    <configuration>
        ...
        <system.web>
            ...
            <httpRuntime ... maxUrlLength="1024" ... />
            ...
        </system.web>
        ...
    </configuration>

Timeout Error when Synchronizing User Profiles

When you use the connector to synchronize user profiles, you might see exceptions such as:

`System.TimeoutException: The HTTP request to 'http://[sharepoint/resource]' has exceeded the allotted timeout of 00:00:20. The time allotted to this operation may have been a portion of a longer timeout.`

You can prevent this error by increasing the timeout on the SharePoint system. To do this, alter the relevant fields in `web.config`. For example, to increase the timeout to one minute, modify the fields as follows:

    <binding name="ProfileServiceHttpsBinding"
        receiveTimeout="00:01:00"
        sendTimeout="00:01:00"
        openTimeout="00:01:00"
        closeTimeout="00:01:00">

    <binding name="ProfileServiceHttpBinding"
        receiveTimeout="00:01:00"
        sendTimeout="00:01:00"
        openTimeout="00:01:00"
        closeTimeout="00:01:00">

    <binding name="ProfileDBCacheServiceHttpsBinding"
        receiveTimeout="00:01:00"
        sendTimeout="00:01:00"
        openTimeout="00:01:00"
        closeTimeout="00:01:00">

    <binding name="ProfileDBCacheServiceHttpBinding"
        receiveTimeout="00:01:00"
        sendTimeout="00:01:00"
        openTimeout="00:01:00"
        closeTimeout="00:01:00">

_FT_HTML5_bannerTitle.htm