Skip to content

TeamsInfo.getTeamDetails returns error #4900

@SaschaYasoon

Description

@SaschaYasoon

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Versions

What package version of the SDK are you using: 4.23.1
What nodejs version are you using: 22.18.0

Describe the bug

We are using TeamsInfo.getTeamDetails to retrieve details of a team. This method generally works as expected; however, for one specific team ID, we consistently receive the error:
Cannot find team with provided id

For all other team IDs, the call works correctly.
We have confirmed that the team ID is valid:

  • It has been manually verified multiple times.
  • When queried via Microsoft Graph endpoints, we are able to successfully retrieve the team details.

Expected behavior

The getTeamDetails call should return the team details for this ID, just as it does for all other valid team IDs.
We have all necessary permissions, and the team ID appears to be recognized. For example, if we intentionally change a character in the ID, we receive a different error, which suggests the original ID is valid.

Could you clarify in which scenarios the error “Cannot find team with provided id” is returned? We have reviewed the team’s settings extensively but have not been able to reproduce the issue with any other team—only this one is affected.

Additional context

For reference, we also have the timestamp and ms-cv values from the response headers, in case they are useful for troubleshooting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions