How to Register an Azure AD App for Your Intranet (Microsoft 365 + Graph)
Quick Jump: When to Register | What You'll Need | Step-by-Step | Final Notes
Overview
To enable intranet features like sending email with Microsoft 365, posting to Teams, syncing user profiles, or enabling secure login, you'll need to register an Azure AD app. This step-by-step guide shows IT admins how to create one with the right permissions, scopes, and secrets.
When Do You Need an Azure App?
- Sending internal email via Microsoft 365 with OAuth2
- Accessing staff data via Microsoft Graph (e.g., name, email, department)
- Reading calendar events or user presence
- Posting announcements to Teams channels
- Secure user authentication using Entra ID (Azure AD)
What You'll Need
- Admin access to your Microsoft Entra ID (formerly Azure AD)
- Microsoft 365 email tenant (for mail permissions)
- Scope of use - what you want the app to do
How to Register the App
- Sign in as your Office 365 tenant admin at https://portal.azure.com
- In the left menu, go to Azure Active Directory → App registrations.
- Click 'New Registration'.
- Type some name (a client would enter SimplifyIT, for instance) and click 'Register'.
- Now you'll see the page where Application (client) ID (Application/Client ID) and Directory (Tenant) ID (Tenant ID) for your newly created app registration will be displayed. Store them for later use.
- Click 'Authentication' in the menu below Search box.
- Click the 'Add URI' link on the resulting page, select 'Web' and enter a value (if applicable). Keep in mind: it needs to be a secure, https:// site unless it's http://localhost/. For most banks and credit unions, the default (single tenant) is fine.
- Once created, click the newly-createed name of the App Registration, and then click 'Certificates & secrets' in the menu below Search box.
- Click 'New client secret'.
- Set some description and expiration time (e.g. 24 months).
- Click 'Add' to create your new secret.
- On Overview page, you'll see the newly created secret but only once. Copy/paste Secret Value (not Secret ID) (Secret Value) and save it into safe location for later use.
- Click 'API permissions' in the menu below Search box.
- Click 'Add a permission'; some examples below.
Function API Type Name Entra Single Sign-On Microsoft Graph Delegated Directory.Read.All Entra Single Sign-On Microsoft Graph Delegated User.Read Email Sending O365 Microsoft Graph Application Mail.Send Teams Presence Microsoft Graph Application Presence.Read.All Sync Profile (Individual) Microsoft Graph Delegated User.Read Sync Profile (Individual) Microsoft Graph Delegated User.Read Sync Profile (All Users) Microsoft Graph Application User.Read.All Sync Profile (All Users) Microsoft Graph Application GroupMember.Read.All Email Parser Office 365 Exchange Online Application IMAP.AccessAsApp Email Parser Office 365 Exchange Online Application Mail.ReadWrite SharePoint File Search Sites Application Sites.Read.All SharePoint Modification Sites Application Sites.ReadWrite.All - Email Parser permissions may be more difficult to locate.
- Select 'APIs my organization uses'.
- Type 'Office 365 Exchange Online' in the textbox.
- Click the found item.
- Select 'Application Permissions' (not 'Delegated Permissions').
- Select these permissions for the Email Parser: full_access_as_app and IMAP.AccessAsApp. Other permissions are outlined below (anything mail-related is for the Email Parser).
- Once all needed permissions have been added, click 'Grant admin consent for [CompanyName]'.
Note Down App Info From Above
You'll need:
- Application (client) ID
- Directory (tenant) ID
- Client Secret
Use these in your intranet configuration to authenticate requests securely using an OAuth 2.0 Microsoft Access Token.
Final Notes
You can reuse the same app for multiple features if the permissions are sufficient. For example, sending mail and reading basic user profiles can often be handled by a single registration.
See Also
- Register a SharePoint App - Use this if your goal is file search
- SharePoint Integration - Learn how SimplifyIT works with Microsoft 365
- Microsoft 365 Integration - See the full scope of available connections