-
KanBo Installation
- KanBo Installation Guide (Microsoft 365 + Azure)
- KanBo Installation Guide (On-Premises)
- KanBo On-Premises Installation Requirements and Prerequisites
- Creating an X.509 High-Trust Certificate
- Creating and Updating Elastic Cloud Deployment
- Installing Elasticsearch on Windows
- Installing Elasticsearch on Debian
- Creating a Windows Virtual Machine on Azure for Elasticsearch
- Creating a Linux Based Virtual Machine on Azure for Elasticsearch
- KanBo Modern Web Part Installation
- Supported Browsers
- KanBo Setup
-
KanBo Updates
-
Additional Components
- Installing KanBo Teams App
- Installing KanBo Outlook Add-in
- Installing KanBo Mini Application
- Installing Nintex Integration
- Installing Autodesk BIM Plugin
- Configuring UiPath Integration
- Installing and Configuring Power Automate Integration
- KanBo External User Groups (Active Directory Integration)
- User Auto-Provisioning on First Access (SharePoint Plugin)
- SharePoint Profile Synchronization
- Configuring Sync Targets
- SharePoint Site Collection Balancing and Admin Warnings
- Setting Up BIM Sync WebJob
- Configuring OData Integration for Power BI Desktop
- KanBo PowerShell Commandlets
- Direct Sync of SharePoint Lists with KanBo
- Enabling KanBo Email Notifications (Azure)
- Enabling KanBo Email Notifications (On-Premises)
- Enabling OneDrive Integration in KanBo
- Enabling Sending Card Messages as Emails
- Enabling Sending Emails to KanBo (Microsoft 365 + Azure)
- Enabling Sending Emails to KanBo (On-Premises)
- Prometheus and Grafana configuration for KanBo metrics
- Show all articles ( 3 ) Collapse Articles
-
Tips & Tricks
- Configuring Document Opening Behavior in KanBo
- Disabling Sleeping Tabs in Browsers
- Disabling Public Space Creation in KanBo
- Checking Certificate Expiration Dates (On-Premises)
- KanBo License ID
- Checking KanBo Version
- Changing the Help URL in KanBo
- Renewing Microsoft Graph Certificate
- Disabling Profile Picture Sync in Profile Sync Job
- Creating and Customizing Profile Sync WebJob
- Configuring KanBo for Microsoft Azure GCC High Environment
-
Troubleshooting
Enabling Sending Emails to KanBo (Microsoft 365 + Azure)
Table of Contents
Overview
The Send Email to KanBo feature allows you to send emails directly to a space and create a new card from the email. It is also possible to send an email and its attachments to an existing card.
For more information, see the article about sending emails to cards and spaces.
Prerequisites
- This functionality requires a service account on your Microsoft 365 account that serves as a catch-all account. The Microsoft 365 user must have at least an Exchange Online license.
- Set up an email account with a custom domain. Learn how to do so with Microsoft 365 here: Add a custom domain to Microsoft 365. When you are ready to proceed with a custom domain, create a service account using this domain for the email address (e.g., mails@yourdomain.com)

Installation
1. Creating a catch-all email address
To create a catch-all email account in your Exchange Online:
- In the Microsoft 365 Admin Center, create a new account for catch-all purposes only.
- Assign an Exchange Online license to this account. Read more here about assigning Microsoft 365 licenses to users.
- Add the accepted domain to your Microsoft 365.
- Go to Microsoft 365, and then select Admin > Exchange.
- In the Exchange admin center, choose the Email flow.

- Select Accepted Domains, then select your domain, and select the Edit button.

- Change the accepted domain from “Authoritative” to “Internal Relay,” and then select Save.

- Open the Mail flow section.
- Select the Rules section, and then select + button > Create a new rule.

- Select More options… at the bottom of the page. Name this rule “CatchAll”.

- Set the following properties to the rule:
- “Apply this rule if…” > “A recipient’s domain is” and add your domain.
- “Do the following…” > “Redirect the message to” and choose your catch-all email account from the User Picker.
- In “Do the following…” select Add action, and then select “Set the message header to this value…” and “Set the message header ‘X-CatchAll-Rule’ to value ‘Yes‘.
- “Except if…” > “The recipient is…” and select your catch-all email account from the User Picker.

- Select Save.
2. Enabling incoming emails in the KanBo appsettings.json file
- Go to the KanBo appsettings.json file and set "KanBoIncomingMail" to "true".
"IncomingMail": true,
- Set KanBoIncomingMailDomain to your sending domain name - the one on which you have the catch-all mailbox.
"IncomingMailDomain": "yourdomain",
- Save the appsettings.json file.

3. Azure AD permissions
Make sure all the necessary permissions are present in Azure AD:
- Go to Azure AD, and then in App registrations, find your KanBo registration.
- Go to API Permissions, and then select + Add a permission.
- Select Microsoft Graph.
- Select Delegate and the following permissions:
- OpenID permissions > email,
- Mail > Mail.Read and Mail.ReadWrite.
- Save it. Follow the process; this time select Application permissions.
- Here, add Mail > Mail.Read and Mail.ReadWrite.
- Once added, grant admin consent.
5. Configuring the email tool
- If you do not have the KanBo.JobHost.zip package, contact us at support@kanboapp.com to receive it.
- After downloading the package, extract it and move it to a chosen location.
- Open your directory and begin editing the appsettings.json file.
- Change the beginning of the file (up to “NLog”) to the following:
{
"AllowedHosts": "*",
"ConnectionStrings": {
"KanBo": "KANBOCONNECTIONSTRING"
},
"KanBo": {
"config": {},
"assemblies": [],
"plugins": [
"load-packages",
{
"type": "package",
"name": "kanbo-api",
"thumbprint": "KANBO-CERTIFICATE-THUMBPRINT",
"url": "https://KANBOURL"
},
{
"type": "package",
"name": "auth-aad",
"client-id": "KANBO-CLIENT-ID",
"tenant": "KANBO-TENANT-ID",
"thumbprint": "KANBO-CERTIFICATE-THUMBPRINT"
},
{
"type": "job.incoming-mail",
"incoming-mail-domain": "MAIL-DOMAIN",
"children": [
[
"mailbox",
{
"type": "graph",
"email": "USER@MAIL-DOMAIN"
}
]
]
}
]
}, - Adjust the uppercased values according to your KanBo app settings.json file and the previous steps.
- Save the changes.
6. Adding an Azure App WebJob
- Zip up the “EmailToKanBo” folder (the package you were working on in the previous steps).
- Go to your Azure App > WebJobs.
- Select + Add.
- Select:
- Name: your custom name,
- File upload: the .zip of the “EmailToKanBo” package, already configured,
- Type: Triggered,
- Triggers: Scheduled,
- CRON Expression: For information regarding CRON on Azure, see this guide.

You have finished configuring and installing the Incoming Mails feature.
7. Using the Send Emails to KanBo feature
Recommendation: Set an Outlook retention policy to remove old messages
To avoid clogging up your email notifications mailbox, set a simple rule to clean out messages older than a week.
- As an Exchange administrator, go to the Exchange Admin Center > Compliance Management > Retention Tags.
- Create a new rule that is applied automatically to a default folder.

- Find a name and select this tag to apply it to the Inbox only. Then, choose a retention period of 90 days.
- Go to Retention policies and create a new retention policy to which this tag has been assigned.
- Go to Recipients, select your Incoming Mails account, and then in Mailbox features, select your newly created Retention Policy.
Was this article helpful?
Please, contact us if you have any additional questions.
