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

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 !!

Advertisement

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.