Hi,
i have a flow that reads a note form Dynamics 365. I do get a proper base64 string that i can decode to get the actual pdf-file using e.g. base64decode.org.
However, when i attach the file to an "Office 365 Outlook - Send email action using: decodebase64(BASE64STRING) i dont get an error in flow but the file received in outlook is corrupt and cannot be opened.
I also noticed that the filsize shown as email attachment is actually ~25% larger than the acutal file from Dynamics.
Ok,
in the end this was an easy "fix".
I had to use "Base64toBinary" in the expression to convert my Base64-string.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2