Sample configuration for IMAP and POP3 using Oauth2 authentication for polling emails from Exchange Online in KIC
Issue
How to configure IMAP (&POP3) email polling using OAuth2 authentication in KIC.
Solution
This is a sample setup for polling emails from Exchange Online via IMAP (&POP3) using Oauth2 authentication.
The main focus will be on IMAP but with slight changes, this sample setup can also be used for POP3.
The used (and supported) grant method for this is the Authorization Code Grant.
Using the Authorization Code Grant, you can choose between 2 Platform types on Azure. Pick only 1.
- Web Platform (To use your own custom Redirect URI, Requires a Client Secret)
- Mobile and desktop applications Platform (No Client Secret needed)
General Azure setup
Here you can see the 2 possible Platforms: "Mobile and desktop applications" & "Web"
Pick the one you want to use for your setup.
The Client Secret is only required when using the "Web Platform".
This list of permissions contains both the "IMAP.AccessAsUser.All" & "POP.AccessAsUser.All" permissions.
If e.g. POP3 access is not desired, don't add the "POP.AccessAsUser.All" permission.
KIC settings for using the Web Platform
Here you can find the settings for connecting to Exchange Online via IMAP and POP3. (Link)
KIC 2.9
KIC 2.10
KIC settings for using the Mobile and desktop applications Platform
KIC 2.9
KIC 2.10
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax Import Connector | 2.9 | |||
Kofax Import Connector | 2.10 |
Article # 3050008