Microsoft graph: Moving OneDrive file to a different folder in the same drive gets a different file Id after move operation

Viewed 71

We are using the below graph endpoint to move a drive item within the same drive.

PATCH /drives/{drive-id}/items/{item-id}

As per the Documentation, the expected response is 200 OK with representation of the newly moved item.

But since 24 June, it is returning status Code: 202 Accepted with empty response.

After the move, doing a get call on the same item id is returning 404. It turns out that the moved file has gotten a new Id and that was not the case earlier.

It is happening only for files but not for folders.

client-request-id: d1d6b2e4-7d85-4f8d-804b-a100f8d97381
request-id: 82e9a06d-a0ac-42d4-aa4b-be050f7ad87f

This is a breaking change and impacting hundreds of customers.

0 Answers
Related