Skip to main content

Notifications

Community site session details

Community site session details

Session Id : cA8eaLkDO3mEnew3aaHZtx
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,652 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,089 Most Valuable Professional

Leaderboard
Loading started
Loading complete