I'm using outlook rest api to scan email and access all its attachments. For attachments which are copied this works ok. But if the attachment is uploaded to one drive and sent as link, then I did not find a way to access its content.
using the //attachments endpoint, I get the folloing data for this attachment:
{'@odata.id': "....",
'@odata.type': '#Microsoft.OutlookServices.ReferenceAttachment',
'ContentType': 'text/plain',
'Id': '....',
'IsInline': True,
'LastModifiedDateTime': '2017-12-14T13:07:47Z',
'Name': 'ccc.txt',
'Size': 418}
Is there anyway to access the attachment content in this case? Thanks.