Rename Shared mailbox

Glenn Maxwell 12,876 Reputation points
2022-08-24T12:45:39.923+00:00

Hi All

I am using exchange 2016 hybrid env. we create shared mailboxes in onprem and migrate to cloud and sometimes we create remote shared mailboxes.
i have a few shared mailboxes and i want to rename them.

Current Display Name: Test ABCD
Current Alias: testabcd
Current Email Address: testabcd@Company portal .com

I want to rename to below
New Display Name: Test AAAA
New Alias: testaaaa
New Email Address: testaaaa@Company portal .com

Experts please help me with the powershell syntax to rename the shared mailbox and also in the cloud i can see alias testabcd@Company portal .onmicrosoft.com.
can this be deleted.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,178 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

Accepted answer
  1. JimmySalian-2011 42,496 Reputation points
    2022-08-24T13:18:09.987+00:00

    Hi,

    Can you try this command
    Set-Mailbox -Identity testabcd@Company portal .com -EmailAddress testaaaa@Company portal .com -DisplayName "Test AAAA"

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Glenn Maxwell 12,876 Reputation points
    2022-08-24T14:42:48.617+00:00

    i think i should use remote mailbox command from onprem?


  2. Glenn Maxwell 12,876 Reputation points
    2022-08-24T16:23:42.487+00:00

    Thanks should i include alias?

    Set-Mailbox -Identity ******@contoso.com -EmailAddress ******@contoso.com -DisplayName "Test AAAA" -Alias "testaaaa"  
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.