Fixed – EntityState must be set to null, Created (for Create message) or Changed (for Update message) exception in Dataverse / Dynamics 365

Sending
User Review
0 (0 votes)

We might get this error while trying to update one of the records. Exception Message: EntityState must be set to null, Created (for Create message) or Changed (for Update message). EntityState of primaryEntity: Unchanged, RequestName: Update ErrorCode: -2147220989 The error occurs when OrganizationServiceContext tries to update an entity that has not been marked as modified. … Continue reading “Fixed – EntityState must be set to null, Created (for Create message) or Changed (for Update message) exception in Dataverse / Dynamics 365”