Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

To-do lists for someone else

(0) ShareShare
ReportReport
Posted on by 642

Using regular to-do steps you can easily add a task list and create task items in that list. No problem. I want to update another person's to-do list and add tasks. The graph api beta solution seems to be able to provide that as the regular step doesn't offer the ability to add another person's ID / DisplayName, etc...

 

Regular Steps (no option for someone else's profile)

sasrsc_0-1599995877777.png

 

If I use the Http with Azure to connect with the Graph API you can do this using the beta graph to-do 
https://docs.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-beta&tabs=http

 

sasrsc_1-1599995931843.png

So I set this up and I can get the call to go through. I am using the ID value for someone else (not me).

 

sasrsc_2-1599995991762.png

Earlier I grab to user profiles (me and someone else)

sasrsc_3-1599996054270.png

Here's the output showing the 2 profile responses with the id's (I am Richard)

sasrsc_5-1599996260621.png

 

Here's the graph api call and you can see I am using the id value for the other person (beginning with ba2f8)

sasrsc_4-1599996174540.png

No problem, you'd think this is working normally. But the output response from the http call shows my lists and not Heath's.

What am I doing wrong? 

The ref document lists the syntax as GET /users/{id|userPrincipalName}/todo/lists

I assume that to me ... /users/+ id or the user principal name +/todo/lists.
I assume the {} isn't required. I did try it to be safe.

BTW: I am a citizen developer so excuse any dumb statements/lingo use/questions.

  • VictorIvanidze Profile Picture
    VictorIvanidze 11,853 on at
    Re: To-do lists for someone else

    Did you test this in the GRAPH Explorer?

  • stephenyoung Profile Picture
    stephenyoung 11 on at
    Re: To-do lists for someone else

    I don't suppose you ever found a way to get this to work? I'm trying something similar.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard