💡Tip: Convert FetchXml to a Query expression
Have you had a situation where you have a FetchXml query, but you needed to inspect, tweak, or extend it a little?
You can load it into a XElement or XDocument and fiddle with it.
But you can ask Dataverse to convert your FetchXml query to a QueryExpression, just by making a request with FetchXmlToQueryExpressionRequest.
The response will contain a QueryExpression that you can inspect, tweak, and extend.
Btw. If you need to convert it back, there is also a QueryExpressionToFetchXmlRequest.