cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Is the latest version of XrmTooling (9.1.0.51) supported on Azure Functions V1?

Microsoft.CrmSdk.XrmTooling.CoreAssembly v9.1.0.26 onwards (released 18 Dec 2019) requires Newtonsoft.Json v10.0.0.3, which is later than the Newtonsoft.Json 9.0.3 provided by Azure Functions v1 runtime.

 

If we install a later version of Newtonsoft.Json 10.0.3 to allow installation of XrmTooling v9.1.0.51 (latest) we get the following errors warnings during build:

 

1>------ Build started: Project: FunctionApp12, Configuration: Debug Any CPU ------
1>C:\dev\ABC\FunctionApp12\FunctionApp12.csproj : warning NU1608: Detected package version outside of dependency constraint: Microsoft.NET.Sdk.Functions 1.0.37 requires Newtonsoft.Json (= 9.0.1) but version Newtonsoft.Json 10.0.3 was resolved.
1>FunctionApp12 -> C:\dev\ABC\FunctionApp12\bin\Debug\net462\bin\FunctionApp12.dll
1>Done building project "FunctionApp12.csproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

 

 

Using a later version of Newtonsoft.Json causes any serialisation within Azure Functions V1 to fail.  This means we can't use:

Due to the above, we're stuck on version Microsoft.CrmSdk.XrmTooling.CoreAssembly v9.1.0.21.

 

Is the latest version of XrmTooling (9.1.0.51) supported on Azure Functions V1?

 

n.b. the above also applies to the alpha CdsServiceClient, see issue 52

0 REPLIES 0

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Users online (20,974)