teamId needs to be a valid GUID.

dorights129 36 Reputation points

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.
9,993 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Javaughn Boothe 1 Reputation point

    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