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

2 REPLIES 2
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.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,392)