question

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 asked KyleXu-MSFT commented

Remote Mailbox Command

Hi All

I am using exchange 2016 hybrid environment,

1.
lets say I create user account in AD and i use the below syntax for remote mailbox creation.
Enable-RemoteMailbox -id "user1" -RemoteRoutingAddress "user1@mydomain.mail.onmicrosoft.com" -alias user1

2.
In exchange 2016 ECP i can see the option Office365 mailbox, how do i create it from exchange onprem powershell. Please guide me with the syntax.
124665-office365mailbox.jpg


Whats the difference in both the steps i.e Point1 and Point 2. Are both the same ways of creation is there any difference.


office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-hybrid-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RisingFlight-7863
I am writing here to confirm with you any update about this thread now?
If the suggestion below helps, please be free to mark it as an answer for helping more people.

0 Votes 0 ·
KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

Have a look about this article: New-RemoteMailbox

124906-qa-kyle-13-55-44.png


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@RisingFlight-7863

They are the same thing, and the ”RemoteRecipientType“ of mailboxes they create is "ProvisionMailbox".
124818-qa-kyle-09-26-14.png

ECP help you create an AD account first, then enable remote mailbox for this AD account, you could think it as a script which looks like just need one step.

It is similar to creating a User mailbox in ECP, ECP will create AD account for you automatically.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 answered RisingFlight-7863 edited

i am using the below syntax i.e first i am creating an account in AD and then i am using the below syntax.

Enable-RemoteMailbox -id "user1" -RemoteRoutingAddress "user1@mydomain.mail.onmicrosoft.com" -alias user1

is it possible that from exchange onprem powershell that i create AD account and execute Remotemailbox syntax in one syntax. please guide me

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.