Issue Description
When you upgrade and reconfigure Workflow email notifications to use Microsoft Graph instead of Exchange Web Services (EWS), all Workflow email steps fail after the configuration is completed.
Error Message:
The following error occurs:
“The request body must contain the following parameter: 'grant_type'.”
Resolution
The fix is available in:
- Nintex Automation K2 (5.9) Fix Pack 13.
- Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.
- It is recommended to clear browser cache and refresh the page.
Considerations
When you copy HTML into K2 Studio, ensure that the HTML is correctly formatted before saving or deploying your Workflow.
HTML elements that contain line breaks within their opening tag may not be parsed correctly. As a result, portions of the HTML can be rendered as plain text in the email instead of being interpreted as HTML.
For example, the following HTML is not formatted correctly:
<p class="MsoNormal"
style="color:red;"/>Instead of rendering as a paragraph with styling, the recipient may see the following text displayed in the email body:
style="color:red;"/>To avoid this issue, ensure that each HTML element is defined correctly and that opening tags are not split across multiple lines unless the HTML is well-formed and supported.
Note:
This behavior is expected and is not introduced by this code fix. It is an existing limitation in how HTML is processed by K2 Studio. This consideration is included to make customers aware of the behavior and to avoid any confusion that the code fix has introduced the issue.
