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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,021)