Issue while posting the email attachments for GCC high

Pragati Pandey 60 Reputation points
2026-06-24T09:44:24.4066667+00:00

Hi,
I tried to post the attachments which are non drafts and has attachment of size more than 3mb. I have used following API to post the attachment : https://graph.microsoft.us/v1.0/users/{userId}/messages/{messageId}/attachments/createUploadSession

and got the below error. Whereas , when I used the similar API to post the emails after chnaging .us from .com, it was posted successfully. Can you help , how can I post these email attachments?

{
    "error": {
        "code": "ErrorInvalidRequest",
        "message": "The OData request is not supported."
    }
}

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

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