This document explains how to configure OAuth authentication for Microsoft Graph API by registering an application in Microsoft Azure and integrating the credentials with Applications Manager. The configuration involves the following steps:
To enable OAuth authentication, you must first register your application in the Azure portal.

After registering the application, collect the required credentials.
Copy the Application (Client) ID. This will be used as the Client ID in Applications Manager.

Copy the OAuth 2.0 Authorization Endpoint (v2) and OAuth 2.0 Token Endpoint (v2). These values will be used as the Authorization URL and Token URL in Applications Manager.

A client secret is required for OAuth authentication.
Note: The client secret value is displayed only once. Make sure to copy and store it immediately.

Permissions must be configured depending on the OAuth grant type used.
Select Microsoft Graph.

Click Add permissions.

Click Grant admin consent for [Organization Name] and confirm by selecting Yes.

Note: Ensure the permission status shows a green checkmark, indicating that admin consent has been successfully granted.
After completing the Azure configuration, add the OAuth provider in Applications Manager.
Enter the configuration details as shown below:
| Field | Value |
|---|---|
| OAuth Provider Configuration | |
| Client ID | Application (Client) ID from the Azure Overview page |
| Client Secret | Secret Value from Certificates & secrets (not the Secret ID) |
| Authorization URL | OAuth 2.0 Authorization Endpoint (v2) |
| Token URL | OAuth 2.0 Token Endpoint (v2) |
| OAuth Request Configuration | |
| Token Request Method | POST Request Body |
| Authenticated Request Method | Basic Authentication |
| Grant Type Configuration | |
| Authorization Code | Mail.Send offline_access |
| Resource Owner Password Credentials (ROPC) | Mail.Send offline_access |
| Client Credentials | .default |
If the credentials and permissions are configured correctly for Microsoft Graph API, the OAuth provider will be successfully added in Applications Manager.

Thank you for your feedback!
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development