Hi Thomas LOEB,
Thank you for posting your question in the Microsoft Q&A forum.
Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
From what you’ve described, you are consistently receiving HTTP 500 Internal Server Error. This status code typically indicates a fault on the service side and requires backend tracking and log analysis to troubleshoot the issue. While you have rightly requested an investigation using the tracking ID, I regret to inform you that this Microsoft Q&A forum is a user‑to‑user support channel. Moderators, contributors, and external Microsoft employees participating here do not have access to backend systems nor the ability to intervene directly in Microsoft product features. Our role is limited to offering technical guidance and sharing best practices based on reported issues, requests, or ideas.
Therefore, please consider opening a support ticket directly with Microsoft through your Azure portal. A Microsoft support engineer, equipped with the necessary internal telemetry and tooling, can review the tracking/request IDs and service logs to assist you most effectively.
However, I'd like to contribute some troubleshooting suggestions to help narrow the scope while you await support:
- According to the endpoint documentation you’re using: https://learn.microsoft.com/en-us/graph/api/user-post-messages?view=graph-rest-1.0&tabs=http#request-headers this API requires:
-
Content-Type
-
Content-Length
In many cases, missing or invalid headers result in 400 Bad Request rather than 500, but since your post does not mention the exact headers sent, please double‑check that Content-Type is present and correct and that your client is setting Content-Length appropriately.
- Try the same operation against a non‑shared (user) mailbox to isolate whether the error is specific to the shared mailbox configuration or more general service behavior, please attempt the same POST (
/users/{id}/messages) with a regular user mailbox.
- If the user mailbox succeeds while the shared mailbox fails, that points to a shared mailbox–specific issue or configuration nuance.
- If both fail with 500, it more strongly suggests a service‑side problem requiring investigation by Microsoft Support.
I hope this helps, and I appreciate your patience while the issue is investigated.
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.