cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
danderson2692
Frequent Visitor

Project Online Add/Update Assignment

Hello,

 

I'm trying to create a flow which will create a new task in Project Online, then add a resource to the newly created task. I've followed this post and am able to create new tasks either using the Project Online connector or with an HTTP request: https://techcommunity.microsoft.com/t5/project-support-blog/project-online-adding-tasks-where-you-wa...

 

Now I'm struggling to create the assignment to assign the resource. My HTTP request is shown below and is similar to the request shown here (starting with row 100), however I'm receiving a 401 Unauthorized error when I run this: https://github.com/OfficeDev/Project-Samples/blob/master/O365-Project-Online-REST-Samples/createproj...

Capture.PNG

 

I've seen that there are new methods to authenticate connections to Project Online as was described here, however I'm not sure why this would be relevant in Flow when I'm able to perform a similar post/add to create tasks.

https://social.msdn.microsoft.com/Forums/en-US/9d82571d-cce4-44b5-93fb-9a11ad0078b8/odata-call-in-ne...

 

This is my full flow. I have a 1 minute delay to make sure the first check-in/publish is processed before trying to add an assignment because I'm not sure if that could cause an issue with adding an assignment to a task (does the task need to be published to be able to create an assignment?)

Capture.PNG

 

Thanks in advance for any help or suggestions on this.

 

David

3 REPLIES 3
Elia
Advocate I
Advocate I

Hi, I am running into a similar issue. Did you resolve the problem? I am interested to hear if it will work, or I should give up now. Thanks!

No, I haven't been able to get around this error yet.

allissonscalco
Regular Visitor

Hi!!

 

First of all, you need to assign the resource to the team!!

 

Example: 

 

flow.jpg

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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!

Users online (1,313)