question

AymanAbiAoun-4103 avatar image
0 Votes"
AymanAbiAoun-4103 asked AymanAbiAoun-4103 commented

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

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.

office-sharepoint-onlinemicrosoft-graph-applications
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
0 Votes"
michev answered AymanAbiAoun-4103 commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your answer. Do you think there's an alternative to graph API that would allow me to fetch all projects and tasks through API?

0 Votes 0 ·
MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered AymanAbiAoun-4103 commented

Hi @AymanAbiAoun-4103,

Project online is not supported in Graph API.

Quote from the article: https://docs.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.



· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your answer. Do you think there's an alternative to graph API that would allow me to fetch all projects and tasks through API?

0 Votes 0 ·

Hi @AymanAbiAoun-4103,

Is there anything update? If my reply helps you, you could accept it as answer :)

0 Votes 0 ·

Hello Micheal,

Unfortunately that does not solve my initial issue, as I need it implemented using Laravel, and Users should allow access from my Microsoft Azure project.

End users of my websites should integrate seamlessly to my application, using OAUTH from an Azure Application. It has to be using Microsoft Graph.

Your solution would have worked great if it was integrated in an internal tool.

0 Votes 0 ·