CodeTwo Base.title

How to manage Exchange Attributes in Office365 using PowerShell

Problem:

It is not possible to set Exchange Attributes directly in Office 365.

Solution:

To change Exchange Attributes in Office 365, please follow the steps bellow:

  1. Connect to your Office 365 using PowerShell. Study this article to learn more.
  2. After establishing the connection to your Office 365, please run this command in PowerShell:

     

    Set-Mailbox Userlias -CustomAttributeX 'TypeValue' 

     

    Where:

    • UserAlias - is the mailbox alias of the user which you want to set an Exchange Attribute for,
    • X in CustomAttributeX -  you can assign variable X a value from 1 to 15,
    • TypeValue - it is the value that you want to set for a selected Exchange Attribute.
  1. Disconnect from Exchange server. To do this, follow step 8 from this article.
Our Clients:
Unicef
Facebook
Shell
T-Systems
Loreal
Casio
UPS Israel
Oford University
Mitsubishi Motors
Toshiba TEC UK Imaging Systems Ltd
Illinois Institute of Technology
MAN Diesel
McDonalds India
Skoda Auto
Bank of Israel
Fujifilm
China Mobile
Santander
Samsung SDI
Skanska
Generali
Telmex
Toyota Tsusho
BECHTEL
Ricoh
BAE SYSTEMS
Federação Portuguesa de Futebol
Credit Agricole
HYUNDAI
Rothschild
Toyota Boshoku
Oriflame Romania
ING
Ikea
Nordea

Partners, certificates & awards