Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

An error may occur when sending On Behalf of or Sending As another user when using the Microsoft Dynamics CRM Email Router with Office 365 Exchange Online


View products that this article applies to.

Symptoms

The following errors may occur when using the Microsoft Dynamics CRM Email Router with Office 365 Exchange Online:

"The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account."

"The access credentials that you have specified have insufficient delegate permissions to send the e-mail message. Contact your Microsoft Exchange administrator to grant the required Permissions."

↑ Back to the top


Cause

These errors will occur when the Administrator user setup in the Outgoing Profile of the Microsoft Dynamics CRM Email Router does not have Send As or Delegate permissions on the mailbox being used to send the email. The Administrators and users in Office 365 Exchange Online by default do not have Send As or Delegate Access permissions.

↑ Back to the top


Resolution

To resolve this issue, the Administrator user setup in the Outgoing Profile of the Microsoft Dynamics CRM Email Router must be granted Send As permissions if Send As permission is marked. If Delegate Access is marked in the Outgoing Profile, Full Access permissions must be granted to the user for the mailbox, as Delegate access cannot be explicitly defined with Exchange Online. These are added with Windows Powershell.

To Connect Windows Powershell to the Exchange Online Service

To Grant Full Access Permissions

To Grant Send As Permissions

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2708727
Revision : 1
Created on : 1/7/2017
Published on : 7/5/2016
Exists online : False
Views : 263