Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Xrm.WebApi.updateRecord save a record fields as a different user then the user called the Api

(0) ShareShare
ReportReport
Posted on by 327

Hi,

This the context and the problem I am facing( I am using Dynamics 365 CE v9.x 2021 wave 1 release update)

To save the sales order data and close the sales order I am going to do it via JavaScript Xrm.WebApi.UpdateRecord.

Then I am going to look at the audit history and I see the user who did the change is not the user that performed the WebApi update request :O

Do you have any idea why? Could be some user or system setting? A bug by Microsoft?

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Xrm.WebApi.updateRecord save a record fields as a different user then the user called the Api

    Hello,

    What user is it? Do you have any plugins/workflows/power automate flows that handle the update of the sales order?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans