Hi,

I'm using aggregate function inside fetchxml (console app code) and it was working perfectly before upgrade. After CRM upgrade I'm getting error as "Microsoft.Crm.CrmException: Aggregates are not supported"

Note: 

Getting error only for audit entity (<entity name="audit">) for rest of the entities its working correctly.

Anyone knows is aggregate functions deprecated in latest version ?