Relative Content

Tag Archive for base64azure-data-factorydynamics-crmazure-logic-apps

If I have a base64 string and I don’t know if it is jpg or png or pdf or whatever, how do I convert it to a valid file?

I am trying to get Email attachment from Dynamics CRM and want to save the file in its original format.
When I try to get information from CRM Email entity I am getting a base64 string as the content of the attachment. I don’t know if it is jpg or png or pdf or txt or any other file format, now how can I convert it to its original file format.
Can we identify the format of the file from base64 string itself or we need to have other information to know the file type ??