I have a power automate flow that is triggered when an email arrives in a shared mailbox. A work item (Task) is created in Azure devops based upon the email. Sometimes the email has documents attached. I have tried various different variations in the power automate flow to attach the files to the work item but nothing seems to be working. I am stuck. I have faced two main issues as below:
1. Files get attached to the work item but they are corrupted.
2. Get an error that the file is not base 64 encoded.
I can provide all the details along with specific error messages that I have bumped into.
Interesting thing is that if I retest the flow using "Resubmit" from within power automate, it works and the files are not corrupted and I do not get the base 64 encoding error. I am confused.......
Can someone please please provide a working solution (that work consistently)?
Thanks!