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 / 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
    12,982 Super User 2025 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
    12,982 Super User 2025 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

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard