web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

D365 V9{Upgrade}: Error while upgrading NuGet package Microsoft.CrmSdk.XrmTooling.CoreAssembly to v9.0.2.5

AjitPatra Profile Picture AjitPatra 469

Recently, while upgrading our D365 instance from V8 to V9, we had some batch jobs for integration which were running on v9.0.2.4 of CRM related NuGet packages. As part of V9 upgrade we need to upgrade those NuGet packages to v9.0.2.5.

bb

While upgrading XrmTooling.CoreAssembly to v9.0.2.5, we were getting the below error: “Unable to resolve dependencies. ‘Microsoft.IdentityModel.Clients.ActiveDirectory 3.19.8’ is not compatible with ‘Microsoft.CrmSdk.XrmTooling.CoreAssembly 9.0.2.5 constraint: Microsoft.IdentityModel.Clients.ActiveDirectory (>= 2.22.302111727 && < 3.0.0)”

aa

We found that Clients.ActiveDirectory NuGet package installed was of v3.19.8.

cc

To fix the issue, we downgraded the Clients.ActiveDirectory NuGet package to v2.29.0 (highest version between the range 2.22.302111727 && 3.0.0).

dd

After downgrading it, we were able to upgrade the NuGet package for XrmTooling.CoreAssembly to v9.0.2.5.

ee

Hope it helps !!


This was originally posted here.

Comments

*This post is locked for comments