web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Attempting to GET data...
Power Automate
Unanswered

Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

(0) ShareShare
ReportReport
Posted on by 6

Currently researching ways to migrate SharePoint workflows to Power Automate. One workflow is to get/submit/update project stages. I am looking to GET work flow stage using the Power Automates SharePoint connector "Send an HTTP request to SharePoint.  I am not quite sure where to pull from as the information is not held in a list that I can see. Could someone point me in the correct direction?

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,801 Most Valuable Professional on at

    Hi @0__0,

     

    If you are looking for the management of stages itself you can probably use the methods listed below:

    https://learn.microsoft.com/en-us/previous-versions/office/project-javascript-api/jj669261(v=office.15)

     

    As far as I am aware you should also be able to find the project stage on the project detail pages. So, I expect you should also be able to interact with those stage values on a per project basis via the REST API:

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

     

    In this thread I shared a couple of examples:

    https://powerusers.microsoft.com/t5/Building-Flows/Use-SharePoint-Rest-API-to-update-Project-Details-in-PWA/m-p/870543

     

  • 0__0 Profile Picture
    6 on at

    Hello @Expiscornovus,

    I will give that a try and report back.

     

    Thank you for the information!

  • 0__0 Profile Picture
    6 on at

    I tried a few different combinations of this:

    sharepoint.com/sites/pwa/_api/ProjectServer/Stages/getByGuid('uid')

    Was expecting to get the stage value instead of just $true.   I am misunderstanding the method documentation?

    I also attempted your example above:

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

    But I get a 400 error.

    If I remove Draft I get full output but I see return data only under Tasks

  • 0__0 Profile Picture
    6 on at

    Here is body if I switch to verbose
    {"d":{"GetByGuid":null}}

  • Expiscornovus Profile Picture
    33,801 Most Valuable Professional on at

    Hi @0__0,

     

    I believe that first endpoint is just the definition of the stages. So, in your case I would suggest to focus on the draft method of a project.

     

    What did you test? Did you try to update a stage with a PATCH? If so, have you checked out the project first in your flow setup (with a checkout project action) before you tried to change the draft version of it via a HTTP request?

  • ximz Profile Picture
    21 on at

    Hi @0__0,

     

    I am using the below query to get the current PhaseName for a Project:

    ximz_0-1718093786916.png

     

    I gues you only need to add StageName to the $select.

     

    Did you found a way to submit a Project workflow through Power Automate using REST API?

     

    Thanks!

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard