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
    Hey,

    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.
    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


  • 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

    ------------------------------
    Xun Dong
    Thomas Miller
    ------------------------------

    The first step toward cloud success. - Migrate from CRM to D365 with expert guidance from Microsoft. I'm Ready


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