List joinedTeams

Get the teams in Microsoft Teams that the user is a direct member of.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) User.Read.All, User.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application User.Read.All, User.ReadWrite.All

With user delegated permissions this operation only works for the 'me' user. With application permissions, it works for all users by specifying the specific user id. ('me' alias is not supported with application permissions)

HTTP request

GET /me/joinedTeams
or
GET /users/{id}/joinedTeams

Optional query parameters

The OData Query Parameters are not currently supported.

Request headers

Header Value
Authorization Bearer {token}. Required.
Accept application/json

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and collection of group objects in the response body.

Example

Request

Here is an example of the request.

GET https://graph.microsoft.com/v1.0/me/joinedTeams
Response

Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 200 OK
Content-type: application/json
Content-length: 55

{
  "value": [
    {
      "id": "id-value"
    }
  ]
}

See also

List all teams