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
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (4,291)