---
title: "Connect a Microsoft 365/Outlook Account (OAuth)"
url: https://docs.mailbeast.ai/en/articles/8-connect-a-microsoft-365outlook-account-oauth
collection: "Email Account Setup"
updated: 2026-11-04
language: en
---

# Connect a Microsoft 365/Outlook Account (OAuth)

MailBeast supports Microsoft 365 (Business) accounts through OAuth authentication. This means MailBeast never stores your Microsoft password - a secure token handles everything.

* * *

## How to Connect

1.  Go to [**Email Accounts**](https://app.mailbeast.ai/email-accounts) and click **Connect Email**.
    
2.  Select **Microsoft Outlook**. MailBeast shows the **Instructions for Microsoft 365** dialog.
    
    ![Microsoft - Instructions for Microsoft 365](https://mailbeast.ai/help/02-email-account-setup/microsoft-instructions-dialog.png "Microsoft - Instructions for Microsoft 365")
3.  Important step! Enable SMTP and IMAP in your Microsoft 365 Admin - see [Enable SMTP & IMAP](#enable-smtp—imap) below.
    
4.  Click **Connect Account**. You will be redirected to Microsoft's login page.
    
5.  Sign in with your Microsoft 365 account.
    
6.  Review the permissions requested and click **Accept**.
    
7.  MailBeast automatically tests your SMTP and IMAP connections and if it is connected, account will be marked accordingly on your email accounts screen.
    

* * *

## Enable SMTP & IMAP

> **Info:** **Purchased accounts through our email partner inside the app?** SMTP and IMAP are already enabled - you can skip this section.

Your Microsoft 365 admin must enable SMTP and IMAP for each account before connecting:

1.  Open [Microsoft 365 Admin Center](https://admin.microsoft.com) (you need admin access).
    
2.  Navigate to **Users** > **Active Users**.
    
3.  Select the user account you want to connect.
    
4.  Go to the **Mail** tab > **Manage Email Apps**.
    
5.  Enable **SMTP** and **IMAP** (check both).
    
6.  Save changes and wait approximately **15 minutes** for the change to propagate.
    

* * *

## "Need admin approval" Screen

Some Microsoft 365 organizations require admin consent before users can connect third-party applications. If you see a "Need admin approval" screen:

1.  Sign in to the [Azure Portal](https://portal.azure.com).
    
2.  Navigate to **Azure Active Directory** > **Enterprise applications**.
    
3.  Find **MailBeast.ai** in the list (or search for it).
    
4.  Go to **Permissions** > click **Grant admin consent**.
    
5.  After consent is granted, users in your organization can connect their accounts.
    

> **Info:** **Purchased accounts through our email partner inside the app?** This step is not needed - admin consent is already configured.

* * *

## Troubleshooting

### SMTP connection fails

The most common cause is SMTP AUTH being disabled.

**Fix:** Complete [Enable SMTP & IMAP](#enable-smtp—imap) above - enable SMTP and IMAP in Microsoft 365 Admin Center for the affected user. Wait 15 minutes, then re-run the connection test in MailBeast.

### "Something went wrong" during OAuth

-   Clear your browser cookies for login.microsoftonline.com and try again.
    
-   Make sure you are signing in with the correct Microsoft account (not a personal account when you meant business, or vice versa).
    
-   If you have multiple Microsoft accounts, use an incognito/private browser window to avoid account confusion.
    

### Connection drops after working initially

-   Your Microsoft password may have changed.
    
-   MFA settings may have been updated.
    
-   Your admin may have changed conditional access policies.
    

**Fix:** Open the account in MailBeast and click **Reconnect** to re-authenticate. See [Reconnecting Disconnected Accounts](https://docs.mailbeast.ai/en/articles/14.md) for details.

* * *

## Next Steps

-   [Verify your DNS records](https://docs.mailbeast.ai/en/articles/28.md) to ensure your domain is configured for deliverability.
    
-   [Enable warmup](https://docs.mailbeast.ai/en/articles/33.md) to build sender reputation.
