FYI In the end we decided to do our housekeeping entirely in SQL (for both CRM2011 and CRM365/2016). I implemented it using a new stored procedure and a SQL script that schedules a daily task to execute it. This was relatively quick and easy to implement. I kept an open mind throughout but, sad to say, my conclusion is that SQL (in this case T-SQL) is simpler and more powerful/flexible than QueryExpression/LINQ-for-CRM/FetchXML.
↧