Integration with Microsoft Office 365® Mail Server Protocols
| Last modification: June 2026. | Version: 109 OUM |
Create an Application in Azure AD for Authentication (OAuth 2.0 / OpenID Connect)
Access the portal
- Go to
https://portal.azure.com/. - → Search for Azure Active Directory®.
- → In the side menu, select App registrations (App registrations).
Register a new application
- Click on New registration.
- Fill in the fields:
- Name: Descriptive name (e.g.
PANDORA). - Supported account types: Select according to needs (for example: Accounts in this organizational directory only).
- Redirect URI (optional):
- Type:
Web. - URL: Example →
http://localhost/pandora
- Click on Register.
Obtain identifiers
After registration, on the main page of the application, you will see:
- Application (client) ID: → This is your Client ID.
- Directory (tenant) ID: → This is your Tenant ID.
Create a secret (Client Secret)
- In the side menu, select Certificates & secrets.
- On the Client secrets tab, click on + New client secret.
- Add a description and duration (e.g., 6 or 12 months).
- Click on Add.
- Copy the value immediately, as it is shown only once → this is your Client Secret.
See also “Connection as a non-administrator user”.
Configure Redirect URLs (Redirect URIs)
- Go to the Authentication section.
- Under Platform configurations, select Add a platform → Web.
- In Redirect URIs, add all valid URLs where your app will receive the token, for example:
http://localhost/pandora
http://localhost/pandoraitsm/godmode/godmode/setup/setup_mail
Connection as a non-administrator user
- Go to Azure Portal → Azure Active Directory → Application registrations → select the registered app → API permissions.
- Then go to Azure AD → Enterprise apps → User settings → Consent and permissions → User consent settings.
- Generate Client secrets (in Azure Portal → Application registrations → your app → Certificates and secrets). Copy the Value and enter it in the ITSM POP/IMAP Secret field (you must regenerate this every time you make changes to permissions).



