

Import-PSSession $Session –DisableNameChecking Step 2

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic –AllowRedirection (This will then prompt for credentials, which will be the Office 365’s admin email address and password). Step 1Ĭonnect to Office 365 via Powershell using the following commands. This guide demonstrates how to change the UPN to the desired email address using some Powershell commands. The issue is that when the account is first created it ties the email address into the user principal name (UPN) of the account, therefore when you try to remove the “alias” it will only re-appear again as it won’t let you remove the default UPN. This can be an issue if the mailbox was originally created with the email address that you now want to move over to a separate mailbox. Try sending email as the shared mailbox by selecting From: address from Online Global Address List (to prevent caching issues).Are you trying to remove an alias from an Office 365 mailbox/shared mailbox? Manually add shared mailbox to users’ Outlook: File > Account Settings > Change > More Settings > Advanced > Open these additional mailboxes. Wait 30-60 minutes for changes to propagate until shared mailbox disappear from users’ Outlook. AutoMapping:$false disables shared mailbox auto-mapping to users’ Outlook profiles. Run: Add-MailboxPermission -Identity -User -AccessRights FullAccess -AutoMapping:$false Run: Remove-MailboxPermission -Identity -User -AccessRights FullAccess Launch Windows Power Shell as administrator and connect to your Office 365 tenant. Re-applying permission via Office 365 admin centre didn’t have any effect.

The issue was resolved (with Microsoft support help) by re-applying Full Access permissions and removing shared mailbox Outlook auto-mapping for the affected users and then adding the shared mailbox manually in Outlook. As a workaround, users were able to send emails as shared mailboxes using Office 365 WebMail. You do not have the permission to send the message on behalf of the specified user.Īccording to Exchange Admin Centre users had Full Access and Send As permissions to shared mailboxes. The following recipient(s) cannot be reached: The shared mailbox would be automatically mapped in their MS Outlook 2016 as expected, but when users tried to send an email from the shared mailbox email address they would immediately receive below NDR: Your message did not reach some or all of the intended recipients. Users were added as shared mailbox members using Office 365 Admin centre. Some users started having issues sending emails from newly created Office 365 shared mailboxes. I’m stealing borrowing this information from a post on Sysadmin Tips:
