Rfjt Rfjt - 1 year ago 82
C# Question

Is there a way I can generate a list of all entities in CRM and if they have audit history turned on or not?

I checked an entity in the CRM SQL database but there wasn't a column specifying about audit history. I know there is a way to enable / disable it through CRM's online portal but that would take a pretty long time to see which entities have it enabled and which have it disabled.

I've tried poking around but couldn't find much on the topic so I figured I'd see if anyone here knew anything about it or had any experience with it.

Here is a quote from Microsoft's page on accessing it through the online portal:


Click the entity for which you want to start or stop auditing. To start auditing, on the General tab, in the Data Services section, select the Auditing check box. To stop auditing, clear the check box.


http://crmbook.powerobjects.com/basics/data-management-in-microsoft-dynamics-crm/auditing-in-microsoft-dynamics-crm/

Let me know if there is anything I can add to make my question more clear.

Answer Source

Download xrmtoolbox & enable/disable audit in single stretch.

Audit center plugin will help you to complete the magic.

http://mscrmtools.blogspot.com/2013/08/new-xrmtoolbox-plugin-audit-center.html?m=1

Update: After you install the xrmtoolbox, Connect to Org, Click 'Audit center', Click 'Load data' - Audited entities & attributes will be listed:

Tool snip

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download