Microsoft.Identity.Web Library
Microsoft.Identity.Web 2.5.0
Protected web app/APIs call downstream web APIs
Description
After upgrading my entire solution to graph SDK 5.0.0 my blazor server app is not working anymore.
Microsoft.Identity.Web has a dependency on graph 4.5 and won't work with new version.
Reproduction steps
upgrade to graph sdk 5.0.0 nuget.
Relevant code snippets
builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
.AddMicrosoftIdentityWebApp(options => builder.Configuration.Bind("AzureAd", options))
.EnableTokenAcquisitionToCallDownstreamApi(options => builder.Configuration.Bind("AzureAd", options), initialScopes)
.AddMicrosoftGraph(graphBaseUrl: "https://graph.microsoft.com", defaultScopes: "User.Read")
Expected behavior
Microsoft.Identity.Web should work with latest graph sdk when release to production
Update. This is solved in Microsoft.Identity.Web 2.12.2.
You will need to replace the reference to Microsoft.Identity.Web.Microosft.Graph by Microsoft.Identity.Web.GraphServiceClient. For details on the migration guide see Microsoft.Identity.Web.GraphServiceClient
Microsoft.Identity.Web Library
Microsoft.Identity.Web 2.5.0
Protected web app/APIs call downstream web APIs
Description
After upgrading my entire solution to graph SDK 5.0.0 my blazor server app is not working anymore.
Microsoft.Identity.Web has a dependency on graph 4.5 and won't work with new version.
Reproduction steps
upgrade to graph sdk 5.0.0 nuget.
Relevant code snippets
Expected behavior
Microsoft.Identity.Web should work with latest graph sdk when release to production
Update. This is solved in Microsoft.Identity.Web 2.12.2.
You will need to replace the reference to Microsoft.Identity.Web.Microosft.Graph by Microsoft.Identity.Web.GraphServiceClient. For details on the migration guide see Microsoft.Identity.Web.GraphServiceClient