Using classic Outlook for Windows in business environments
Hi @Ankit Kumar,
Good day! Thank you for reaching out to Microsoft Q&A forum and sharing the detail.
Based on the information provided, 550 5.1.8 is the error message you're seeing. The message "Access denied, bad outbound sender AS(42004)" usually means that your account or email address has been reported for sending potentially hazardous or suspicious emails, usually because of:
- Sending bulk messages that triggered outbound spam thresholds.
- A compromised account that was used to send spam.
- Malware-infected device or add-in that attempted to send mail.
- Abnormal email-sending patterns detected by Microsoft’s protection systems.
The below are the information that might clarify your concerns:
- What triggers this AS(42004) error?
This is produced when the anti-spam feature of Microsoft 365 finds outgoing messages from your account that don't follow email guidelines (such spam or malicious content). Hence, the account is temporarily blocked from sending. - Can it happen even if the account isn’t listed in the Restricted Users list?
Yes. The mistake may occasionally show up prior to the account being officially added to the list of restricted users, or it may show up after the account has been removed but protections are still in place. For a brief time, the account may still be restricted by the backend systems. - Can anything be done from the user side or must an admin open a ticket?
This issue must be handled by your IT admin and only IT has permission to take action on your account. You can advise your IT admin to refer the official Microsoft document to remove your restricted account: Remove blocked users from the Restricted entities page - Microsoft Defender for Office 365 | Microsoft Learn
If you’re not listed, but the error persists, your IT team should open a support ticket with Microsoft via the Microsoft 365 Admin Center to lift any hidden or backend restrictions.
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.