getAttachmentContentAsync is not supported in outlook mobile but cannot find suitable alternative

Isora Dolage 16 Reputation points
2022-05-11T06:42:57.077+00:00

getAttachmentContentAsync API is only available from requirement set 1.8. So, what is the workaround for mobile outlook add-ins?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,532 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,831 Reputation points
    2022-05-13T07:39:40.677+00:00

    Hello @Isora Dolage , you can request the API to get the content of an attachment via the Get attachment method of Microsoft Graph, here is the documentation for your reference:
    https://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0&tabs=http Hope this helps you.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.