msgraph-sdk-dotnet
msgraph-sdk-dotnet copied to clipboard
How can I tell the Backing Store to skip specific changes?
Hi @andrueastman,
I hope this message finds you well. We recently had a discussion concerning the backing store in issue #1813.
It appears that we are encountering difficulties with tracking the Backingstore when working with User objects. Specifically, we have come across situations where we directly manipulate the extension attributes of the user object. However, when attempting to execute the Patch operation using a ToPatchRequestInformation, it throws an exception stating that an update is not possible since extension attributes cannot be directly manipulated using a user endpoint.
Upon investigating, I noticed that user.BackingStore.Enumerate() lists the extension attributes, indicating they are ready to be updated.
My objective is to inform the user object that I do not wish to update the extension attributes in the patch operation. Is there a way for me to instruct the backing store to skip specific changes by marking the values in some manner?
Thank you, Patrick