Online
278 TopicsIssue with EntityLinks in Project Online API
Hello everyone, I'm working with Project Online and trying to retrieve task data via the API. While reviewing the metadata, I noticed that PublishedTasks have a navigation property called EntityLinks, but I couldn't find clear documentation on its purpose or usage. What I Tried I attempted the following API requests: Retrieve EntityLinks for a task: GET https://{sitename}.sharepoint.com/sites/pwa/_api/ProjectServer/Projects(guid'{validProjectId}')/Tasks('{validTaskId}')/EntityLinks Expand EntityLinks within tasks GET https://{sitename}.sharepoint.com/sites/pwa/_api/ProjectServer/Projects(guid'{validProjectId}')/Tasks?$expand=EntityLinks Observations When the project has tasks, the request fails with: { "odata.error": { "code": "42, Microsoft.ProjectServer.PJClientCallableException", "message": { "lang": "en-US", "value": "PJClientCallableException: GeneralUnhandledException\r\nGeneralUnhandledException\r\nException = System.NotImplementedException: The method or operation is not implemented.\r\n at Microsoft.Office.Project.Server.BusinessLayer.EntityLinks.ThrowIfEntityLinksNotSupported()\r\n at Microsoft.Office.Project.Server.BusinessLayer.EntityLinks.ReadEntityLinksForEntities(Guid[] entityUids)\r\n at Microsoft.Office.Project.Server.Wcf.Implementation.CSOMImpl.<>c__DisplayClass35_0.<ReadEntityLinksForEntities>b__1()\r\n at Microsoft.Office.Project.Server.BusinessObjectMethodInvocation.InvokeBusinessObjectMethod(String methodName, IEnumerable`1 actions)" } } } If the project has no tasks, the request returns an empty response without errors { "odata.metadata": "https://{sitename}.sharepoint.com/sites/pwa/_api/$metadata#SP.ApiData.PublishedTasks", "value": [ ] } Other navigation properties (e.g., Predecessors) work fine with a similar request. Questions What are EntityLinks, and what do they refer to? How can they be created via the UI in Project Online? Is there a way to retrieve them successfully through the API? I couldn't find references for this error or EntityLinks. Any insights would be greatly appreciated! Thanks in advance!26Views0likes0CommentsIssue with EntityLinks in Project Online API
Hello everyone, I'm working with Project Online and trying to retrieve task data via the API. While reviewing the metadata, I noticed that PublishedTasks have a navigation property called EntityLinks, but I couldn't find clear documentation on its purpose or usage. What I Tried I attempted the following API requests: Retrieve EntityLinks for a task: GET https://{sitename}.sharepoint.com/sites/pwa/_api/ProjectServer/Projects(guid'{validProjectId}')/Tasks('{validTaskId}')/EntityLinks Expand EntityLinks within tasks: GET https://{sitename}.sharepoint.com/sites/pwa/_api/ProjectServer/Projects(guid'{validProjectId}')/Tasks?$expand=EntityLinks Observations When the project has tasks, the request fails with: { "odata.error": { "code": "42, Microsoft.ProjectServer.PJClientCallableException", "message": { "lang": "en-US", "value": "PJClientCallableException: GeneralUnhandledException\r\nGeneralUnhandledException\r\nException = System.NotImplementedException: The method or operation is not implemented.\r\n at Microsoft.Office.Project.Server.BusinessLayer.EntityLinks.ThrowIfEntityLinksNotSupported()\r\n at Microsoft.Office.Project.Server.BusinessLayer.EntityLinks.ReadEntityLinksForEntities(Guid[] entityUids)\r\n at Microsoft.Office.Project.Server.Wcf.Implementation.CSOMImpl.<>c__DisplayClass35_0.<ReadEntityLinksForEntities>b__1()\r\n at Microsoft.Office.Project.Server.BusinessObjectMethodInvocation.InvokeBusinessObjectMethod(String methodName, IEnumerable`1 actions)" } } } If the project has no tasks, the request returns an empty response without errors: { "odata.metadata": "https://{sitename}.sharepoint.com/sites/pwa/_api/$metadata#SP.ApiData.PublishedTasks", "value": [ ] } Other navigation properties (e.g., Predecessors) work fine with a similar request. Questions What are EntityLinks, and what do they refer to? How can they be created via the UI in Project Online? Is there a way to retrieve them successfully through the API? I couldn't find references for this error or EntityLinks. Any insights would be greatly appreciated! Thanks in advance!12Views0likes0CommentsProject Online - My Tasks not displaying calculated Task custom field?
Hello, we have defined a calculated Task custom fields that displays an indicator about the Task Status: The field works perfect on all Plans, displaying task by task the indicator correctly. We have added this custom field in the My Tasks page as one more column: Even tho the Project has been published, and therefore the custom field has been recalculated and it has an indicator in the Project Plan, here in the My Tasks page it is not working. We cannot see any value (indicator or text). Is there something we are missing? Thanks!44Views0likes0CommentsTimesheet Single Entry Mode
We have been using timesheet single entry mode to decouple actuals from the MS project file and user timesheet actuals. We plan to evaluate the users actuals from their timesheets in BI to reassess our baselines (specifically focusing on effort) and will ignore the actuals from the mpp file. This has worked as expected except for one scenario. When a PM marks a task complete in the project file and a user has logged any amount of time to the task in their timesheet, no project actuals push to the users timesheet (as expected/desired); however if a user has not yet logged any time against that specific task, the assignment planned work in the project file (now actuals) will push up to the users timesheet. We do not want any project actuals pushing to a users timesheet regardless of whether they have filled in their timesheet yet or not. We need the work actuals completely decoupled [timesheet work inputs do not update the project task status and project work inputs do not update the users timesheets]. Please help.55Views0likes3CommentsProject in teams not opening task chat window
Hi, I have been using Microsoft Project for the web and the Teams chat connection with my development team. Unfortunately, something has happened since Thursday 13-02-2025 that means the chat window is not opening for a task (Microsoft Teams -> Channel -> Project -> Task -> Window) It is extremely annoying, as we use the chat to show examples of development (screenshots, etc.) Does anyone have the same problem, or a solution to how to solve the problem? Regards, Lasse226Views8likes8CommentsLink two projects in Project online using REST API
Hi All, I have a requirement where I need to link multiple projects to a master project programmatically in Project Online. I've explored several options but haven't had any success so far. I'm looking for guidance or best practices to accomplish this task. I have the option to use either Python or Power Automate, so any insights or solutions using these tools would be greatly appreciated. Thanks in advance for your help.29Views0likes2CommentsExport a project as .mpp from Project Online
Hi, I have a project created in Project Online and need to share the .mpp project file with a client. However, although there are options to export as Excel or PDF, I am unable to export to .mpp. Is exporting from Project Online to .mpp even possible? I have been referring to this article - https://docs.microsoft.com/en-us/projectonline/connect-to-project-online-with-the-project-online-desktop-client which looked promising. I am on a Mac but I have a colleague with a Windows laptop and he has Project Professional desktop client. Has anyone tried this approach? But I am unable to figure out the Project Server URL referred to in the article. I have tried the URL of my Project Online project but this doesn't work. Any help here will be really appreciated.11KViews0likes6CommentsMissing Project Detail Page for one of my PWA projects
Hi, I have a custom PDP page for allowing my project managers to enter a status update for their projects. One of my project managers has reported that the Status Update link is missing from the side menu for one of his projects. The link is visible for his other projects and all other projects on the site. Anyone ever experience this and know how I can get the link back?Solved37Views0likes1CommentDefault scheduling mode Project app
Hi, the default scheduling mode of projects (fixed duration vs fixed effort) used to be configured in the general parameters settings in Power Apps, of the Project app (project for the web). But since that portal recently changed, I can't find it anymore. Do any of you know where those settings are to be found? Ps the personal and advanced settings options in the navigation bar of the Project app don't work. I checked that in two different tenants. The advanced settions popout does nothing (it is still in development I believe), the personal settings generates an error. In any case these don't seem to be the General Paramenters section anyway. Curious if some of you know where it is to be found...68Views0likes5CommentsConnect Project Online (PWA) using CSOM (C#) with MFA
Hello community, I need to work with MS Project Online (PWA) over API, CRUD projects, CRUD tasks and etc. I can connect to Project with using CSOM as described here: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/using-csom-for-dotnet-standard?source=recommendations And it works fine until MFA is enabled. Once MFA is enabled in Azure, the connection fails: "error": "interaction_required", "error_description": "AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access I'm searching proper and working way to pass 2-factor auth (as example it works fine with Schedule API from the box) Package "SharePointPnPCoreOnline" that contains GetWebLoginClientContext method is deprecated (https://www.nuget.org/packages/SharePointPnPCoreOnline/3.28.2012) Package "PnP.Framework" does not contain (I can't see) ability to pass 2-factor auth and retrieve token (https://www.nuget.org/packages/PnP.Framework/1.17.0) and returns same error as above. Can anyone tell me how to pass 2-factor authentication using C#, CSOM to get ProjectContext worked? Thank you185Views0likes1Comment