The Unavailability of the Create Task in Default Tasklist Graph API for the equivalent Outlook APIs.

Hari 6 Reputation points
2022-08-06T14:21:46.987+00:00

Create Task in Default Tasklist

Issue Description : There is no option to create a task in Default Tasklists without using TaskListsID

Outlook API : https://outlook.office.com/api/v2.0/me/tasks (Microsoft documentation).

As per Microsoft documentation, version 2.0 of the Outlook REST API has been deprecated. Please provide us the equivalent graph API for outlook api before the deprecation of the outlook API.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,717 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,831 Reputation points
    2022-08-08T02:45:37.053+00:00

    Hi @Hari ,
    Graph API provide the POST https://graph.microsoft.com/v1.0/me/todo/lists/AQMkADAwATM0MDAAMS0yMDkyLWVjMzYtM/tasks endpoint for create task, and
    Here is the documentation about creating Task by Graph API for your reference.

    If you're using the Microsoft Graph API for the first time,
    Note that you must first create your app in the AD portal and add permissions to it, and then obtain a token through authentication to use the Graph API.
    Here is the documentation instructions on how to do authentication. Hope it can help you.
    228820-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.