Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

CreatedBy & ModifiedBy overrides

  • 1.  CreatedBy & ModifiedBy overrides

    Posted Aug 03, 2020 02:57 PM
    Edited by Kevin Altman Aug 03, 2020 03:02 PM

    Looking for some help on creating a record with a specified CreatedBy & ModifiedBy value for an Annotation via the C# SDK. I'm OnPrem D365 8.2

    I'm performing the create as a user with the System Administrator role. I've tried various things mentioned online but none are working. Anyone have a sample of how to do this? I'm restoring some data that should have been created as various users and every attempt so far just results in my admin user being the CreatedBy/ModifiedBy user.

  • 2.  RE: CreatedBy & ModifiedBy overrides

    Posted Aug 04, 2020 04:23 AM
    Edited by Xun Dong Aug 04, 2020 04:24 AM
    Hi Kevin,

    don't know which method you have tried already?
    but have you tried this blog ? apparently, it is only possible in a Pre-operation plugin.

    good lucky

    Xun Dong
    Thomas Miller

If you've found this thread useful, dive deeper into User Group community content by role