The teams message get command currently uses the beta/teams endpoint in its implementation, this should be updated to use the v1.0/teams endpoint.
|
const requestOptions: any = { |
|
url: `${this.resource}/beta/teams/${args.options.teamId}/channels/${args.options.channelId}/messages/${args.options.messageId}`, |
|
headers: { |
|
accept: 'application/json;odata.metadata=none' |
|
}, |
|
responseType: 'json' |
|
}; |
beta docs: https://docs.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=http
The
teams message getcommand currently uses thebeta/teamsendpoint in its implementation, this should be updated to use thev1.0/teamsendpoint.cli-microsoft365/src/m365/teams/commands/message/message-get.ts
Lines 31 to 37 in 1bae1ad
beta docs: https://docs.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=http