I'm trying to copy a file within a document library (SharePoint online) via the Graph SDK. However the document library have a custom unique field.
The file is copied to the same folder.
await client
.Drives[driveId]
.Items[sourceItemId]
.Copy(destinationFilename)
.Request()
.PostAsync();
The above throws this error: One or more fields with unique constraints already has the provided value
How do I copy a file into the same folder when there is a unique field constraint?