No ratings

Workflow fails with 'send on behalf of' permissions on Exchange error message.

Issue

The workflow fails to send email when configuring to use different From address in the Send Email step.

 

Image 145.png

 

SourceCode.Workflow.Common.EWS: The e-mail address someone@xxxx.OnMicrosoft.com does not have 'send on behalf of' permissions on Exchange.

 

Image 144.png

Resolution

Granting  'Send As' permission to individual user account for the K2 Service account should do the trick. For this scenario, Exchange Online is integrated with K2 and Mod Administrator account is setup for it. The someone@xxx.onmicrosoft.com needs to have  'Send As' permission, this can be done via Exchange Admin Center.

 

1. In the Exchange admin center, go to Recipients, then click Mailboxes.

2. Click Mailbox delegation. Then, under 'Send As', click on the plus icon and specify a delegated user to grant them the permissions. Save the settings.

 

Image 146.png

 

Image 147.png

This action may take up to 24 hours to fully complete within Office 365 and may require the person who was granted these permissions to log out and log back into the client they are using it.

Additional Information

 

 

Related Links

Labels: (2)
Version history
Last update:
‎06-21-2021 02:59 PM
Updated by:
Contributors