Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ZuoDQWeBek5S83R344H2Ll
Power Automate - Building Flows
Unanswered

Task in Planner - Show description on card

Like (0) ShareShare
ReportReport
Posted on 18 Oct 2023 17:19:42 by 31

Hey guys,

 

I use an automated flow to create a task in planner after a MS forms response has been submitted.

After using "create a task" I fill in the description and the checklist in "update task details".

 

When I open the card in Teams, I can choose "Show description on card". But standard is to show the checklist on card.

Is there a way in Power Automate to set "show on card" for the description part?

 

Thanks and best regards,

smag

  • Expiscornovus Profile Picture
    31,726 Most Valuable Professional on 19 Oct 2023 at 09:19:32
    Re: Task in Planner - Show description on card

    Hi @smag,

     

    You can use the previewType property of the plannerTaskdetails object and set that to description value. You can use a PATCH HTTP request with the Update plannerTaskDetails method of the Graph API for this:

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

     

    Below is an example in a Power Automate cloud flow

    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 212 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 208 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 182

Overall leaderboard
Loading started