teamId needs to be a valid GUID.

dorights129 36 Reputation points
2022-07-05T10:40:53.84+00:00

Hi we recently got error while trying to call below API:

GET /teams/{team-id}/channels/{channel-id}/members

Error code received 400 : {"error":{"code":"BadRequest","message":"teamId needs to be a valid GUID."

We got the team_id from groups API:

GET /groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team')

But looks like teams is sending an invalid GUID value for team-id, any reason why we have such value for team_id ?

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,051 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Javaughn Boothe 1 Reputation point
    2022-07-10T12:54:22.8+00:00

    How did you call this API? by the way seems like the issue stems from the parameters used when calling it

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.