The teams report directroutingcalls command currently uses the beta/communications endpoint in its implementation, this should be updated to use the v1.0/communications endpoint.
|
const requestOptions: any = { |
|
url: `${this.resource}/beta/communications/callRecords/getDirectRoutingCalls(fromDateTime=${encodeURIComponent(args.options.fromDateTime)},toDateTime=${toDateTimeParameter})`, |
|
headers: { |
|
accept: 'application/json;odata.metadata=none' |
|
}, |
|
responseType: 'json' |
|
}; |
beta docs: https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-1.0&tabs=http
The
teams report directroutingcallscommand currently uses thebeta/communicationsendpoint in its implementation, this should be updated to use thev1.0/communicationsendpoint.cli-microsoft365/src/m365/teams/commands/report/report-directroutingcalls.ts
Lines 42 to 48 in 1bae1ad
beta docs: https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getdirectroutingcalls?view=graph-rest-1.0&tabs=http