Dynamics 365 CRM: Why You Should Say No To FetchXML In Your Codebase

FetchXML is a style of late bound queries that provides a similar experience to using SQL in an application. The convenience of it lends itself to being used in your code base. Developers will often copy and past FetchXML into their methods from blog posts online or even examples out of the Dynamics CRM SDK. The challenge is that the convenience of FetchXML comes at a cost that is not only insidious, but I consider a form of hidden technical debt in Dynamics code bases.