This section explains how to configure the Microsoft Office 365 account to send emails from the Bold Reports Server. This process requires creating an Azure app and granting it the necessary API permissions to access the email service. If needed, you can also restrict the app’s access to specific mailboxes.
To learn how to register an Azure app with mail-sending API permissions and restrict access to specific mailboxes, click here.
The Bold Reports Server requires the following Microsoft Office 365 account details in order to send email.
Sender Email Address | The email address, which is displayed as the `From` email address in the recipient's email. |
Authentication Type | The OAuth authentication is the default authentication type that requires the Tenant ID, Client ID, and Client Secret for authentication. |
Tenant ID | A unique identifier specifies the Azure AD instance that manages the app's permissions and roles, establishing its authorization context. |
Client ID | A unique identifier for the Azure app, which is essential for requesting and validating tokens when accessing mail services. |
Client Secret | A confidential key that proves the app’s identity, used along with the Client ID for app authentication and authorization. |
Navigate to the Settings option in the left-side panel of the Report Server and proceed to the Email
tab as shown in the following image. You can also access this page directly using the URL - http://{domain}/reporting/site/site1/administration/e-mail-settings
.
Select Microsoft 365
from the Email Account
drop-down menu.
Enter your email address in the Sender Email Address field, which has the Mail.Send
API permission for Microsoft Graph.
By default, OAuth will be selected as the Authentication type. Enter the App’s Tenant ID, Client ID, and Client Secret in the respective fields.
Once you have filled in the email settings connection details, test the settings using the Test Connection
option.
Enter an email address and click Send
to ensure that the Microsoft Office 365 configuration is correct.
Finally, click Save
to apply the settings.
If the sender email address used in the configuration does not have app access, the test email will fail, resulting in an Access to OData disabled
error as shown below. Learn more about restricting app access to specific mailboxes in the app access restriction guide.