Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Overwrite record in model driven app

Hello Experts,

I think there is a bug in Model driven Apps, I observed data being overwritten if two users are writing to same record simultaneously.


Suppose User A open a record first and simultaneously User B also open same record then without any alert both users are allowed to make changes to the data.

I guess this is wrong, if User A start editing first then user B must be prompted with an error message.

Have you also noticed it??


thanks in advance.


Solution Supplier
Solution Supplier

Re: Overwrite record in model driven app

There is no way to prevent this happening. What you're seeing is known as 'optimistic locking', and CDS and almost all modern cloud-based applications work this way. What you're asking for is known as 'pessimistic locking'; this was common for traditional client-server applications running on desktops, but is not really viable for cloud-based apps as there is no good way to know if a user is intending to edit a record, nor when they have stopped looking at the record.

You can't change this behaviour, but you can use auditing to identify if 2 users did make simultaneous changes

Community Support
Community Support

Re: Overwrite record in model driven app

HI @Inpriya01 ,

Actually, it is an known issue with the 'Optimistic Concurrency Lock' within Model-Driven app form (D365 CRM Form). I agree with @DavidJennaway 's thought almost, I afraid that there is no way to fix this issue in PowerApps currently.


As an alternative solution, I think SDK Calls and Web API could achieve your needs. Please check the alternative solution mentioned from @Abhishek Kumar  within the following article:


If you would like this fix functionality to be released in PowerApps, please consider submit an idea to PowerApps Ideas Forum:


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (4,652)