Hello **** Andrew Hall9,
Good day! Thank you for reaching out to the Microsoft community.
Based on the information you've provided, I understand that you're encountering an error related to sending messages via the Microsoft Graph API, where your message is being flagged by junk email filters. This behavior may be linked to how Microsoft’s spam filters handle email content, attachment types, or domain reputation when sending via the API.
Unfortunately, the community members here primarily focus on basic troubleshooting related to Microsoft 365, including subscription, account, and billing concerns. For more precise guidance and troubleshooting assistance with Microsoft Graph API-related issues, I would also recommend you to post your query to the Microsoft Graph API **** community.
The experts in that community are well-versed in handling specific concerns like yours and can offer tailored advice to help resolve your issue more effectively.
Apologies for redirecting you, but this ensures that you’ll receive quicker and more relevant support from specialists familiar with Microsoft Graph API’s intricacies.
Additionally, if you have a Microsoft 365 Business license, you can also benefit from Microsoft's direct technical support, which provides real-time and advanced assistance. The support engineers there have the necessary escalation channels and tools to effectively analyze and resolve issues like yours.
You can refer to this article for guidance on creating a service request from the Office 365 Admin Center to receive further assistance: Get support - Microsoft 365 admin | Microsoft Learn.
Note: If you’re an end-user, please coordinate with your Office 365 Global Administrator to handle these steps. How do I find my Microsoft 365 admin? - Microsoft Support.
Appreciate your patience and understanding. Have a great day!