One Identity Manager supplies mail templates by default. These mail templates are available in English and German. If you require the mail body in other languages, you can add mail definitions for these languages to the default mail template.
To edit a default mail template
Related topics
You have the option to delegate all your responsibilities to an identity in the Web Portal. If you have a lot of responsibilities, it is possible that not all the delegations are carried out. A delegator can send a notification to themselves if an error occurs.
To send a notification if bulk delegation fails
-
In the Designer, set configuration parameter QER | ITShop | MailTemplateIdents | InformRequestorAboutMassDelegationErrors.
By default, a notification using the Delegation - mass delegation errors occurred mail template is sent.
TIP: To use something other than the default mail template for these notifications, change the value of the configuration parameter in the Designer.
Related topics
To provide approvers who are temporarily unable to access One Identity Manager tools with the option of making approval decisions on requests, you can set up approvals by email. In this process, approvers are notified by email when a request attestation case is pending their approval. Approvers can use the relevant links in the email to make approval decisions without having to connect to the Web Portal. This generates an email that contains the approval decision and in which approvers can state the reasons for their approval decision. This email is sent to a central mailbox. One Identity Manager checks this mailbox regularly, evaluates the incoming emails and updates the status of the request procedures correspondingly.
IMPORTANT: An approval cannot be sent by email if multi-factor authentication is configured for the requested product. Approval mails for such requests produce an error message.
Prerequisites
-
If you use a Microsoft Exchange mailbox, configure the Microsoft Exchange with:
-
Microsoft Exchange Client Access Server version 2007, Service Pack 1 or higher
-
Microsoft Exchange Web Service .NET API Version 1.2.1, 32-bit
-
If you use an Exchange Online mailbox, register an application in your Azure Active Directory tenant in the Microsoft Azure Management Portal. For example, One Identity Manager <Approval by mail>.
For more information about how to register an application, see https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth#register-your-application.
-
The One Identity Manager Service user account used to log into Microsoft Exchange or Exchange Online requires full access to the mailbox given in the QER | ITShop | MailApproval | Inbox configuration parameter.
-
The QER | ITShop | MailTemplateIdents | RequestApproverByCollection configuration parameter is not set.
To set up approval by email
-
In the Designer, set the QER | ITShop | MailApproval | Inbox configuration parameter and enter the mailbox to which the approval mails are to be sent.
-
Set up mailbox access.
-
In the Designer, set the QER | ITShop | MailTemplateIdents | ITShopApproval configuration parameter.
The mail template used to create the approval decision mail is stored with this configuration parameter. You can use the default mail template or add a custom mail template.
TIP: In this case, also change the VI_MailApproval_ProcessMail script.
-
Assign the following mail templates to the approval steps.
Table 59: Mail templates for approval by mail
Mail template request |
IT Shop request - approval required (by mail) |
Mail template reminder |
IT Shop request - remind approver (by mail) |
Mail template delegation |
IT Shop request - delegated/additional approval (by mail) |
Mail template rejection |
IT Shop request - reject approval (by mail) |
-
In the Designer, configure and enable the Processes IT Shop mail approvals schedule.
Based on this schedule, One Identity Manager regularly checks the mailbox for new approval mails. The mailbox is checked every 15 minutes. You can change how frequently it checks, by altering the interval in the schedule as required.
To clean up a mail box
Related topics
The Processes IT Shop mail approvals schedule starts the VI_ITShop_Process Approval Inbox process. This process runs the VI_MailApproval_ProcessInBox script, which searches the mailbox for new approval decision mails and updates the request procedures in the One Identity Manager database. The contents of the approval decision mail are processed at the same time.
NOTE: The validity of the email certificate is checked with the VID_ValidateCertificate script. You can customize this script to suit your security requirements. Take into account that this script is also used for attestations by email.
If an self-signed root certification authority is used, the user account under which the One Identity Manager Service is running, must trust the root certificate.
TIP: The VI_MailApproval_ProcessInBox script finds the Exchange Web Service URL that uses AutoDiscover through the given mailbox as default. This assumes that the AutoDiscover service is running.
If this is not possible, enter the URL in the QER | ITShop | MailApproval | ExchangeURI configuration parameter.
Approval decision mails are processed with the VI_MailApproval_ProcessMail script. The script finds the relevant approval, sets the Approved option if approval is granted, and stores the reason for the approval decision with the request procedures. The approver is found through the sender address. Then the approval decision mail is removed from the mailbox depending on the selected cleanup method.
NOTE: If you use a custom mail template for the approval decision mail, check the script and modify it as required. Take into account that this script is also used for attestations by email.