Glossary
FetchXML
By Emil Björk · Microsoft business apps consultant, Gothenburg
Dataverse's XML-based query language — used for views, advanced find, plug-ins, and complex analytical queries.
FetchXML is Dataverse's XML-based query language. It powers Advanced Find in the Dynamics 365 UI, stored views in Dataverse (which are FetchXML under the hood), plug-ins doing complex queries via the SDK, and Power Automate flows that use FetchXML in the "List rows" action. FetchXML is more expressive than OData for complex queries with group-by, aggregations, and nested link-entity joins; it's verbose but powerful. For modern integration work — external systems calling Dataverse over HTTP — OData is the standard choice. Both compile to the same underlying SQL, so performance is comparable. Tools like XrmToolBox's FetchXML Builder make hand-writing the XML less tedious.
Related terms
Mentioned in these guides
- Bulk delete jobs in Dataverse
- Elastic tables in Dataverse
- Dataverse Organization Service vs Web API
- Virtual tables in Dataverse
- Dataverse Web API errors explained
- FetchXML vs OData in Dataverse
- Power Automate flow failures explained
- Power Pages Liquid templating
- XRMToolBox and the Dataverse tooling ecosystem