Skip to content

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

@michaeljdresser

Description

@michaeljdresser

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions