Email notification configuration
Configure your iQBus deployment to send notification emails through your own Office 365 tenant. This is a one-time setup that takes about 10 minutes.
Go to entra.microsoft.com and sign in. In the left menu, expand the Identity section, then select Applications › App registrations. Click New registration in the top toolbar.
Fill in the registration form with the following values:
| Field | Value |
|---|---|
| Name | Something descriptive, e.g. iQBus Email Sender |
| Supported account types | Accounts in this organizational directory only (Single tenant) |
| Redirect URI | Leave blank |
Click Register to create the application.
In the left menu of your app registration, select Certificates & secrets. Click New client secret to open the panel on the right.
Give the secret a meaningful description (e.g. iQBus Email Secret) and choose an expiry period. 730 days (24 months) is a reasonable default. Click Add.
Once the secret is created it appears in the list. Copy the Value immediately, this is the only time it will be shown in full. After you navigate away it will be masked and cannot be recovered.
In the left menu, select API permissions. Click Add a permission. In the panel that opens, select Microsoft Graph, it is the first tile in the top row.
Select Application permissions (not Delegated). In the search box type Mail. Locate the Mail section in the results, expand it, and check the following two permissions:
| Permission | Purpose |
|---|---|
| Mail.Send | Allows iQBus to send notification emails as any user in the tenant |
| Mail.Read | Allows iQBus to verify mailbox access and support future delivery confirmation features |
Click Add permissions to save.
Back on the API permissions page, you will see ⚠ Not granted warnings next to both permissions. You must now grant tenant-wide admin consent. Click Grant admin consent for [your tenant name] and confirm the prompt.
You need two more values from the app registration before switching over to iQBus. In the left menu select Overview. In the Essentials section, locate and copy:
| Value | Where to find it |
|---|---|
| Application (client) ID | Essentials section, left column |
| Directory (tenant) ID | Essentials section, left column, below the Client ID |
Now open iQBus. In the left menu expand Settings and select Email. Populate the Email Settings fields with the values you have collected:
| iQBus Field | Value |
|---|---|
| Application Registration Client ID | Application (client) ID from the Overview |
| Tenant ID | Directory (tenant) ID from the Overview |
| From | A valid email address in your Office 365 tenant (e.g. iQBusESB@yourOrg.com) |
| Client Secret Value | The Value you copied in Step 2 |
| HTML Template | Arrives pre-filled with the default iQBus notification template. Leave it as it is unless you want to restyle the notification emails. |
Save your settings and verify the configuration by creating an Activity Notification in iQBus. If everything is configured correctly the notification email will be delivered.
Configuration complete
iQBus is now connected to your Office 365 tenant and ready to send notification emails. Remember to renew your client secret before it expires.