How to convert contentBytes to file csv with node js

Emmanuel Santiago | MagicLog 1 Reputation point

Hi I use graph api to get csv attachment, but when I obtain the response is in base64, when I decode the contentByte does not access from json or readable from fs.

which is the correct way to decode contentByte?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,567 questions
{count} votes