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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to delete a Planne...
Power Automate
Answered

How to delete a Planner Plan using Graph

(1) ShareShare
ReportReport
Posted on by 294

Power Automate Heros,

I'm a bit of a newbie at Power Automate and am trying to delete an MS Planner Plan using Graph and using the "Send an HTTP Request" in Office365 Groups. I've been through the documentation (which partially makes sense to me) but am unable to figure out the right syntax for the If-Match header. I'm also unsure if it's the planner id that goes in the If-Match header or something else.

Could someone please walk me through, step by step, how to configure this part of the flow?

Thank you.

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

    Hi @karimabdelrazek,

     

    You would need to retrieve the e-tag value. That is required in the If-Match header. You can use a GET request to retrieve the current e-tag value and use that in the DELETE request.


    Below is an example how you could delete a plan

    Properly test this. I have only tested it in my own dev.

     

    CustomHeader1 value

    If-Match: @{outputs('Send_an_HTTP_request')?['body']['@Odata.etag']}

     

    deleteplannerplan.png

  • karimabdelrazek Profile Picture
    294 on at

    @Expiscornovus . Thank you for your quick reply. It's not working at my end. I've tried rebuilding your formula in the expression editor and it's giving me an error that says "The expression is invalid". What am I missing?

  • karimabdelrazek Profile Picture
    294 on at

    It worked! My mistake was that I accidently chose the "Send an HTTP Request V2" instead of the regular "Send an HTTP Request". Thank you!

  • Artur_eM Profile Picture
    2 on at

    Hello,

     

    unfortunately send HTML is no longer available
    can this be done via send HLTM v2?
    when I build the header according to this instruction, it throws an error 😞

     

    "code": 400,
        "message": "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. Uri: https://graph.microsoft.com/v1.0/planner/plans/SES-YsU4F02X_GI5KLknzJcAG_bq",
  • huhah888 Profile Picture
    4 on at

    Thank you!
    The Graph MS Docs around deleting a Planner plan do not cover this!

    Worked for me!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard