-
Found a strange error. Using the following API's:
github.com/microsoftgraph/msgraph-sdk-go v0.40.0
github.com/microsoftgraph/msgraph-sdk-go-core v0.28.1 Both of the techniques work for an Item Attachment, but for some reason with a OneDrive Attachment, this does not seem to work. Error below: Error Trace: ..._test.go:407
Error: Received unexpected error:
1 error occurred:
* person@some.onmicrosoft.com: ErrorInvalidProperty The property '' is required when creating the entity.: error status code received from the API Is there any additional documentation on how to send a message with a OneDrive attachment? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This document describes how to add a oneDrive attachment: The intended message described has an attachment that uses the |
Beta Was this translation helpful? Give feedback.
-
If you want to attach files from OneDrive/SharePoint (not copying them, but sending a link to them) your application needs to:
More resources:
|
Beta Was this translation helpful? Give feedback.
If you want to attach files from OneDrive/SharePoint (not copying them, but sending a link to them) your application needs to:
More resources: