Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Updating pwa (project online) Timesheets through dynamics

(0) ShareShare
ReportReport
Posted on by 43

I have a model‐driven app in Dynamics 365 with a custom Time Entry table. Each Time Entry record includes:

  • Hours (decimal)

  • Date (date)

  • Notes (multiline text)

  • Task (lookup to my Task table, which stores the PWA Assignment GUID)

  • User (lookup to SystemUser, defaulting to “Created By”)

What I want to do:

  • Automatically insert each Time Entry into the user’s Project Online timesheet (so that 5 hours on June 1 appear on the correct PWA Task/Assignment).

What I’ve tried so far

  • Pulled sample code/links for OData V1 (ProjectData) from Jitterbit docs.

  • Considered calling OData V2 (?api-version=2.0), but not sure if CRUD is actually supported.

  • Read about ProjectServer REST (/_api/ProjectServer/…) for timesheet operations, but looking for a simpler or “built-in” approach.

What I need help with

  • Is there a more direct method (other than hand-rolling OData queries) to push Dynamics Time Entry rows into PWA timesheets?

  • Has anyone used Power Automate to do this—if so, what connector or HTTP URI patterns did you use?

  • Any recommended documentation or code samples aside from the Jitterbit OData guide?

https://docs.jitterbit.com/integration-studio/design/connectors/microsoft-project/connection-details/#pg_odatav1
Categories:
  • Suggested answer
    MParikh Profile Picture
    112 on at
    Updating pwa (project online) Timesheets through dynamics
    Try implementing below Power Automate. 
     

    Connectors & Actions:

    • Dataverse Connector:
      • Trigger: When a row is added, modified, or deleted from your custom Dynamics Time Entry table.
      • Action: Retrieve additional details (Get a row by ID) if necessary.
     
    • SharePoint HTTP Action (Built-in Power Automate HTTP connector tied to SharePoint Online authentication):
      • URI Patterns Used (Commonly Applied):
        • To Add a Timesheet Line:
           
           
          POST https://{tenant}.sharepoint.com/sites/{pwa-site}/_api/ProjectServer/Timesheets('[TimesheetPeriodId]')/Lines/Add
           
        • Payload Pattern Example:
           
           
          {"parameters": {"AssignmentId": "<assignment-guid-from-task>","Comment": "<notes>","Work": "<hours>h"}}
           
        • To Submit a Timesheet (if required):
           
           
          POST https://{tenant}.sharepoint.com/sites/{pwa-site}/_api/ProjectServer/Timesheets('[TimesheetPeriodId]')/Submit

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >