Issue with accessing sharepoint page content containing interactive images using graph api

Patrick Poynter 20 Reputation points
2024-07-31T13:59:56.4866667+00:00

Hi,

I'm trying to access sharepoint page content via the graphAPI, but I'm having issues with pages that contain interactive images. I've tried using the following endpoints:

However, whenever I try accessing pages with interactive images, I receive an "Invalid Request" with a 400 status code. Other pages without interactive images work fine. I have read access to the entire sharepoint site, so it's not a permissions issue.

Has anyone else experienced this issue before and have any thoughts?

Thanks.

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

Accepted answer
  1. AllenXu-MSFT 21,126 Reputation points Microsoft Vendor
    2024-08-01T06:01:23.36+00:00

    Hi @Patrick Poynter,

    This issue occurs because the Graph API doesn't support interactive images. As a workaround, you can try using the SharePoint REST API to access the page content.


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.