Edit

teamJoinRequest resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a pending request from a user to join a private team in Microsoft Teams. A team owner can approve or reject the request. The request is removed from the joinRequests collection of the team when it's approved, rejected, or canceled by the requester.

Each user can have at most one pending join request per team. The id of a join request is the Microsoft Entra object ID of the requester.

Inherits from entity.

Methods

Method Return type Description
List teamJoinRequest collection Get a list of the pending join requests for a team.
Get teamJoinRequest Get a pending join request for a team.
Approve teamJoinRequestActionResult collection Approve up to 20 pending requests to join a team.
Reject teamJoinRequestActionResult collection Reject up to 20 pending requests to join a team.

Properties

Property Type Description
id String The unique identifier of the join request. Equal to the Microsoft Entra object ID of the requester. Read-only. Inherited from entity.
requester identitySet The identity that is added to the team if the request is approved. Currently, the user property is always a teamworkUserIdentity. Read-only.
sponsors identitySet collection The identities that asked for the requester to be added to the team on their behalf. Currently, the user property of each item is always a teamworkUserIdentity. Empty when the requester asked to join the team themselves. Read-only.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.teamJoinRequest",
  "id": "String (identifier)",
  "requester": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "sponsors": [
    {
      "@odata.type": "microsoft.graph.identitySet"
    }
  ]
}