Microsoft announced plans to turn off Basic Authentication for Exchange Web Services (EWS) for Exchange Online in 2022. OAuth must now be used to integrate with Exchange Online. For information on how to configure this after K2 installation, see the Nintex Community article K2 and upcoming changes to Exchange Online authentication and the Exchange Online Feature Activation topic in the K2 User Guide.
Exchange Online always has Autodiscover available. K2 Setup Manager asks you for an email address of one of the online accounts during the installation of K2. This account is used for the discovery process and to reply to SmartActions.
Use the K2 service or another unique email account in Active Directory as the Online account. For Exchange Online, the account that is configured during the installation needs to be part of the Organizational Management role group in Exchange for the analysis to be successful. RunAs does not apply when configuring Exchange Online.
For Exchange Services (Meetings, Tasks, Mailboxes) for online integration the following rights are required:
- For Enable / Disable mailbox, the account must be a member of the Organizational Management or Recipient Management role. Alternatively you could create the account as a Global Administrator in Exchange Online. If the account is part of the Recipient Management role group, K2 Setup Manager warns you that the account must be a member of the Organizational Management role but this warning can be ignored and you can proceed with the installation.
The following Exchange Metadata Service methods do not work with Exchange Online:
This list is not exhaustive since there may be other limitations in Exchange Online over time. Search Microsoft TechNet for details on Exchange cmdlets, see
https://technet.microsoft.com/en-us/library/bb124413(v=exchg.150).aspx for more information.
Important: When Exchange Online is used for SmartActions, the online email address must be associated with a local Active Directory Account or email actions are not sent and the following error is logged:
System.Exception: No destinations could send the message Workflow item received.
Autodiscover provides the following values required by the K2 Setup Manager:
- EWS URL
- TLS encryption setting
- SMTP Server
- Port