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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,239)