How to access Todo Task api from external application for user who is not logged in?

Spica Rawat 1 Reputation point
2022-03-31T09:22:59.393+00:00

I have use case where in, user who is logged in to application should be able to create task for other users in ToDo from app itself.

We have registered our application in Azure with Delegated permission and scope as Tasks.Read and Tasks.ReadWrite. I can get logged in user's todo task list but I cannot do that for other user using below end point.

https://graph.microsoft.com/v1.0/users/XXXXXXX/todo/lists

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShivaniRai-MSFT-7217 2,746 Reputation points
    2022-03-31T15:19:28.013+00:00

    Hi @Spica Rawat ,

    The ToDo tasks API only supports the delegated Permission which means we can get todo tasks list only for the current signed in user. So, only /users/{your userid}/todo/lists will work.
    188872-image.png

    There is already a feature request idea created here. You can upvote it.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.