Dear @Alex,
Thank you for posting your question in the Microsoft Q&A forum.
Based on your description, adding a full sender email address to Safe senders and domains works correctly for messages created via Microsoft Graph, but adding only the sender domain works only for inbound mail. You want to confirm whether this behavior is expected, whether Graph‑created messages are evaluated differently, and whether a full sender address is required instead of a domain for this type of message.
What you’re seeing is expected. Emails delivered through normal inbound mail flow and emails injected directly into a mailbox via Microsoft Graph can be evaluated differently, so a domain-only entry in Safe senders and domains may not be applied consistently for Graph-created messages. For Graph-injected messages, the most reliable approach is to safe listing the full sender email address, which matches your test results (address works; domain-only may not). Microsoft also notes that whether domain entries are honored can vary depending on how the service handles the message (policy verdict/action path), while specific sender addresses are more consistently honored. If you want to verify what’s actually stored for the mailbox and whether it’s in sync, Microsoft provides a Safe/Blocked Sender diagnostic tool:
Diagnose Safe/Blocked Senders Issues in Microsoft 365
I hope information above meet your expectations, if it does not, please leave the comment below so I can support you more effectively.
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.
I hope information above