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 / Update References in P...
Power Automate
Unanswered

Update References in Planner to Overwrite Attachments

(0) ShareShare
ReportReport
Posted on by 8

Hello everyone,

I’m working on a flow where I want to add an attachment to the References field in Microsoft Planner.

 

However, the issue is that instead of overwriting the old attachment, it appends the new one, which is not the behavior I want.

What I Have Tried:

  1. I’ve appended a variable for the new attachment.

  2. Here is the output of the variable:

  3. I used this output in the Update task details action, under the References field.
    Input to the References field:
    (Insert screenshot or JSON input here)

However, the final output in Planner still includes the old attachment along with the new one, instead of overwriting it.

 
and this is the input and output 
 
Output:
    "resourceLink""https://outlook.office.com/mail/deeplink/read/?ItemID=AQMkAGIzYzBmMmNiLWFmNGQtNGU2MC05NWFlLWFmMmI2ZGJmNTE2ZABGAAADkR2hwY3ZNUGcNIN0FybyawcAOdYFF4Es4UqvocGkeAMIzgAAAg
    "value": {
      "@odata.type""#microsoft.graph.plannerExternalReference",
      "alias""New Test",      
 
    "resourceLink""https://outlook.office.com/mail/deeplink/read/?ItemID=AQMkAGIzYzBmMmNiLWFmNGQtNGU2MC05NWFlLWFmMmI2ZGJmNTE2ZABGAAADkR2hwY3ZNUGcNIN0FybyawcAOdYFF4Es4UqvocGkeAMIzgAAA,
    "value": {
      "@odata.type""#microsoft.graph.plannerExternalReference",
      "alias""New Test",
      "type""Other",
     
 
Body here is from filter to check the planner with the email tittle   :
 
 
 
As you can see i have two link where i want only the latest one. Everyone know why it didnt overwrite?
Categories:
I have the same question (0)

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard