Recent changes to the driveItem: copy method of the API?

Lee Caine 26 Reputation points
2022-04-19T13:59:36.89+00:00

Hi there,

Can someone tell me if there have been recent changes to the copy method of the Graph API, as I had code that was working up until today. ( I can't see anything in the change logs )

My code was using the copy endpoint to copy a template folder to another location sending a parentReference ( with id and driveId like it says in the docs ) after much playing around I found that by passing the path in parentReference as well made it work again. I tried with several ids with no luck until I passed the path as well?

Any help would be much appreciated.

Thanks,
Lee.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,585 questions
{count} vote

Accepted answer
  1. Srinivasa Rao Darna 6,686 Reputation points Microsoft Vendor
    2022-04-19T14:29:24.417+00:00

    Hi @Lee Caine ,

    There is a open case with Microsoft Engineering team for the driveitem-copy into same location.
    Will keep you informed about the progress.

    Related post: Graph API - Sharepoint copyItem with parentReference not working

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Praveen Narala 21 Reputation points
    2022-04-19T15:08:54.277+00:00

    @SrinivasaRaoDarnaMSFT-7657 If in case, any change to the request body. Would suggest, it would be good if your team could post the change officially before it gets released to the public. If any failure, we can read through the API documentation for changes. It will avoid a lot of confusion and time. Thanks.

    0 comments No comments