Share via


Audit data and user activity

 

Applies To: Dynamics CRM 2015

The Microsoft Dynamics CRM auditing feature logs changes that are made to customer records and user access so that you can review the activity later. The auditing feature is designed to meet the auditing, compliance, security, and governance policies of many regulated enterprises.

The audit logs help the Microsoft Dynamics CRM administrator answer questions such as:

  • Which user was accessing the system and when?

  • Who updated this field value on this record, and when?

  • What was the previous field value before it was updated?

  • What actions has this user taken recently?

  • Who deleted this record?

  • What locale was used to make the update?

The following operations can be audited:

  • Create, update, deactivate, and delete operations on records.

  • Changes to the sharing privileges of a record.

  • The N:N association or disassociation of records.

  • Changes to security roles.

  • Audit changes at the entity, attribute, and organization level. For example, enabling audit on an entity.

  • Deletion of audit logs.

  • For changes made to entity fields that can be localized, such as the Product entity name or description fields, the locale Id (LCID) appears in the audit record.

System administrators and System Customizers can start or stop auditing for an organization.

Important

For Microsoft Dynamics CRM (on-premises), you may notice that auditing can significantly increase the size of the organization database over time. You can delete audit logs by going to Settings > Auditing > Audit Log Management. Additionally, you may want to stop auditing for maintenance purposes. Stopping auditing stops tracking for the organization during the period until auditing is started again. When you start auditing again, the same auditing selection is maintained that was previously used.

In This Topic

Start or stop auditing for an organization

View audit logging details

Enable or disable entities and fields for auditing

Start or stop auditing for an organization

This task requires the System Administrator or System Customizer security role or equivalent permissions.

  1. Go to Settings > Administration.

  2. Choose System Settings.

  3. On the Auditing tab, click to check the Start Auditing check box to start auditing. Click to clear the Start Auditing check box to stop all auditing.

  4. Select the entities you want to track. To start or stop auditing on specific entities, select or clear the following check boxes:

    • Audit user access. Tracks when a user accesses Microsoft Dynamics CRM including the user name and time.

    • Common Entities. Tracks common entities such as Account, Contact, Goal, Product, and User.

    • Sales Entities. Tracks sales-related entities, such as Competitor, Opportunity, Invoice, Order, and Quote.

    • Marketing Entities. Tracks Campaign entity activity.

    • Customer Service Entities. Tracks Case, Contract, Queue, and Service entity activity.

  5. Choose OK.

View audit logging details

System Administrators can view the activity for the entities that are enabled for audit logging.

  1. Go to Settings > Auditing.

  2. Choose Audit Summary View.

  3. In the Audit Summary View, you can do the following:

    • Choose Enable/Disable Filters to turn on filtering. Then, you can filter on a specific event, such as Delete actions.

    • Choose an Event to view specific details about the activity, such as the field changes that were made during an update to a record and who performed the update.

    • Choose the Refresh button Refresh button to view the most recent activity.

Enable or disable entities and fields for auditing

System Administrator or System Customizers can change the default audit settings for entities and for specific fields for an entity.

To enable or disable auditing for an entity.

  1. Go to Settings > System.

  2. Choose Auditing.

  3. In the Audit area, choose Entity and Field Audit Settings.

  4. Under Components, expand Entities.

  5. Open the entity for which you want to enable or disable auditing.

  6. To start auditing, on the General tab, in the Data Services section, select the Auditing check box to enable auditing or clear the Auditing check box to disable it.

    By default, when you start or stop auditing for an entity, you also start or stop auditing for all the fields of this entity.

  7. Choose Save.

  8. Publish the customization. To publish for a single entity, choose the entity, such as Account, and then choose Publish on the toolbar.

To enable or disable auditing for specific fields on an entity.

  1. Under the entity for which you want to enable or disable auditing with specific fields, choose Fields.

  2. To enable or disable a single field, open the field and in the Auditing section, select Enable or Disable.

    To enable or disable more than one field, select the fields that you want, on the toolbar choose Edit. In the Edit Multiple Fields dialog box, in the Auditing area choose Enabled or Disabled.

  3. Choose Save.

  4. Publish the customization. To publish for a single entity, choose the entity, such as Account, and then choose Publish on the Actions toolbar.

See Also

Manage security, users and teams
Customize your CRM system
TechNet: Audit data and user activity

© 2016 Microsoft Corporation. All rights reserved. Copyright