Skip to content

Microsoft Graph v1.0: teams team list #2507

@garrytrinder

Description

@garrytrinder

The teams team list command uses beta endpoints for two requests that can now use v1.0 endpoints.

if (args.options.joined) {
endpoint = `${this.resource}/beta/me/joinedTeams`;
}

List joinedTeams: https://docs.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0&tabs=http

const requestOptions: any = {
url: `${this.resource}/beta/teams/${group.id}`,
headers: {
accept: 'application/json;odata.metadata=none'
},
responseType: 'json'
};

Get team: https://docs.microsoft.com/en-us/graph/api/team-get?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions