Share via


Set-RemoteMailbox

Question

Wednesday, April 17, 2019 8:34 AM

Hi All i am using exchange hybrid environment and i am using Exchange 2016 with latest CU. i am having shared mailbox on cloud, i want to convert it to regular mailbox on exchang onprem, i am using the below on exchange onprem, i am getting the error, experts guide me onthis

Set-RemoteMailbox -Identity [email protected] -Type Regular
WARNING: An unexpected error has occurred and a Watson dump is being generated: remoteMailbox.RemoteRecipientType must include ProvisionMailbox
remoteMailbox.RemoteRecipientType must include ProvisionMailbox
    + CategoryInfo          : NotSpecified: (:) [Set-RemoteMailbox], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.Exchange.Management.RecipientTasks.SetRemoteMailbox
    + PSComputerName        : [email protected]

All replies (4)

Thursday, April 18, 2019 2:30 AM ✅Answered

Hi Roger,

Please run the following command to check if the "RemoteRecipientType" property includes "ProvisionMailbox":

Get-RemoteMailbox -Identity [email protected]

If not, you can try to run the following command and check again:

Set-Aduser SharedAccount -Replace @{msExchRemoteRecipientTYpe="1"}

Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Thursday, April 18, 2019 8:52 AM ✅Answered

Hi Roger,

The value is 100 means that this is an shared mailbox in exchange online.

How did you create this shared mailbox ? Can you run "get-remotemailbox" cmdlet to find it?

Get-Remotemailbox -Identity "sharedmailboxoncloud"

If can not, you need to convert this shared mailbox in exchange online instead of in on-premise, then migrate it to on-premise.

How to convert the shared mailbox to regular in Exchange online:

Using EAC:

EAC > Recipients > Shared > Select the shared mailbox in Exchange online > Click "Convert" button in right pane  

Using Exchange online powershell:

Set-Mailbox SharedMailbox -Type Regular 

Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Thursday, April 18, 2019 4:29 AM

I can see that msExchRemoteRecipientType is 100


Tuesday, April 30, 2019 8:17 AM

Hi Roger,

I'm just writing to check how's everything going? If you have any questions or needed further help on this issue, please feel free to post back. If the issue has been resolved, please mark the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well.

Thanks for your understanding.

Best Regards,
Niko Cheng
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.