question

RodrigoJrMajuelo-0181 avatar image
0 Votes"
RodrigoJrMajuelo-0181 asked joyceshen-MSFT commented

How do you assign an owner to a new remote mailbox to be synced via Azure AD Connect?

I am working with a client that has a hybrid deployment of Exchange. Their current (manual) process is:

  1. Create the Office 365 mailbox in Exchange on-premise (including owner assignment)

  2. Wait for Azure AD Connect to migrate it to Exchange Online

  3. Convert the user mailbox to a shared mailbox.

I have created scripts to automate most of these but the only thing I am unable to do is assign an owner. I create the remote mailbox via New-RemoteMailbox (Exchange Management Shell). I tried using Add-MailboxPermission with the Owner parameter but it doesn't work.

office-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.

Hi @RodrigoJrMajuelo-0181

Is there any update about your issue?

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered RodrigoJrMajuelo-0181 commented
· 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.

Appreciate the response. My prospect actually has different use case for granting Full Access / Send As permissions, which I have created PS scripts as well. I guess the question now is, is Full Access permission teh same as being the "Owner" of a remote mailbox?

0 Votes 0 ·
joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered joyceshen-MSFT commented

Hi @RodrigoJrMajuelo-0181

Could you please provide the complete command you use and the error returned? According to the official document, we can know that:

The Owner parameter specifies the owner of the mailbox object. You can specify the following types of users or groups (security principals) for this parameter:

Mailbox users
Mail users
Security groups

The default mailbox owner is NT AUTHORITY\SELF.

And we can't use this parameter with the AccessRights or User parameters.

Correct usage like below:

 Add-MailboxPermission -Identity "Room 222" -Owner "Tony Smith"

If you just want to set full access like Andy mentioned above, the article gives detailed description about them

 Add-MailboxPermission -Identity "Terry Adams" -User "Kevin Kelly" -AccessRights FullAccess -InheritanceType All

If an Answer 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.



· 3
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.

Appreciate the response. I have actually tried the first set of scripts (as the second one is a different use case). For some reason, the assignment does not work. Not sure if it is because a Remote Mailbox and has to be synced to Exchange Online first before such assignments can happen. The prospect is able to achieve this in the UI in one go though.

0 Votes 0 ·

Hi @RodrigoJrMajuelo-0181

Could you please check the difference between using command and UI changing owner for the shared mailbox?

Get-MailboxPermission -identity "name" -owner

0 Votes 0 ·

Hi @RodrigoJrMajuelo-0181

Any progress so far?

0 Votes 0 ·