The ability to manage approvals from non-Outlook email clients calls for the same software and configuration prerequisites as Outlook integration (see Integration with Microsoft Outlook), with the following exceptions and additions:
-
The email client applications that can be used to manage approvals are not restricted to Microsoft Office Outlook 2010 or later. It is possible to use, for instance, earlier Outlook versions or email applications on mobile devices.
-
Active Roles Add-in for Outlook does not need to be installed on the computer running the email client application.
-
The approval rule notification settings are configured so that the notification messages originated by Active Roles have integration with the Web Interface turned off. Ensure that the Send approval response by e-mail option is selected in the properties of the email configuration that is used by the approval rule (this is the default setting).
Active Roles can use Exchange Web Services (rather than an SMTP server) to communicate with Exchange Server when sending notification messages and getting response to notification messages. This enables notification recipients to perform approval tasks by replying to notification messages from their regular email clients, instead of using the Web Interface pages to approve or reject the requests. With the use of Exchange Web Services, Active Roles makes it possible for an approval workflow to behave as follows:
-
A change request that requires approval causes Active Roles to send a notification message to the designated approver, with the message body containing the option to approve or reject the request.
-
The approver replies to the notification message by choosing the desired option (either approve or reject) and typing in a text to explain the reason for that choice.
-
Active Roles receives the reply message from the approver, checks to see if the approver elected to approve or reject the request, and then allows or denies the requested changes accordingly.
The use of Exchange Web Services has the following prerequisites:
-
Exchange Server 2013 or later. Exchange Web Services is deployed with the Client Access server role.
-
Dedicated mailbox hosted on Exchange Server 2013 or later. The mailbox must be reserved for the exclusive use of Active Roles.
This section describes the available configuration settings with the Exchange Web Services option for email transport.
Exchange Web Services address
This setting identifies the URL of the Exchange Web Services endpoint, which locates the exchange.asmx file on the Exchange server running the Client Access server role. For example, https://CAServer.domain.com/EWS/exchange.asmx
Authentication type
This setting specifies the authentication method of the Exchange Web Service.
NOTE: Basic authentication is only available for on-premises Exchange Server services, Exchange Online mail resources should be configured with Modern authentication, as Microsoft does not support Basic authentication in Exchange Online mail resources.
Active Roles' mailbox credentials
This setting specifies the user name and password of the mailbox through which Active Roles will send and receive email. The mailbox must be located on Exchange Server 2013 or later, and must be reserved for the exclusive use of Active Roles.
IMPORTANT: This mailbox must only be accessible by Active Roles. Providing access to any other application (for example, Microsoft Outlook) to process email messages in this mailbox can negatively impact the operation of Active Roles.
Options for the Approve and Reject links
This setting controls the behavior of the Approve and Reject links in the notification messages delivered using this email configuration. Two options are available:
If Send approval response by e-mail is selected, notification recipients can perform approval tasks from within their email application. When an approver chooses one of the links provided in a notification message to approve or reject a request, the email application replies with an email message containing information about the approval decision. Active Roles receives the reply message, checks it to see if the approver elected to approve or reject the request, and then allows or denies the requested changes accordingly.
If Approve or reject via Web Interface is selected, choosing the Approve or Reject link in a notification message directs the email application to open a Web Interface page for performing the approval task. The page may not open as expected if the email application does not support HTML format or an appropriate web browser does not exist on the device running the email application.
Perform the following steps in the Active Roles Console to configure the default mail settings with the option to use Exchange Web Services:
-
In the Active Roles Console tree, select Configuration > Server Configuration > Mail Configuration.
-
In the Details pane, double-click Default Mail Settings.
-
In the Default Mail Settings Properties dialog, configure the settings on the Mail Setup tab:
-
From the Settings for list, select Exchange Web Services.
-
In the Exchange Web Services address box:
-
For on-premises Exchange mailbox, supply the URL of the Exchange Web Services endpoint. This URL locates the exchange.asmx file on the Exchange server that is running the Client Access server role. For example, https://CAServer.domain.com/EWS/exchange.asmx.
-
For the Exchange mailbox on the cloud, use https://outlook.office365.com/EWS/Exchange.asmx.
-
From the Authentication type drop-down, select the authentication method you want to use.
NOTE: Basic authentication is only available for on-premises Exchange Server services, Exchange Online mail resources should be configured with Modern authentication, as Microsoft does not support Basic authentication in Exchange Online mail resources.
-
Under Active Roles' mailbox credentials:
-
For an on-premises Exchange mailbox with Basic authentication, specify the user name and password of the mailbox through which Active Roles will send and receive email.
-
For a cloud Exchange Online mailbox or an on-premises Exchange mailbox with Modern authentication, specify the Azure user credentials of the Azure mailbox:
-
Tenant ID: The ID of the Azure tenant. To check the ID, on the Azure Portal, navigate to Azure Active Directory > Overview.
-
Client ID: The application client ID. To check the ID, on the Azure Portal, navigate to App registrations > All applications > ActiveRoles.
-
Certificate thumbprint: The most recent certificate thumbprint. To check the thumbprint, on the Azure Portal, navigate to Certificates & secrets > Certificates.
-
Impersonated mailbox: The mailbox that appears to be the sender of the email.
This mailbox must be created on a server running Exchange 2013 or later and reserved for the exclusive use of Active Roles.
-
Verify the settings you have configured. Click Verify Settings, supply a valid email address, and then click Send.
This causes Active Roles to send a diagnostic email message to the address you supplied. The message is attempted to be delivered from Active Roles’ mailbox by using Exchange Web Services. You can check the mailbox with the address you supplied to see if the diagnostic message has been received.
-
Verify that the Send approval response by email option is selected on the Mail Setup tab.
-
Select Approve or reject via Web Interface to manage emails through the Web Interface.
-
When finished, click OK to close the Default Mail Settings Properties dialog.