Office 365 – Error When Sending Emails as a Shared Mailbox

Posted by on 24 Jan, 2015 in Microsoft, Office 365 | 0 comments

Setup

  • Hybrid deployment using office 365 and Exchange 2010

 

Issue

After migrating a shared mail box to office 365 from an on premise exchange server I received the following bounce message in outlook when trying to send emails as the shared folder. i.e. send emails as sales@mydomain.com.

 

The following recipient(s) cannot be reached:

     xxxxxxxxx.xxxxxxx@gmail.com on 05/12/2014 15:17

           This message could not be sent. Try sending the message again later, or contact your network administrator. Error is [0x80070005-00000000-00000000].

 

Solution

 

I checked the following to resolve the issue:

  • First of a checked permissions and the users permissions had copied over. They had full access and send as permissions to the shared mailbox.
  • I deleted the cached “from” email address in outlook and the issue was still there
  • I logged into the outlook portal and the email worked fine which made me think the issue was with the outlook profile. I re-created the profile and the issue still remained.
  • I did a little googling and found a couple of possible solutions
  • After setting up a test shared mailbox and migrating that to office 365. It worked fine. After checking the settings on both mailboxes I found the solution for me to be down to the shared mailbox being hidden from the exchange address list. To disable the setting you cannot just tick the box in the office 365 admin portal or in the exchange 2010 hybrid deployment’s office 365 server as you will receive the following error messages:

 

Office 365 admin centre error

 

Office 365 admin centre > Shared Mailboxes > (select mailbox) > select edit more properties > un-tick hide from address lists > save

error

The operation on mailbox “(Shared mailbox)” failed because it’s out of the current user’s write scope. The action ‘Set-Mailbox’, ‘HiddenFromAddressListsEnabled’, can’t be performed on the object ‘(Shared Mailbox)’ because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.

 

shared_mailbox1

Exchange On-Premise Error Message

 

EMC > Office 365 > Mailbox > right click shared mailbox > properties > general tab > Untick Hide from exchange address lists > Apply

 

——————————————————–

Microsoft Exchange Error

——————————————————–

The following error(s) occurred while saving changes:

 

Set-Mailbox

Failed

Error:

The operation on mailbox “Shared Mailbox” failed because it’s out of the current user’s write scope. The action ‘Set-Mailbox’, ‘HiddenFromAddressListsEnabled’, can’t be performed on the object ‘Client Accounts Support’ because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.

 The action ‘Set-Mailbox’, ‘HiddenFromAddressListsEnabled’, can’t be performed on the object ‘Shared mailbox’ because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.

 

shared_mailbox2

As the changes are synched from AD to disable the setting you need to log into your AD Users and Groups, enable the advanced feature and open up the properties of the shared mailbox. Then select the attribute editor and find the setting:

 

msExchHideFromAddressLists

 

shared_mailbox3

 

Set the value to FALSE and sync the changes up using the DirSync tool. Once complete wait a few minutes then restart outlook (or download the address book changes) and it should work fine.

Leave a Reply

Your email address will not be published. Required fields are marked *