Graph API Event's referenceAttachment not showing

ram ra 20 Reputation points
2025-03-24T08:23:59.8+00:00

I followed the instructions at "event-list-attachments" to view the list of attachments for the event, but only file attachments were viewed and OneDrive attachments were not viewed.

How do I get reference attachments?

owa :

User's image

API : https://graph.microsoft.com/v1.0/users/userPrincipalName/events/event-id/attachments

return : User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,536 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Aashutosh Tiwari - MSFT 115 Reputation points Microsoft External Staff
    2025-03-24T09:42:02.8266667+00:00

    Hi Ram

    Thank you for reaching out to Microsoft!

    For getting reference attachment, please refer this documentation below:
    https://learn.microsoft.com/en-us/graph/api/resources/referenceattachment?view=graph-rest-1.0

    Additionally, please try this API
    GET /users/{id | userPrincipalName}/events/{id}/attachments/{id}

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment


  2. ram ra 20 Reputation points
    2025-03-26T02:17:39.45+00:00

    I already read that document!

    First, I need to know the reference attachment's ID!

    Refer : https://learn.microsoft.com/en-us/graph/api/event-list-attachments?view=graph-rest-1.0&tabs=http

    What I did : https://graph.microsoft.com/v1.0/users/userPrincipalName/events/event-id/attachments

    But, There is no refence attachment in the result. only file attachment

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.