如何解决Microsoft Graph API发布消息附件
我正在尝试将附件发布到现有邮件中,但出现错误。
Invoke-RestMethod -Method Put -Uri "https://graph.microsoft.com/v1.0/users/me/messages/AAMkADNkOT=" -InFile "test.txt" -ContentType 'plain/text' -Headers $headers
错误消息:
Invoke-RestMethod: { "error": { "code": "ErrorInvalidRequest","message": "The OData request is not supported.","innerError": { "date": "2020-08-23T09:37:08","request-id": "2d3f2ee5-793e-4e9f-85fd-8d7a2fa2144" } } }
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。