How to set contact information attributes on a Shared Mailbox with powrshell ?


  • Hello,

    I created a sharedmailbox in Exchange online with "New-Mailbox -Shared" cmdlet.

    I would like also to set the attributes "Company" and "Country" of this SMB, but how I do that ?

    As for a user, I can use "set-AzureADuser" cmdlet, but for a SMB as I do not have an associated user, how is it possible without being forced to do it manually in the EAC.

    Thanks for your help.


    Tuesday, May 08, 2018 2:23 PM

All replies

  • Shared mailboxes DO have a corresponding user object, so you can still use Set-AzureADUser. But if you want to do it with Exchange tools, use the Set-User cmdlet.
    • Proposed as answer by Ed CrowleyMVP Wednesday, May 09, 2018 4:40 AM
    Tuesday, May 08, 2018 5:18 PM
  • Hi D4t4center,

    Is there any update on this thread? 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

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

    Monday, May 14, 2018 10:06 AM