c# - 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 entity in crm sql database there wasn't column specifying audit history. know there way enable / disable through crm's online portal take pretty long time see entities have enabled , have disabled.
i've tried poking around couldn't find on topic figured i'd see if here knew or had experience it.
here quote microsoft's page on accessing through online portal:
click entity want start or stop auditing. start auditing, on general tab, in data services section, select auditing check box. stop auditing, clear check box.
let me know if there can add make question more clear.
referring once again xrmtoolbox.... metadata browser you're looking for:
please note screenshot used columns button move isauditenabled column far left possible.
and since indicated have access sql, here's query:
select entityid, name, isaudited myorg_mscrm.metadataschema.entity
if you're looking in c#, retrieveallentitiesrequest class starting point.
Comments
Post a Comment