microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

SimpleIvrBot - Update to latest 'Microsoft.Graph.Communications' packages.

Open michaeljdresser opened this issue 6 months ago • 0 comments

Has anyone managed to update SimpleIvrBot to the latest packages, updating to anything past 1.2.0.7270 breaks more than just the models, any help would be appreciated?

There seems to be no guidance on how to do this as there are breaking changes in the way the graph calls are made Kiota. I've also swapped out 'Sample.Common' to 'Sample.Common.V1'

Bot.cs

await this.GraphApiClient.SendAsync(this.RequestBuilder.Communications.Calls[callId].SubscribeToTone(callId).Request(), RequestType.Create, tenantId, scenarioId).ConfigureAwait(false); Error: Severity Code Description Project File Line Suppression State Error (active) CS1955 Non-invocable member 'CallItemRequestBuilder.SubscribeToTone' cannot be used like a method.

using (HttpClient tempClient = GraphClientFactory.Create(authenticationWrapper))

Error: Severity Code Description Project File Line Suppression State Error (active) CS1503 Argument 1: cannot convert from 'Sample.Common.Authentication.AuthenticationWrapper' to 'Microsoft.Graph.GraphClientOptions'

michaeljdresser avatar Jun 30 '25 14:06 michaeljdresser