# Troubleshoot the Connector

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

The error "PreconditionFailed - Requested API is not supported in delegated context" appears in the synchronize log

You might be attempting to use `IndexUserChats=true` with a delegated application. To index user chats, you must use a service application with access to the Microsoft Teams Protected APIs. For information about how to set up a service application, see Set up an OAuth Service Application.

_FT_HTML5_bannerTitle.htm