Skip to main content

Notifications

Community site session details

Community site session details

Session Id : g0BAPoVn0PPDRqJZJriwCZ
Power Automate - Building Flows
Answered

When a new Email arrives create a Work item in azure devops with attachments

Like (2) ShareShare
ReportReport
Posted on 21 Dec 2022 08:50:50 by 14

@abm,

 I am building a flow where when an email arrives with attachments, it should create a work item in Azure DevOps and save the attachments against work item created.I was able to create a flow that generates a work item when the New Email is arrives.

 

1. But how do I get the attachments as well from Email into the work item?

I know the attachments get stored in one drive/share point and we can get contents from one drive and then send a HTTP request to Azure DevOps but I don't want to use one drive/share point in my flow.

2. A user might insert a screenshots inside the email body itself rather than attachment, the screenshots in email body are coming up broken images in azure devops, A user might do both thing either by attaching images or by adding the screenshots

How can i achieve this, any help would be appreciated

Regards 

  • Johnzee Profile Picture
    2 on 18 Sep 2024 at 11:23:41
    When a new Email arrives create a Work item in azure devops with attachments
    I am still encountering an issue that I get "Unable to parse Base64 encoded bytes" response when I use "Send an HTTP request to Azure DevOps". i.e. it fails when a new email with attachment is processed but when I used that failed email in an automatic test it works fine
  • abm abm Profile Picture
    32,464 Most Valuable Professional on 09 Jul 2024 at 15:07:19
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @heights2072 

     

    Do you need further help in this?

     

    Thanks

  • heights2072 Profile Picture
    2 on 02 Jul 2024 at 16:17:57
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Thank you @abm for the very insightful video. I followed the steps and was able to successfully automate my work item creation with the attachment. However, my attachment is coming out as blank. I have had a relook several times but did not find any mistake. Will you be open to taking a second look?

     

  • Vinayr96 Profile Picture
    12 on 19 Dec 2023 at 11:21:43
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @abm ,

     

    Could you please help me on this issue as its getting to my neck day by day.

     

    Thanks,

    Vinay.

  • Vinayr96 Profile Picture
    12 on 07 Dec 2023 at 06:55:43
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @abm,

     

    Any luck in finding the solution for my above query.

  • Vinayr96 Profile Picture
    12 on 04 Dec 2023 at 05:38:24
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @abm or @Harsha-99 

     

    Can one of you help me on my issue posted in my latest acknowledgement ASAP.

     

    Thanks,

    Vinay 

  • Vinayr96 Profile Picture
    12 on 01 Dec 2023 at 05:34:17
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @abm ,

     

    i did the modifications as per the update shared under your video description, but it still doesn`t work.. as soon as i change the Body is Bas64 to Yes, im getting the error as "Unable to parse Base64 encoded bytes.
    clientRequestId: 7ddd27ab-0c7d-4161-b67e-06ae1eb44644". Could you please suggest further on this? attached my flow screenshot post modifications as per the update shared under video description.

     

    Vinayr96_3-1701408803797.png

     

     

    Vinayr96_1-1701408492131.png

     

     

  • abm abm Profile Picture
    32,464 Most Valuable Professional on 30 Nov 2023 at 22:03:46
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @Vinayr96 

     

    See my video description and there is an update about version. Try to implement that and see if that works or not.

     

    Thanks

  • Vinayr96 Profile Picture
    12 on 30 Nov 2023 at 14:52:48
    Re: When a new Email arrives create a Work item in azure devops with attachments

    Hi @abm 

     

    I have a similar requirement of getting the attachment from a form and then have to attach it to the work item. i have achieved this from your video almost 99%. forget about the steps to get the attachment from form and all, my flow is running successful, but when i have opened the attachment, i get the attached error, even after downloading the file, im unable to open the file.. i tried the "Update" that you have shared under the same video, not sure if i did it in the correct way, but as soon as i try to run the flow, im getting the error for Base64 unable to parse, since "Body is Base64" to Yes.. .. Could you please help me how do i get my flow work..  Hope you could help me bit quicker as i need this in a critical process design.

     

     

     

  • nehaparakh Profile Picture
    12 on 21 Sep 2023 at 14:03:00
    Re: When a new Email arrives create a Work item in azure devops with attachments

    @abm please check ur Private Message

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 > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 51

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 39 Super User 2025 Season 1

#3
CU30040420-0 Profile Picture

CU30040420-0 23

Overall leaderboard
Loading started