Creating Microsoft Outlook (Office 365) OAuth App Registration
This guide explains how to create a Microsoft Azure App Registration to allow the website to send emails via Outlook / Office 365 using OAuth.
What This Is For
CourseCo uses Microsoft OAuth to send system emails from your Office 365 mailbox (e.g. training@yourdomain.ie) in a secure, Microsoft-approved way.
What You’ll Need
Access to Microsoft Entra Admin Center (Azure Portal)
Global Admin or Application Admin permissions
The email address you want CourseCo to send emails from eg training@yourcompanyname.com
Step 1: Create a New App Registration
Log in to the Microsoft Entra Admin Center
Go to Applications → App registrations
Click New registration
Enter the following:
Name: CourseCo Email Integration (or similar)
Supported account type:
Accounts in this organisational directory only (Single tenant)Redirect URI (Web): (edit with your courseco domain)
CODEhttps://yourdomain.courseco.co/admin/messaging/oauth_set(Use the exact URL provided by CourseCo)
Click Register
Step 2: Note the Application (Client) ID and Tenant ID
Once the app is created:
Copy and save:
Application (Client) ID
Directory (Tenant) ID
These will be sent to CourseCo later.
Step 3: Create a Client Secret
In the app menu, go to Certificates & secrets
Click New client secret
Enter:
Description: CourseCo Email
Expiry: Choose your preferred duration (e.g. 12 or 24 months)
Click Add
Immediately copy the secret value
⚠️ This will only be shown once.
Step 4: Configure API Permissions
Go to API permissions
Click Add a permission
Select Microsoft Graph
Choose Application permissions
Add the following permissions:
Mail.Send
Click Add permissions
Click Grant admin consent for your organisation
Step 5: Send Details to CourseCo
Please send the following securely to your CourseCo contact:
Client ID
Client Secret
Tenant ID
Once received, CourseCo will complete the connection and confirm when email sending is active.
Step 6: Grant CourseCo Access in the Admin Console
An administrator must approve CourseCo’s permission request to allow email sending.
Log in to the Microsoft Entra Admin Center as a Global Administrator.
Navigate to Identity → Applications → Enterprise applications.
Locate and select the CourseCo application.
Open the Permissions section.
Review the requested permissions and click Grant admin consent.
Confirm the action when prompted.
Result:
Permissions will show as Granted, and CourseCo will be authorised to send emails on behalf of your organisation.
Support
If your IT team has questions during setup, they can contact CourseCo and we’ll assist directly.