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
The
teams team listcommand usesbetaendpoints for two requests that can now usev1.0endpoints.cli-microsoft365/src/m365/teams/commands/team/team-list.ts
Lines 36 to 38 in 266fd8d
List joinedTeams: https://docs.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0&tabs=http
cli-microsoft365/src/m365/teams/commands/team/team-list.ts
Lines 61 to 67 in 266fd8d
Get team: https://docs.microsoft.com/en-us/graph/api/team-get?view=graph-rest-1.0&tabs=http