In a recent project, we retrieved Dynamics 365 CRM data using WebAPI and fetchXml expressions. In most cases, we create fetchXml expressions, where we add attributes and filter conditions dynamically in the fetchXml. When we execute our dynamically created fetchXml expressions, it fails with different error messages. Here we had…