cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
illmatic
Helper IV
Helper IV

Updating Project Owner with Power Automate

I am trying to update the Project Owner of a Project with PowerAutomate to no avail.  I've reviewed a previous post:  https://powerusers.microsoft.com/t5/Using-Flows/Updating-Project-Online-Project-OwnerID-with-Power-A... but did not have any luck moving forward. 

 

I have tried the following with success in the flow itself, but the Project Owner field remains unchanged.

  • Adding a step to add new resource to Resource Pool via the EnterpriseResource uri (_api/ProjectServer/EnterpriseResource) and then adding them successfully to the Resource center via Email in the body).  [This was to address the issue in the post referenced above].
  • Adding a step to add the individual directly to the SPO/Project Online site as PWA is using SP permissions, and this too happened successfully.  (I added them to a SP only group, not one of the default PWA groups if this makes a difference).
  • Querying their SP UserID from the above step and then trying two different ways to change the Owner of the project with the SP UserID.
    • Creating a SP request to _api/ProjectServer/Projects('id here')/Draft and patching in the 'Id' string to the 'OwnerId'.
    • Creating a SP request directly to the Owner endpoint like _api/ProjectServer/Projects('id here')/Owner, and using the 'LoginName' parameter.   

       

      All steps conclude successfully, but none actually update the Project Owner.  Is there something else I am missing?

       

 

1 REPLY 1
alrez
Community Support
Community Support

Hi,

 

Looking through you post here it seems like you are doing everything correctly. I'm not 100% sure why you are encountering this issue. I would recommend opening a ticket with Microsoft Support. I'll include a link below on how to do so. If any other communities members have any ideas feel free to chime in.

 

If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,297)