Before you start: Set up a Microsoft Azure OAuth app. You only do this once — the same app powers every Outlook connection.
Pick Your Scope
Outlook supports several access levels via Microsoft Graph. Pick the smallest scope that does what you need:| Scope | Microsoft Graph permissions | What it does |
|---|---|---|
| Read-only | offline_access Mail.Read | Read messages, folders |
| Send only | offline_access Mail.Send | Send new emails; can’t read inbox |
| Full access | offline_access Mail.ReadWrite Mail.Send | Read, send, move, flag |
| Full + Calendar | offline_access Mail.ReadWrite Mail.Send Calendars.ReadWrite | Full mail + calendar event management |
offline_access is included in every option — without it, Microsoft won’t issue a refresh token, and the connection would expire every hour. Hiveku adds it automatically.Pick Your Tenant
Tenant controls which Microsoft accounts can authorize the connection. Set this when you registered the Azure app, but you can override per connection:- Common — any Microsoft account (work, school, or personal) can authorize. Most flexible.
- Specific tenant ID — only users in that tenant can authorize. Use when you want to restrict access to a single organization.
Connect the Mailbox
Select your Microsoft OAuth app
Pick the Microsoft app you registered under Settings > OAuth Apps. If you see no apps in the dropdown, create one first — see Set up a Microsoft Azure OAuth app.
Choose your scope
Pick one of:
- Read-only — for reading inboxes
- Send only — for outbound email
- Full access — for general CRM use
- Full + Calendar — for sales agents booking meetings
Choose your tenant
- Common for multi-tenant
- Specific tenant ID to restrict to a single Microsoft 365 tenant
Authorize with Microsoft
Click Authorize with Microsoft. You’re redirected to a Microsoft consent screen showing your app name and the scopes you’re requesting. Sign in, review, and click Accept.
Admin Consent
Some Graph scopes (especiallyMail.ReadWrite on some tenants) can be configured to require admin consent. If your users hit “admin consent required” during authorization, your Microsoft 365 admin should:
Open the Azure app
Go to portal.azure.com > App registrations > select the app.
Connect Multiple Mailboxes
Repeat the flow for each Outlook or Microsoft 365 account — each becomes its own connection.Verify the Connection
- Connection status on the Email Connections page shows Active
- Send a test email from the CRM — it arrives from your Outlook address
- For read scopes, check a test message appears in the CRM’s inbox view
Changing the Scope Later
OAuth tokens are scope-locked. To change a connection from read-only to full, for example:Disconnect the existing Outlook connection
Click the menu next to the connection and choose Disconnect.
Troubleshooting
AADSTS65001: consent required
AADSTS65001: consent required
Either the user hasn’t consented yet, or admin consent is required and hasn’t been granted. Retry the flow — the user sees a consent prompt. If consent is gated to admin-only, your Microsoft 365 admin must grant it in Azure Portal first.
'Admin consent required for this scope'
'Admin consent required for this scope'
Some scopes (like
Mail.ReadWrite in certain tenants) require admin pre-approval. Your Microsoft 365 admin should go to Azure Portal > App registrations > [your app] > API permissions > Grant admin consent for [tenant].User can't authorize — 'account not in this tenant'
User can't authorize — 'account not in this tenant'
Token refresh failing after a while
Token refresh failing after a while
Usually means your Azure client secret expired. Create a new secret in Azure Portal > App registrations > [your app] > Certificates & secrets, then update it in Hiveku > Settings > OAuth Apps. Existing connections may need to reconnect once.
Consent screen doesn't show all the scopes I expected
Consent screen doesn't show all the scopes I expected
If
offline_access isn’t listed, the connection won’t get a refresh token and will expire. Re-check your scope selection in Hiveku. If a mail or calendar scope is missing, confirm the permission is added in your Azure app under API permissions.What’s Next?
Microsoft OAuth App
Review the Azure app setup
Run Sales Sequences
Personal OAuth cadences — sent from this Outlook mailbox
Work with the AI SDR
The AI drafts and sends from your connected Outlook on approval
Send Emails
Use your Outlook connection in workflows