web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

System fields Createdby and Modified by are not getting updated as logged in user.

(1) ShareShare
ReportReport
Posted on by 84
Hi 
I created a custom table in Dataverse. This table has the system fields Created by and Modified By, which should get updated as logged in user in CRM when a new record is created by that user. 
This is in our DEV environment. 
However these fields are always showing my user name, irrespecitve of the user who is creating records. 
 
When I created the table these fields were created automatically and are non-editable lookup fields related to the System user table in Dataverse. 
 
Please help, where I could have gone wrong in creating this table
 
Thanks 
Nalina
I have the same question (0)
  • NV-12080530-0 Profile Picture
    84 on at
    System fields Createdby and Modified by are not getting updated as logged in user.
    Thanks Amit, 
    Yes your suggestion seems to be the right way. Will try that for sure. 

    Thanks
  • Verified answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    System fields Createdby and Modified by are not getting updated as logged in user.
    Hello User,
     
    If you have created a workflow and updating this field then you have to set "The user who made changes to the record" setting and not in the owner of the workflow..


    Thank you,
    Amit katariya 
  • Vahid Ghafarpour Profile Picture
    11,928 Super User 2025 Season 2 on at
    System fields Createdby and Modified by are not getting updated as logged in user.
     

    ** Please don't forget to close up the thread here by Like and verify it as an answer if it was solved **

  • Suggested answer
    Sachin Jadhav Profile Picture
    157 on at
    System fields Createdby and Modified by are not getting updated as logged in user.
    Checkout this thread that might help you with the issue of overriding system fields.
     
     
    Sachin
  • NV-12080530-0 Profile Picture
    84 on at
    System fields Createdby and Modified by are not getting updated as logged in user.
    Hi VaHiX, 
    Thanks for your response. I forgot to add that there is an Embedded canvas app on CRM page which runs flow to update the table. 
    I am the flow owner. 
     
    Not sure how the Canvas app or the flow can pick up the logged in user credentials and pass on to the dataverse table being updated.
     
    Whatever account I use to run the flow that account will get logged.
     
    From online documentation I got to know that using User().FullName - will give the logged user name in canvas app. 
     
    Even then to update the Created by fields (which is readonly) will not be possible. 
     
    How to go about this. 
     
    Thanks
    Nalina
  • Suggested answer
    Vahid Ghafarpour Profile Picture
    11,928 Super User 2025 Season 2 on at
    System fields Createdby and Modified by are not getting updated as logged in user.
    Verify the environment settings to ensure that there are no configurations that might be causing this behavior. Sometimes, specific settings in the DEV environment can lead to such issues.
     
    Also please check if there are any plugins or workflows that might be overriding these fields. Sometimes custom logic can inadvertently set these fields to a specific user.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 147

#2
DAnny3211 Profile Picture

DAnny3211 134

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans