Is it possible to fetch Project Online tasks using Graph API?

Ayman Abi Aoun 1 Reputation point
2021-05-19T19:09:49.613+00:00

Hello,

I'm trying to allow my users to sync their https://example.sharepoint.com/sites/pwa from my website and fetch a list of their projects. I still can't find a documentation or a starting point to do so.

I've tried doing so using Microsoft Graph using https://github.com/microsoftgraph/msgraph-sdk-php but couldn't figure out how to fetch the list of Projects and tasks of Microsoft Project Online.

I would like to allow any user to connect and sync his projects.

Thank you for your kind support.

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

2 answers

Sort by: Most helpful
  1. Vasil Michev 96,161 Reputation points MVP
    2021-05-19T20:33:59.897+00:00

    No Graph API endpoints for project, afaik. Although Microsoft is heavily investing in bringing more SPO-based functionalities to Graph this year, which might also include Project Online stuff.


  2. MichaelHan-MSFT 18,016 Reputation points
    2021-05-20T01:51:23.837+00:00

    Hi @Ayman Abi Aoun ,

    Project online is not supported in Graph API.

    Quote from the article: https://learn.microsoft.com/en-us/graph/overview. Project Online is not listed.

    Microsoft Graph exposes REST APIs and client libraries to access data on the following Microsoft cloud services:

    • Microsoft 365 core services: Bookings, Calendar, Delve, Excel, Microsoft 365 compliance eDiscovery, Microsoft Search, OneDrive, OneNote, Outlook/Exchange, People (Outlook contacts), Planner, SharePoint, Teams, To Do, Workplace Analytics.
    • Enterprise Mobility and Security services: Advanced Threat Analytics, Advanced Threat Protection, Azure Active Directory, Identity Manager, and Intune.
    • Windows 10 services: activities, devices, notifications, Universal Print.
    • Dynamics 365 Business Central.

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.