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 / Posting Attachment in ...
Power Automate
Suggested Answer

Posting Attachment in AzureDevops via a flow (HTTP Request Error)

(1) ShareShare
ReportReport
Posted on by 96
Hello,
 
Ive created a form that will post the results into an azure devops work item and i have that part done. but what i cannot manage is getting the attachments to go in. i am using the HTTP azure devops action, and im trying to use the patch option to get it into the work item.
 
However i keep getting the following error:
 
The following is what i have for the connector:
 
 
any answers would be most welcome!
 
Thank you!
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    15,287 Super User 2026 Season 2 on at
    I use the old designer and do it this way, which has worked for me:

    The name value in the Relative URI value is the filename. With this, first you create the file in Azure DevOps and then attach the file to the item.

    Here is the scheme for the Parse JSON action, which is from the body of the prior Azure action:
    {
        "type": "object",
        "properties": {
            "id": {
                "type": "string"
            },
            "url": {
                "type": "string"
            }
        }
    }

  • Suggested answer
    alexb11 Profile Picture
    96 on at
    Hey David MA,
     
    does what you present below create a file then put an attachment in?
     
    What i have takes a microsoft form, then uses a create work item action to add the workitem into devops, THEN i would need a way to add this file to the now existing workitem (these will mainly be screenshots, pdfs and word docs. also some excel sheets eventually.
     
    Thanks!
  • David_MA Profile Picture
    15,287 Super User 2026 Season 2 on at
    Yes, what I show creates file in Azure and then adds it as an attachment to your work item. The process I show is from a question in MS Forms that is an attachment. If you are asking if that will work, yes. My process has been in place for at least a year, and I haven't had any issues yet.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard