Converting Word to PDF using Graph API loses Track Changes

Harry 0 Reputation points
2023-08-29T00:13:15.6133333+00:00

Hi,

I use the Graph API to convert a word document to PDF. The PDF output does not show the track changes. I need the new additions in the word document to be highlighted in red color. This however, works as expected when I do "Save As" PDF document within Word. Is there a way that I can retain these changes when converted to PDF using graph API?

Thank you.

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ab-8756 805 Reputation points
    2023-08-29T17:55:02.9566667+00:00

    Hello Harry,
    Thank you for your post in this Q&A forum.
    Could you please share screen shots of the process you are following and if your file is in OneDrive.
    This API should work to convert your OneDrive file to PDF;- https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-1.0&tabs=http

    Thanks.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.