Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Project Online Update Fields via REST-API

(0) ShareShare
ReportReport
Posted on by 211

Hey Guys,

currently im trying to automate our Project creation process with Project Online.
Goal of this flow is to create a Project after we recevied a Forms respond and updating several fields (custom fields) with input we received via Forms.

The flow runs smoothly without any error message.
But the one field im testing with right now will not be updatet on Project Online.

 

Hopefully you have any idea where my mistake might be.

Thanks in advance.

 

Flow.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • smorph Profile Picture
    211 on at
    Re: Project Online Update Fields via REST-API

    @Expiscornovus 

    I receive another issue now with my custom fields.
    I get an array back from Forms but the field i want to be filled is a lookup one.

    To be honest, i have no idea or clue how to solve that. Any ideas from your side?

  • smorph Profile Picture
    211 on at
    Re: Project Online Update Fields via REST-API

    @Expiscornovus 

    That's it. Everything works fine, so far with two custom fields, the rest should be peanuts now. 😅

    Thanks for your time.

  • Verified answer
    Expiscornovus Profile Picture
    32,155 Most Valuable Professional on at
    Re: Project Online Update Fields via REST-API

    Hi @smorph,

     

    I haven't tried that. But I would suggest to try this:

    {"customFieldDictionary":[{"Key":"Custom 1","Value":"John Doe", "ValueType":"Edm.String"},{"Key":"Custom 2","Value":"Number", "ValueType":"Edm.Int32"}]}

     

  • smorph Profile Picture
    211 on at
    Re: Project Online Update Fields via REST-API

    Allright, the custom field was now updated as well.

    Am I right that if I want to update several custom fields at once, the body should look like this?

     

     

    {"customFieldDictionary":[{"Key":"Custom 1",
    "Value":"John Doe", "ValueType":"Edm.String"}],
    [{"Key":"Custom 2",
    "Value":"Number", "ValueType":"Edm.Int32"}]}

     

     


  • smorph Profile Picture
    211 on at
    Re: Project Online Update Fields via REST-API

    Allright, checked the queue and there was no "publish and check in action" visible.

    Shame on me I forgot to put that action back from static result. 😓

    I copied your input and now the standard field is updatet. Check now with the custom field.

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on at
    Re: Project Online Update Fields via REST-API

    Hi @smorph,

     

    Ok, lets start with a standard field like Project description.

     

    You have tried that with below setup?

     

    Method

    PATCH

     

    URI

    _api/ProjectServer/Projects('ProjectGUID')/Draft

     

    Headers

    {
     "Accept": "application/json;odata=nometadata",
     "Content-Type": "application/json;odata=nometadata",
     "If-Match": "*",
     "X-HTTP-Method": "MERGE"
    }

     

    {
    "Description": "Update project description"
    }

     

    Have you also checked the queue, do you see the checkout activities?

    https://learn.microsoft.com/en-us/project/manage-queue-jobs-project-server-2013

     

  • smorph Profile Picture
    211 on at
    Re: Project Online Update Fields via REST-API

    Hey @Expiscornovus ,

    yes I've seen that already yesterday, and run through all the post today, but I even can't update the standard fields, like the description one. The flow rund through, but looking into the field it's still empty.

    Right now I just want to update one custom field, later on, there are a whole more I need to update at once.

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on at
    Re: Project Online Update Fields via REST-API

    Hi @smorph,

     

    Have you tried the updatecustomfields method?

     

    In the thread below I have shared an example:

    https://powerusers.microsoft.com/t5/Building-Flows/Use-SharePoint-Rest-API-to-update-Project-Details-in-PWA/m-p/870837/highlight/true#M122291

     

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1