Retrieving Audit History Records via API

Friday, January 8, 2016

Although the Audit History entity is somewhat degenerated, records for this entity can be extracted via multiple API mechanisms in both Online and on-premise scenarios: Organization Service query  (QueryExpression, QueryByAttribute, LINQ, FetchXML) OrganizationData Service query The Audit History entity lacks a FilteredView element and therefore can not be retrieved from the Database in a supported manner. Also, version 2016 new Web API does not expose the Audit entity and can not be used for that purpose. In this post I will demonstrate using some of the API mechanisms to extract Audit History records. Note that...