web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Graph-API Planner, upd...
Power Automate
Unanswered

Graph-API Planner, updating Task "Resource not found for the segment 'tasks' "

(0) ShareShare
ReportReport
Posted on by

Hi,

I want to update the properties of a Task via Graph-API. So i use a HTTP-Request (V2). It looks like this:

Forum_API.png

But I always get the Error: "Resource not found for the segment 'tasks' "

I double-checked the Group-ID and the Task-ID, they are correct.

 

I tried to include the "Plan" into the API:      groups/{group-ID}/plans/{plan-ID}/tasks/{task-ID}/details

Now I get: "Write requests are only supported on contained entities or navigation properties with bindings."

 

What could be wrong?

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @Anonymous,

     

    As far as I am aware you can use the planner/tasks/<taskid>/details with a PATCH method to update the task details. No need to include the plan id or group id in that URI:

    https://learn.microsoft.com/en-us/graph/api/plannertaskdetails-update?view=graph-rest-1.0&tabs=http

     

    Below is an example

    In this sample I used an HTTP premium action with OAuth which uses an app registration (client id & secret) in Entra Id (with the correct permissions for this specific method, which is Tasks.ReadWrite.All).

     

    URI

     

     

    https://graph.microsoft.com/v1.0/planner/tasks/@{outputs('Create_a_task')?['body/id']}/details

     

     

     

    Headers

     

     

    {
     "Content-Type": "application/json",
     "If-Match": "@{body('Update_task_details')?['@odata.etag']}",
     "Prefer": "representation"
    }

     

     

     

    Body

     

     

    {
    "previewType": "description"
    }

     

     

     

    previewtype_property.png

  • Community Power Platform Member Profile Picture
    on at

    Hey @Expiscornovus ,

    Thanks for the reply.

    When I do it like u did (https://graph.microsoft.com/v1.0/planner/tasks/{Task-ID}/details), I get the Error "URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: groups."

    If u weren't using the premium action, which action would you use ?

    Forum_API2.png

  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @Anonymous,

     

    Sorry, as far as I am aware you can only use a premium action (like the HTTP one) for this specific type of request.

     

    The non-premium HTTP actions I have seen don't seem to support the plannerPlan resource objects as the first segment of your URI.

     

    I am still hoping Microsoft will release a Send an HTTP request action in the Planner connector for this 🤞

     

     

     

  • tboych Profile Picture
    9 on at

    Updating the Planner Task details used to work in the now deprecated original version of Office 365 Group Send HTTP Request. The V2 one that's now the only action available seems to have removed the functionality for me too.

  • VictorIvanidze Profile Picture
    13,073 on at

    Hi @tboych,

    I 'm agree completely.  It will be great if somebody from Power Automate team tell us if is it legal to use such deprecated actions. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard