Are Open Extensions supported on Todo Tasks?

Peter Kahle 21 Reputation points
2022-01-07T15:39:02.14+00:00

From https://learn.microsoft.com/en-us/graph/api/resources/todotask?view=graph-rest-1.0, it looks like they should be.

If I try to add one, using either GraphExplorer or the .NET SDK, it seems to work, but then when I query (and expand extensions) it's not actually there.

If Schema Extensions work, that would be good, too.

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

Accepted answer
  1. JanardhanaVedham-MSFT 3,536 Reputation points
    2022-01-10T10:34:26.087+00:00

    Hi @Peter Kahle ,

    Yes, todoTask resource type supports open extensions. I have also tested it at myend and able to create and get an open extension for todoTask resource type and it is working fine as expected. I am able to get the open extension of todo Tasks in 3 different ways including expand extensions query method. Below I have attached my testing output results of the same :

    Example : Create an open extension for todoTask resource type (Sample Request)

    POST https://graph.microsoft.com/v1.0/users/{id|userPrincipalName}/todo/lists/{id}/tasks/{id}/extensions

    163509-image.png

    Example : Get an open extension for todoTask resource type with the below different ways (Sample Request)

    GET https://graph.microsoft.com/v1.0/users/{Id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extensionId}
    GET https://graph.microsoft.com/v1.0/users/{Id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{taskId}/extensions/{extension-name}
    GET https://graph.microsoft.com/v1.0/users/{Id|userPrincipalName}/todo/lists/{todoTaskListId}/tasks/{Id}?$expand=extensions($filter=id eq '{extensionId}')
    163569-image.png
    163601-image.png
    163602-image.png

    You can refer this documentation for more details on getting open extensions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it ,so that it will be helpful to the other community users. If you have any further questions about this answer, please click "Comment".

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful