I'm trying to include Microsoft Graph API mail subscription in a Javascript project with @microsoft/microsoft-graph-client
, I get an object response (body, subject, cc, to ...etc) and a Boolean hasAttachments: true
but the attachment url is nowhere to be found, is there a way to get these attachments ?
Is there a way to get Attachments url from Microsoft Graph Subscription response?
1k Views Asked by Garsivirus At
2
Ok i tried this Graph API call using Javascript code and it's working for me (get the .txt file):
and to convert the contentbytes and store it locally refer the related link - download attachments from mail using microsoft graph rest api as well.