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

Community site session details

Session Id : RtKG3/15uGOTikkTugihSb
Power Automate - General Discussion
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 24 Jul 2023 19:48:20 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?

I have the same question (0)
  • ximz Profile Picture
    21 on 11 Jun 2024 at 08:17:54
    Re: Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

    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!

     

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 31 Jul 2023 at 09:32:49
    Re: Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

    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?

  • 0__0 Profile Picture
    6 on 27 Jul 2023 at 17:09:11
    Re: Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

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

  • 0__0 Profile Picture
    6 on 27 Jul 2023 at 16:42:08
    Re: Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

    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 25 Jul 2023 at 15:35:03
    Re: Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

    Hello @Expiscornovus,

    I will give that a try and report back.

     

    Thank you for the information!

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 25 Jul 2023 at 12:24:43
    Re: Attempting to GET data from Project web app. Wanting to use "Send an HTTP request to Sharepoint"

    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

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete