I am working on a asp.net core MVC project and want to use Graph and GrahBeta packages using Microsoft.Identity.Web.MicrosoftGraph adn Microsoft.Identity.Web.MicrosoftGraphBeta.
I define an external alias for the beta version of the package as described here: https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet#using-the-beta-client-along-with-the-v10-library
This works as excpected, but in Startup.cs, when registering Graph like
services.AddAuthentication[...].AddMicrosoftGraph(Configuration.GetSection("GraphAPI"))
I get the following error:
The call is ambiguous between the following methods or properties: 'Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, string, string)' and 'Microsoft.Identity.Web.MicrosoftGraphExtensions.AddMicrosoftGraph(Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, string, string)'
As this seems to come from the exact same package, I have no idea about how to handle this. Thank you for your help.