MsGraph PDF Converter Always Returns 404, Even When the File Exists and is in the Correct Directory

MERSAN CANONIGO JR 0 Reputation points
2024-12-18T02:45:13.8766667+00:00

We have a Power Automate flow that calls the Microsoft Graph API using the access token generated from the app registration with the correct API permissions. The process follows these steps: get the access token, get the site ID, get the drive ID, get the drive item ID, and finally get the PDF version of the file, all in API calls. The PPTX to PDF conversion worked for 4 weeks but suddenly started failing, always returning a 404 error, even though the file exists and no changes were made to the PPTX template or site permissions.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,607 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,983 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 43,491 Reputation points
    2024-12-18T10:14:27.6366667+00:00

    Hi @MERSAN CANONIGO JR

    I just did a quick test locally and it worked fine for me.

    User's image

    Could you please share some screenshots of your test so I can analyze the cause of the error?

    0 comments No comments

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.