You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running v0.11.0. I configured the Teams Connector to pull in a single Team from my tenant. The connector started indexing and showed a status of "succeeded" for each attempt, but indexed no documents:
Since there is no logging in the Team Connector, I extract the code into a standalone script to see what might be happening. This line of code from _get_all_teams() is the issue: teams = self.graph_client.teams.get().execute_query(). That call returns paged results and only returns the first 100 teams. The team I was interested in wasn't in the first 100, which is why nothing was getting indexed. I had to change that code to the following to get the full list of teams in my tenant: client.teams.paged().get().execute_query(). This also worked, although I'm not sure why since my tenant has more than 500 total teams: client.teams.paged(500).get().execute_query()
The text was updated successfully, but these errors were encountered:
I am running v0.11.0. I configured the Teams Connector to pull in a single Team from my tenant. The connector started indexing and showed a status of "succeeded" for each attempt, but indexed no documents:
Since there is no logging in the Team Connector, I extract the code into a standalone script to see what might be happening. This line of code from
_get_all_teams()
is the issue:teams = self.graph_client.teams.get().execute_query()
. That call returns paged results and only returns the first 100 teams. The team I was interested in wasn't in the first 100, which is why nothing was getting indexed. I had to change that code to the following to get the full list of teams in my tenant:client.teams.paged().get().execute_query()
. This also worked, although I'm not sure why since my tenant has more than 500 total teams:client.teams.paged(500).get().execute_query()
The text was updated successfully, but these errors were encountered: