Closed LarsBauer closed 2 years ago
We have accepted your changes, but cannot commit the PR here as it will be overwritten by the master, we will link the Update to this issue to close it when we push it live.
Thanks for your help @LarsBauer !
Hi @MattB-msft sorry for the late reply... These are great news! So should I close my pending PR or will it be merged once your internal repo is mirrored?
We will take care of it when the publish happens. Thanks !
Hi,
Unfortunately when trying to delete a record using alternate key I receive the following exception.
My code snippet
Exception
I investigated further and have found the root cause of this issue here: https://github.com/microsoft/PowerPlatform-DataverseServiceClient/blob/e365070688405e0b5683df589ae8eb94557cee34/src/GeneralTools/DataverseClient/Client/ConnectionService.cs#L1582-L1585
As you can see the problem is that the
KeyAttributes
won't get evaluated when theTarget
parameter is of typeEntityReference
and so the request url will be invalid:accounts(00000000-0000-0000-0000-000000000000)
Let me know if I should provide a fix via PR. Thanks in advance!