Enabling Setting Object Audit Fields

Both data migration and RMM integration users require permissions to set object audit fields (such as CreatedDate). These permissions have to be explicitly granted, even to System Administrators:

  1. Go to Setup → User Interface and check Enable “Set Audit Fields upon Record Creation” and “Update Records with Inactive Owners” User Permissions:

    Enabling object audit field setting in Salesforce

  2. Go to Setup → Permission Sets
  3. Click New to create a new permission set named Create Audit Fields (select –None– for license)
  4. Edit the new set and click System Permissions
  5. Click Edit again and check Set Audit Fields upon Record Creation
  6. Save the set
  7. Add the new permission set to migration and RMM integration users
Was this page helpful?