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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,792)