Share via

teamId needs to be a valid GUID.

dorights129 36 Reputation points
Jul 5, 2022, 10:40 AM

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,256 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Javaughn Boothe 1 Reputation point
    Jul 10, 2022, 12:54 PM

    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.