Describe the Bug with repro steps
Flow: Customer is triggering Logic app standard when a new email arrives with attachments and further creating blob with attachment content.

Issue is when blob is created the data is encoded.
Repro done at our end:
Upon comparing the working in Logic app standard, Fallback and Logic app consumption we could see that in Fallback and consumption file is created successfully with same content but is readable(decoded) form.
If we check the difference in code view we could see below:
Workaround:
If i add any of the below it works fine and file is uploaded in decoded form:
We have one more issue w.r.t to extra foreach getting added in Logic app standard when we select attachments from dynamic content.
Add a action and select anything from dynamic content w.r.t attachment.
You will see 2 foreach getting created :
Where Foreach 2 iterates on value and Foreach 1 iterates on attachments and during runtime it fails on Foreach 2 because value is null.
The issue is only in logic app standard.
In fallback and consumption only 1 foreach is added which iterates on attachments and it works fine.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Edge
Additional context
No response
Describe the Bug with repro steps
Flow: Customer is triggering Logic app standard when a new email arrives with attachments and further creating blob with attachment content.
Issue is when blob is created the data is encoded.
Repro done at our end:
Upon comparing the working in Logic app standard, Fallback and Logic app consumption we could see that in Fallback and consumption file is created successfully with same content but is readable(decoded) form.
If we check the difference in code view we could see below:
Workaround:
If i add any of the below it works fine and file is uploaded in decoded form:
We have one more issue w.r.t to extra foreach getting added in Logic app standard when we select attachments from dynamic content.
Add a action and select anything from dynamic content w.r.t attachment.
You will see 2 foreach getting created :
Where Foreach 2 iterates on value and Foreach 1 iterates on attachments and during runtime it fails on Foreach 2 because value is null.
The issue is only in logic app standard.
In fallback and consumption only 1 foreach is added which iterates on attachments and it works fine.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Edge
Additional context
No response